Hi Mathias, On Wed, Jul 15, 2026 at 9:06 PM Mathias Gibbens <[email protected]> wrote: > package's XS-Go-Import-Path, which don't match the entry in go.mod. In > the case of golang-github-moul-http2curl, updating XS-Go-Import-Path to > match go.mod fixed things, although of course this will break other > packages that are still expecting the prior import path.
You are completely right. The correct approach is indeed to update XS-Go-Import-Path to match the path defined in the go.mod file. To prevent breaking other packages that still expect the legacy path, we can set up symbolic links in the -dev package. You can achieve this by adding a debian/links file to the package. Here is an example of how this is handled in the golang-yaml.v2 packaging: https://salsa.debian.org/go-team/packages/golang-yaml.v2/-/blob/debian/sid/debian/links?ref_type=heads This allows us to transition to the correct import path while maintaining legacy compatibility for packages that haven't been updated yet. Best regards, -- -Andrew
