Hi all,
I opened another merge request for the packaging workflow doc
<https://go-team.pages.debian.net/packaging.html> to address some very
helpful feedback from @nilesh (thank you!).
https://salsa.debian.org/go-team/go-team.pages.debian.net/-/merge_requests/20
Additional reviews would be greatly appreciated.
You can view a rendered HTML document by going to:
https://salsa.debian.org/rhansen/go-team.pages.debian.net/-/jobs/artifacts/feedback/browse/build?job=build
then click on packaging.html, then click the link on the warning page.
Notable normative change:
* Relax the "One Binary Package Per Debian Source Package" best
practice. I had forgotten that dh-make-golang ignores packages that
don't end in -dev, so there's no harm in producing multiple binary
packages if only one of them is named *-dev.
Notable editorial (non-normative) changes:
* Reference how upstream might change repositories without changing
the module path.
* Add a warning that Go does not support non-modules (legacy package
collections without a go.mod) whose version control root path ends in /vN.
* Explain why a major version suffix is not added to synthesized
module paths for non-modules.
* Add a TODO comment questioning whether we should include the
+incompatible version suffix when packaging a non-module tagged at v2+.
* Clarify why the module path is used to derive package names.
* Mention that binary library packages should be named *-dev because
that's what dh-make-golang expects.
* Remove the TODOs in the "XS-Go-Import-Path Field" best practice
after some useful discussion with @nilesh (thank you!).
Thanks,
Richard