[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#50885: [PATCH] import: go: Recognize major version suffixes.
From: |
Ludovic Courtès |
Subject: |
bug#50885: [PATCH] import: go: Recognize major version suffixes. |
Date: |
Mon, 04 Oct 2021 16:08:29 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Sarah Morgensen <iskarian@mgsn.dev> skribis:
> Do not treat major version suffixes (such as "/v3") as repository
> subdirectories. See <https://golang.org/ref/mod#major-version-suffixes>.
>
> * guix/import/go.scm (go-module->guix-package): When determining the
> unpack path, compare 'root-module-path' to 'module-path-sans-suffix'
> instead of 'module-path'.
Applied as well, but I feel that it may be useful to have tests for
these fine points that where regressions would otherwise be hard to
notice.
Thanks,
Ludo’.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#50885: [PATCH] import: go: Recognize major version suffixes.,
Ludovic Courtès <=