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

Lintian package-has-long-file-name only in salsa



Hi,

I packaged some software and the name of the package with the version is
long:
python3-cloudscraper                           1.2.71~git20230426.cbb3c0ea-1

The name of the final file such as:
carles@pinux:~/Baixades$ echo -n python3-cloudscraper_1.2.71~git20230426.cbb3c0ea-1_all.deb | wc -c
58

I see in
/usr/share/lintian/lib/Lintian/Check/Archive/File/Name/Length.pm that
tries to replace the architecture to kfreebsd-amd64 (longest) and avoid
the name to be > 80. Which I'm still ok:

carles@pinux:~/Baixades$ echo -n python3-cloudscraper_1.2.71~git20230426.cbb3c0ea-1_kfreebsd-amd64.deb | wc -c
69

(note: I should have tested with the .changes or .buildinfo file... does
not matter for going over 80)

But, in salsa... salsa appends the string +salsaci+20231210+20 so (I've
replace "all" with kfreebsd-amd64):

carles@pinux:~$ echo -n python3-cloudscraper_1.2.71~git20230426.cbb3c0ea-1+salsaci+20231210+20_kfreebsd-amd64.deb | wc -c
89

I would like to avoid this warning in salsa.

My only idea:
Use SALSA_CI_LINTIAN_SUPPRESS_TAGS in debian/salsa-ci.yml: but then I
will not know if some day I go over the limit in reality? Or, not by
salsa, I will know another moment.

Is there any other way that people are doing?

Would it be worth trying to make salsa lintian job to rename the job
before running lintian? (I mean, not now, but opening an issue for some
time in the future).

Thanks!

-- 
Carles Pina i Estany
https://carles.pina.cat

Attachment: signature.asc
Description: PGP signature


Reply to: