• Bug#1069063: distro-info: Please support distro-info --alias=trixie -r

    From Benjamin Drung@21:1/5 to All on Tue Apr 30 17:30:01 2024
    Hi,

    On Mon, 2024-04-15 at 18:58 +0000, Bastien Roucariès wrote:
    Package: distro-info
    Version: 1.7
    Severity: minor

    Dear Maintainer,

    distro-info --alias=trixie -r is misleading it return trixie instead of 13...

    Maybe a feature but should be documented

    I workarround by doing in my script in two steps:
    distro-info --$(distro-info --alias=trixie) -r

    --alias was not developed to be combined with -c/-r/-f. So either
    distro-info should reject this parameter combination or change the
    behaviour to what you wanted to do.

    --
    Benjamin Drung
    Debian & Ubuntu Developer

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Bastien =?ISO-8859-1?Q?Roucari=E8s?@21:1/5 to All on Tue Apr 30 15:37:51 2024
    To: bdrung@debian.org (Benjamin Drung)

    Le mardi 30 avril 2024, 15:24:11 UTC Benjamin Drung a écrit :
    Hi,

    On Mon, 2024-04-15 at 18:58 +0000, Bastien Roucariès wrote:
    Package: distro-info
    Version: 1.7
    Severity: minor

    Dear Maintainer,

    distro-info --alias=trixie -r is misleading it return trixie instead of 13...

    Maybe a feature but should be documented

    I workarround by doing in my script in two steps:
    distro-info --$(distro-info --alias=trixie) -r

    --alias was not developed to be combined with -c/-r/-f. So either
    distro-info should reject this parameter combination or change the
    behaviour to what you wanted to do.


    Yes that is the bug, with additionnally a documentation bug.

    Bastien

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

    iQIzBAABCgAdFiEEXQGHuUCiRbrXsPVqADoaLapBCF8FAmYxEE8ACgkQADoaLapB CF894Q/6AzfqdcAm/p6fF5OjKR1ikQdzZ5jOWJNLrbl4MMyGz3gm6gkxT3VmhigC XaDap2Lp5USWDG+xsJ932mKTL9FouH3JuC5kZFC5l/CW/uw37XZ56p0nTyftzBVU LkZQyxi7hZE36SRDKO/MJc5xcLnj+/Dixq94u9Gsv+HlZl8TMU6YnAKW75eZ9qMg 3BZ/VlsHlAA9BF8iw2Qx4tT8uuCGd1gpyapIzlXSX6vxeNPxhg0ib8h5JWjZ4Ztx n1aJZN2EuQDNPmD6PVFRJH/XrfGEx5KwVocPfankzqzQm+1vfPQtADoD/o+MTDjv u6XYXdkE2exLHjWxudShjibnd2M0ukZXJNPn3Q8NY7uCJwODUQ/sdKmwFgcgZWMQ 4WyNIh44B4TjswmX7qnyIHOn0C0TkCy5HN3Ki3a0Tb/q+4i9O0Wa3VDctfsrZQOw x33R8y45bdwrXsUfqKhCDKwgJEQmm1VvGezEbO3WCHFWOe5k9SA958QaXtkHbEX4 xZOpIx9uIXTHxsPY/Wpsi7q7PqfXkxIbPhRU7qv8wMoyUbjJwsi5b5pAoZqgzGvP Cz65a36Ev8UhecJ6HA1YwHj7dFhTfGPRRhvRVODLZq4KHLsX1Qs/eWb4e5zqBVN7 4X470iv4CXLNPPk6gDKwCpwL/5xoOOwds1CCga0pL1f3FOY8H5Q=
    =HKTh
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Benjamin Drung@21:1/5 to All on Tue Apr 30 17:50:01 2024
    On Tue, 2024-04-30 at 15:38 +0000, Bastien Roucariès wrote:
    Le mardi 30 avril 2024, 15:24:11 UTC Benjamin Drung a écrit :
    Hi,

    On Mon, 2024-04-15 at 18:58 +0000, Bastien Roucariès wrote:
    Package: distro-info
    Version: 1.7
    Severity: minor

    Dear Maintainer,

    distro-info --alias=trixie -r is misleading it return trixie instead of 13...

    Maybe a feature but should be documented

    I workarround by doing in my script in two steps:
    distro-info --$(distro-info --alias=trixie) -r

    --alias was not developed to be combined with -c/-r/-f. So either distro-info should reject this parameter combination or change the behaviour to what you wanted to do.


    Yes that is the bug, with additionnally a documentation bug.

    What I forgot to mention: Merge requests on https://salsa.debian.org/debian/distro-info are welcome.

    --
    Benjamin Drung
    Debian & Ubuntu Developer

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