[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Errors Packaging Nebula, length of package name



On Sat, Jul 03, 2021 at 06:08:13PM +0800, Shengjing Zhu wrote:
> On Sat, Jul 3, 2021 at 2:14 PM Geert Stappers wrote:
> > On Sat, Jul 03, 2021 at 03:30:48AM +0000, Flu0r1ne wrote:
> > > Hi,
> > >   ...
> > > Lintian wants to:
> > >
> > > (1) Shorten golang-github-nbrownus-go-metrics-prometheus (I'm following
> > > the naming scheme. Let me know if i should rename it.)
> >
> > Does removing '-go' make Lintian happy?
> >
> 
> You don't need to make lintian "happy"

You must obey Debian packaging policy.
Do known that lintian helps with adhere package policy.


> if you believe you have followed the name scheme.

https://go-team.pages.debian.net/packaging.html#_naming_conventions_2
doesn't yet cover how to deal with name length above eighty characters.



On Sat, Jul 03, 2021 at 08:09:34AM +0000, Flu0r1ne wrote:
> Unfortunately, I think I Lintian is demanding another three letters.
> 
> W: golang-github-nbrownus-metrics-prom buildinfo:
> package-has-long-file-name 83 (87) > 80
> 


$ echo -n golang-github-nbrownus-metrics-prom | wc
      0       1      35


That made me realize it is not packageNAME
but FILENAME inside package.


Run lintian with the --info flag. I think that it makes
lintian to reveal which filename is the culprit.

 
Groeten
Geert Stappers
-- 
Silence is hard to parse


Reply to: