Hi Reinhard, and Team,

Thank you very much for updating the Module-Aware Builds Transition
Guide on the wiki!

It make the package naming conventions much more clear for -dev
packages and reduce the rename needed for source packages which will
definitely help maintainers adopt the new `dh-go` tooling smoothly.

To update lintian checks for updated Transition Guide, I have filed a
bug report against Lintian: #1148838 lintian: update Go package name
checks for dh-go module-aware builds

In short, the report requests retire source-package API version checks
(like go-source-package-does-not-include-version) and instead check
the binary package's go.mod directly also ensures the -dev binary
package matches with it's go import path and transitional packages
without a go.mod won't trigger false-positive warnings.

Best regards,
-Andrew

On Thu, Sep 24, 2026 at 12:10 AM Reinhard Tartler <[email protected]> wrote:
>
> 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
>
>
> 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



-- 
-Andrew

Reply via email to