On 24/09/26 4:37 pm, Andrew Lee wrote: > On Thu, Sep 24, 2026 at 12:37 PM Nilesh Patra <[email protected]> wrote: >> I did not really understand what is it that you exactly want. You want >> >> a) go-source-package-does-not-include-version to go away >> b) want to check the -vN in -dev package >> >> Is that so? > Yes, is that. > >> b) is covered already by go-library-package-does-not-include-version so I >> am pretty confused here. > > In real fact, I also got `go-library-package-does-not-include-version` > warning on the -dev dummy transitional package which doesn't ship any > go.mod file. So I use `Maybe needs some enhance`. :) I see. Under previous module aware build discussion, dh-golang (or dh-go?) would fit all go.mod in the -dev package and I did not account for transitional packages in the lintian check.
Unfortunately, determining the "root" go.mod in the `.deb` is non-trivial as lintian runs separately on the `.dsc` and the `.deb`. That being said, since we do expect `go-library-package-does-not-include-version` to go away at some point after the transition is over, is it acceptable for you if this tag is not emitted if the said package is in `oldlibs` section as mentioned in [1]? That would ideally cover your transitional package case. Let me know. [1] https://wiki.debian.org/action/info/Teams/DebianGoTeam/ModuleAwareBuilds#Renaming_Legacy_Package
