Hi,

> > 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:
>
> I just looked at packaging
>
> gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/ptutil
>
> which results in a source package name of
>
> golang-gitlab.torproject-tpo-anti-censorship-pluggable-transports-ptutil
>
> and a binary of
>
> golang-gitlab.torproject-tpo-anti-censorship-pluggable-transports-ptutil-dev
>
> which isn't pretty.
>
> Are those names okay?
>
> Any suggestions on alternative names?
>
> golang-torproject-ptutil?
>
> golang-torproject-pluggable-transports-ptutil?

I thnk your suggestions above are good. I imagine the Go team policy
was made for consistency so names are easy to read and reason about,
but people writing it didn't foresee that there could some day be
origin url/paths that lead to inlegible end results. The original
intent still remains as you have the golang-<origin>-<name> pattern,
and you meet the intent of having a name that is easy to reason about.
One could argue that having a 76 character garbage name could even be
against the intent of the original policy..

Reply via email to