Your message dated Thu, 04 Nov 2021 22:04:35 +0000
with message-id <[email protected]>
and subject line Bug#902167: fixed in distro-info 1.1
has caused the Debian Bug report #902167,
regarding distro-info: ubuntu-distro-info incorrectly lists the development
release in --supported
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
902167: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=902167
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: distro-info
Version: 0.18
Severity: normal
Tags: patch
Usertags: origin-ubuntu cosmic ubuntu-patch
Dear Maintainer,
I've prepared the attached patch against the Ubuntu packaging to fix the
apparently incorrect output for --supported. I will be seeking
sponsorship for it in the coming days.
Thanks for considering the patch.
diff -Nru distro-info-0.18/distro-info-util.c
distro-info-0.18ubuntu1/distro-info-util.c
--- distro-info-0.18/distro-info-util.c 2017-04-30 15:43:03.000000000 -0400
+++ distro-info-0.18ubuntu1/distro-info-util.c 2018-06-22 21:47:38.000000000
-0400
@@ -204,10 +204,6 @@
return released(date, distro) && !eol(date, distro);
}
-static bool filter_supported(const date_t *date, const distro_t *distro) {
- return created(date, distro) && !eol(date, distro);
-}
-
static bool filter_unsupported(const date_t *date, const distro_t *distro) {
return created(date, distro) && eol(date, distro);
}
@@ -749,7 +745,7 @@
case 'S':
// Only long option --supported is used
selected_filters++;
- filter_cb = filter_supported;
+ filter_cb = filter_stable;
select_cb = NULL;
break;
diff -Nru distro-info-0.18/test-ubuntu-distro-info
distro-info-0.18ubuntu1/test-ubuntu-distro-info
--- distro-info-0.18/test-ubuntu-distro-info 2014-05-10 14:53:16.000000000
-0400
+++ distro-info-0.18ubuntu1/test-ubuntu-distro-info 2018-06-22
21:48:17.000000000 -0400
@@ -62,8 +62,7 @@
hardy
karmic
lucid
-maverick
-natty"
+maverick"
success "--date=2011-01-10 --supported" "$result"
}
--- End Message ---
--- Begin Message ---
Source: distro-info
Source-Version: 1.1
Done: Stefano Rivera <[email protected]>
We believe that the bug you reported is fixed in the latest version of
distro-info, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Stefano Rivera <[email protected]> (supplier of updated distro-info package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Thu, 04 Nov 2021 14:27:37 -0700
Source: distro-info
Architecture: source
Version: 1.1
Distribution: unstable
Urgency: medium
Maintainer: Benjamin Drung <[email protected]>
Changed-By: Stefano Rivera <[email protected]>
Closes: 902167 998598
Changes:
distro-info (1.1) unstable; urgency=medium
.
* Man pages and help: Clarify that --supported includes development releases
(Closes: #902167, LP: #1727751)
* Update Python module to satisfy pylint 2.11 (Closes: #998598)
* Python: Drop object inheritance in classes, we no longer need to support
2.7.
* Re-black python.
* Bump Standards-Version to 4.6.0, no changes needed.
Checksums-Sha1:
e2ea3a3e41ada8234e44640e528c96af1cef478c 1367 distro-info_1.1.dsc
85310bbcad09025071be32f0642278a3c16d8d18 31148 distro-info_1.1.tar.xz
347f95d73029cd44dc49070c869533e83e98e087 6147 distro-info_1.1_source.buildinfo
Checksums-Sha256:
826c07f8a8c3702f25e5d229d68b19c713c55886c4a26b4e50bfbe5bd4d03db4 1367
distro-info_1.1.dsc
d011e45e05342ee0c4ab4cab42dbdd6de90aa40e8bc44dfe0881a94d145c6cc6 31148
distro-info_1.1.tar.xz
dacc99e99770bd2057f233fd2489593be1e332868e1c0fd910bc12061a4c92b4 6147
distro-info_1.1_source.buildinfo
Files:
e8b123383dcf82cf9e9bcd0b860f0e92 1367 devel optional distro-info_1.1.dsc
9af7837c4bbd921cb86accbf3fa0caf7 31148 devel optional distro-info_1.1.tar.xz
168f7e061bd131552893a7909498014c 6147 devel optional
distro-info_1.1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iIoEARYKADIWIQTumtb5BSD6EfafSCRHew2wJjpU2AUCYYRQXBQcc3RlZmFub3JA
ZGViaWFuLm9yZwAKCRBHew2wJjpU2EnhAP4mnu7i3cdNmtyb0gGt47Fi88FY1a7p
gM/firffPBQ/UAEA+Q35cwCKuhvFoVaQUn/hRCFN6zXnbTjHpqOZwMqZ+A8=
=5SXz
-----END PGP SIGNATURE-----
--- End Message ---