On Thu, Dec 12, 2024 at 7:10 PM Nicolas Peugnet <nico...@club1.fr> wrote:
>
> 12 déc. 2024 10:13:53 Shengjing Zhu <z...@debian.org>:
>
> > On Thu, Dec 12, 2024 at 4:50 PM Simon Josefsson <si...@josefsson.org>
> > wrote:
> >>
> >> Shengjing Zhu <z...@debian.org> writes:
> >>>
> >>> You refer to the wrong section, please read
> >>> https://go-team.pages.debian.net/packaging.html#_naming_conventions_2
> >>> Martin and dh-make-golang are right.
> >>
> >> I was talking about the source package name above.
> >>
> >> I'm confused now, which one do you suggest?
> >>
> >> 1)
> >>
> >> dh-make-golang-style:
> >>
> >> Source: golang-go.gearno-encoding-base58
> >> Package: golang-go.gearno-encoding-base58-dev
> >>
> >
> > This is right, and the policy also says that. I'm not sure why you say
> > the policy is 2. Maybe you are confused by "Binary-only packages" and
> > "Library (or binary + library) packages"?
>
> I would probably remove the `go.` part of the host identifier, to get rid
> of the dot and make it more similar to the examples. We don't have to use
> the exact hostname:

https://github.com/Debian/dh-make-golang/blob/d70d43c2c98bd8419d41c7dc741ece4bff437ff1/make.go#L575

We maintain a list of well-known hosts. If you want to change the
value for this host, please submit PR against this list.
dh-make-golang also says that:

  log.Printf("WARNING: Using %q as canonical hostname for %q. If that
is not okay, please file a bug against %s.\n", host, fqdn, os.Args[0])

-- 
Shengjing Zhu

Reply via email to