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

    From Carles Pina i Estany@21:1/5 to All on Mon Dec 25 12:02:29 2023
    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

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEEth6/Zob9uGYomaJ+qAKIT2ClX4EFAmWJb1UACgkQqAKIT2Cl X4GUew/9FiK4bkESPLHjWgitdQHfEskfprr7z2/cwftKB6uDPjbBZJ5sxxsX4Weu fkvPxuBbVMBRLKCFYLMdeFIOp/PjgAehR8/LREut1PuHvxKIQwNbp5TgFck5Gr8s nsON80ISHmwo6Fluwtiw0hayY9PQXrLGBpIEzMifLdhPwouVZ2Tl5vEpWyOJMFhB gYRrDI/xDhtSCeJ7G9PtPAk/Zru8wbuCkVcv8uMXOZ4VwmvOlvVp7JK5lVVH7jLd Zc3OOUGzrD2RT+dHz8VvMhVh8lGYm5oVMxTRQFxmkfLwEhmTVotw0hAKxzLc0Byv FYcf8fGCk1EuFXtKXzi4ExXi6b6mEprTXYv7eX0Cgy3r8Vpef11f8Iom1mBpTcTi fspdrvWRoDE2mWk8XAmXFBB6C+PblmgQcF3MZvItCQH0cGo0Sd7IBCKXXw2c4hzt VaXPnQ45F9Sy61tHYQDri1kocx6K1li0BfTxYvZURUo8ZNHUfQtQMm4rWnAlGa77 1psOVbqkPX6aK5+7+17YMSJVKhAjI+g1BQePPU9ijlyr3Z5woh0SLL1CLYN1lWR7 vxTD8pK61rYGtvkgLp7nD7tgSeXkuaKLcaJNo4CpkGSnZJkpmjZNsryTP6jyoM6T CBTkvY7vgVBKe5esKYWTqbJ9io8BD6Wg5dWkVfsrWoInGFEOj7I=
    =lj2m
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)