Hi Simon,
Regarding the file conflict issue, how about having the
golang-github-cenkalti-backoff-v4-dev files installed under a subdirectory
like /usr/share/gocode/src/github.com/cenkalti/backoff/v4/ and the existing
v5 files installed under /usr/share/gocode/src/
github.com/cenkalti/backoff/v5/?
While this approach might still cause breakage in some packages that expect
a simple, versionless import path, I expect it would require less overall
patching across all of Debian and keeps the package structure closer to how
Go upstream handles versioned imports.
Best regards,
Reinhard
regards,
Reinhard
On Wed, Dec 10, 2025, 03:08 Simon Josefsson <[email protected]> wrote:
> I've uploaded to NEW:
>
> https://salsa.debian.org/go-team/packages/golang-github-cenkalti-backoff-v4
>
> https://salsa.debian.org/jas/golang-github-cenkalti-backoff-v4/-/pipelines/988017
>
> Review appreciated! I think everything except naming can be resolved
> after it passes NEW review.
>
> Is 'XS-Go-Import-Path: github.com/cenkalti/backoff/v4' the right thing?
> I'm not sure if that is the best way to add the /v4/ file-name suffix.
> Something to avoid filename Conflicts will probably be needed, but it
> could be done in other ways too.
>
> /Simon
>