• Lintian breaks existing lintian-overrides due to added []

    From Andreas Tille@21:1/5 to All on Wed Jun 29 14:50:01 2022
    Hi,

    I realised that lintian (at least) starting with version 2.115.1 (may be earlier) wraps file names into [] which breaks existing
    lintian-overrides. Random example:

    https://salsa.debian.org/med-team/biomaj3-user/-/blob/master/debian/lintian-overrides

    now becomes invalid by lintian claiming

    W: python3-biomaj3-user: mismatched-override script-with-language-extension usr/bin/biomaj-users.py [usr/share/lintian/overrides/python3-biomaj3-user:2]
    W: python3-biomaj3-user: script-with-language-extension [usr/bin/biomaj-users.py]

    I consider these [] not helpful since it breaks lots of
    lintian-overrides with no visible advantage. Could this change in
    lintian please be reverted?

    Thanks a lot for maintaining lintian in any case

    Andreas.

    --
    http://fam-tille.de

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Roberto =?iso-8859-1?Q?C=2E_S=E1nch@21:1/5 to Andreas Tille on Wed Jun 29 15:00:02 2022
    On Wed, Jun 29, 2022 at 02:49:35PM +0200, Andreas Tille wrote:
    Hi,

    I realised that lintian (at least) starting with version 2.115.1 (may be earlier) wraps file names into [] which breaks existing
    lintian-overrides. Random example:

    https://salsa.debian.org/med-team/biomaj3-user/-/blob/master/debian/lintian-overrides

    now becomes invalid by lintian claiming

    W: python3-biomaj3-user: mismatched-override script-with-language-extension usr/bin/biomaj-users.py [usr/share/lintian/overrides/python3-biomaj3-user:2]
    W: python3-biomaj3-user: script-with-language-extension [usr/bin/biomaj-users.py]

    I consider these [] not helpful since it breaks lots of
    lintian-overrides with no visible advantage. Could this change in
    lintian please be reverted?

    Or perhaps make the new format default (I quite like it better from a
    visual perspective), and issue a deprecation warning for the old format
    (e.g., when -I is specified).

    Then perhaps after the next stable release drop the old format.


    Thanks a lot for maintaining lintian in any case

    +1

    Regards,

    -Roberto

    --
    Roberto C. Sánchez

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andrey Rahmatullin@21:1/5 to Andreas Tille on Wed Jun 29 15:00:02 2022
    On Wed, Jun 29, 2022 at 02:49:35PM +0200, Andreas Tille wrote:
    Hi,

    I realised that lintian (at least) starting with version 2.115.1 (may be earlier) wraps file names into [] which breaks existing
    lintian-overrides. Random example:

    https://salsa.debian.org/med-team/biomaj3-user/-/blob/master/debian/lintian-overrides

    now becomes invalid by lintian claiming

    W: python3-biomaj3-user: mismatched-override script-with-language-extension usr/bin/biomaj-users.py [usr/share/lintian/overrides/python3-biomaj3-user:2]
    W: python3-biomaj3-user: script-with-language-extension [usr/bin/biomaj-users.py]
    https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1007002

    --
    WBR, wRAR

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

    iQJhBAABCgBLFiEEolIP6gqGcKZh3YxVM2L3AxpJkuEFAmK8S/wtFIAAAAAAFQAP cGthLWFkZHJlc3NAZ251cGcub3Jnd3JhckBkZWJpYW4ub3JnAAoJEDNi9wMaSZLh qZ4QAIggsAHFM1JdABUvXpWsUZHtAo8/+kU/2hg465GURYW+8Kn/KVJyOz42iQoK 7Fs+WBEFQ7XAy7OKXEi9AcmjHzD7R9WndOrAtXouE2qA7GaDJP5XJkBs7e+C2b6u X2c/QBDFwPcFtTNbIfES6LRW8Pz0sSzY8mZOxfh8enomYJav2ndKXJWXavHCuGDh DCvcU5tzmBP9IFk5nyp5N8eZJqLwi3eQ760hkrav4ua7cj9PlBRMoaPDXwXu2OCQ 3yqpr37WVMfEMpcAtBBcMvbl09s3sfdwkqM3MZH3jKI8ZOse7VGzUfUFX2p1fryY DgBEcZzo1UUHX7ic3F2IwwjEBF+pdn3eBtZW7I5dizRgub7cKAIhklpLXIRFk8pe WyH/mf2Vtlv4w/wXZK/8xKUuRrO1HkIePgXKducdryNHAW7fBw+p788n4lCXeT41 KOt3LTMgNxxay/mMHdbtevjmA6ptKcsNg9JYK4WDFyJlR8nrx6qZuG5LeEaPi+Sy mq0Xwgo8GsHlJUqZgtGWPIyDizzSIqxKc/gWgQHX4A2rkYbiNlrG4yH+oqIpKdQB Pn3XtLm+QftFKfiU5F+4f7t8Ws3GviFyt3O6R0SMMjc+6z3kSfZboZBPCKf2X+Tr EnNI/9q3PRkxQB0824rjQHExtLGfi5x0tkYIyXfBoTflruEz
    =xu7p
    -----END PGP SIGNATURE-----

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