Hi Andrew and team,

Following up on the discussion from the golang-opentelemetry-otel merge
request (cf.
https://salsa.debian.org/go-team/packages/golang-opentelemetry-otel/-/merge_requests/4#note_810050),
I have updated the Module-Aware Builds guide on the Debian Go Team wiki as
requested.

The updates (revisions 8 through 11) primarily clarify the Package Naming
Conventions when transitioning to the new dh-go tooling. Specifically, it
details the packaging rules for handling API version suffixes from upstream
go.mod imports—such as ensuring that a /v3 module path becomes a -v3
package suffix, and /pkg.v3 becomes -pkg.v3 using hyphens to prevent naming
conflicts with domain dots.

This should help unblock maintainers dealing with the new
go-source-package-does-not-include-version Lintian tags and provide clearer
guidance on naming going forward.

You can review the full diff of the changes here:
https://wiki.debian.org/action/info/Teams/DebianGoTeam/ModuleAwareBuilds?action=diff&rev2=11&rev1=8
<https://wiki.debian.org/action/info/Teams/DebianGoTeam/ModuleAwareBuilds?action=diff&rev2=11&rev1=8&utm_source=gemini>


On Sun, Sep 6, 2026 at 12:02 PM Andrew Lee <[email protected]> wrote:

> Hi Balachandran, and team,
>
> On Sun, Sep 6, 2026 at 4:06 PM Balachandran Sivakumar
> <[email protected]> wrote:
> >      Thanks for offering to help. The latest logs are here:
> > https://salsa.debian.org/benignbala/dh-make-golang/-/jobs/10263137
>
> The go.mod file uses a versioned import path:
> ```
> github.com/google/go-github/v60
> ```
> We previously only had legacy `golang-github-google-go-github` package
> without the /v60 path.
>
> To fix this, I forked a new package
> `golang-github-google-go-github-v60` from the old one. And then
> updated the source name, binary name, VCS tags, and Go-Import-Path to
> match the new versioned import path. And also found we have newer
> build-deps available in unstable, so that I have to cherry-pick one
> commit from upstream without additional modifications. Package builds
> well and all tests passed.
>
> The package already uploaded to the NEW queue, and repo available:
>
> https://salsa.debian.org/go-team/packages/golang-github-google-go-github-v60
>
> Balachandran now can build `golang-github-google-go-github-v60-dev`
> locally. Then, use sbuild --extra-package=/path/to/debs to test
> building `dh-make-golang` against it.
>
> I will also update the Debian Wiki's "Real World Example" section with
> these commits to document how to rename an API versioned -dev
> packages.
>
> Best regards,
> --
> -Andrew
>
>

-- 
regards,
    Reinhard

Reply via email to