On 3/26/26 08:54, Nilesh Patra wrote:
On Thu, Mar 26, 2026 at 7:41 AM Richard Hansen <[email protected]> wrote:
I plan on adding some warnings to dh-make-golang and/or lintian to make it easier to find packages that don't follow these best practices.

Lintian maintainer here. What changes in particular are you planning?
No concrete plans yet for lintian. Depending on feedback and technical feasibility, I was thinking of some experimental checks (when dh-golang is used) along the lines of:

  * The source package only builds one binary package.
* XS-Go-Import-Path contains only one entry (as a proxy for the one Go module per source package best practice).
  * XS-Go-Import-Path matches the module path in go.mod.
* The name of the source and binary packages matches the naming conventions if this is the first release.

I wouldn't want it to be too noisy/obnoxious, so any suggestions would be appreciated.

Thanks,
Richard

Reply via email to