Hi all, One of the tasks needed when reintroducing packages after they have been removed is that the bugs that were closed by the removal need to be triaged and either reopened or version closing information added:
https://www.debian.org/doc/manuals/developers-reference/pkgs.en.html#reintroducing-packages Should we be automatically reopening these bugs? Should triaging these bugs be required of maintainers? Does anyone think that triaging these bugs is a bad idea? Does anyone want to help triage these bugs (see attached dd-list)? Should we also be triaging the bugs filed against removed versioned source packages like golang-1.9 or python3.6? The attached script provided by Stuart Prescott detects reintroduced packages and a loop around `curl | grep -F +rm` detects bugs needing triage. I'll attempt to run this and triage bugs when I can. -- bye, pabs https://wiki.debian.org/PaulWise
#!/usr/bin/python3 # pabs got this from themill on #debian-devel 2020-05 # written by Stuart Prescott <stu...@debian.org> import sys from typing import List, Dict from debian.deb822 import Sources, Removals def source_packages(filename: str) -> List[str]: with open(filename) as fh: source_pkgs = [] for s in Sources.iter_paragraphs(fh): source_pkgs.append(s['Source'] if 'Source' in s else s['Package']) return source_pkgs def removed_packages(filename: str) -> Dict[str, str]: with open(filename) as fh: removed_pkgs: List[Dict[str, str]] = [] for r in Removals.iter_paragraphs(fh): if r['suite'] == 'unstable': removed_pkgs.extend(r.sources) return {r['source']: r['version'] for r in removed_pkgs} old_sources = source_packages('Sources.old') new_sources = source_packages('Sources') added_sources = set(new_sources) - set(old_sources) if not added_sources: sys.exit(0) rm_sources = removed_packages('removals-full.822') reintroduced_sources = [s for s in added_sources if s in rm_sources] if reintroduced_sources: print("Found reintroduced sources:") for s in reintroduced_sources: print(" {source}/{version}".format( source=s, version=rm_sources[s] )) sys.exit(1)
Alexander Ponyatykh <lazyra...@gmail.com> g15daemon libg15 Andrej Shadura <andre...@debian.org> g15daemon (U) Anton Kokalj <tone.kok...@ijs.si> xcrysden (U) Chris Lamb <la...@debian.org> zoneminder (U) David Prévot <taf...@debian.org> php-guzzlehttp-promises (U) php-hamcrest (U) Debian Authentication Maintainers <pkg-auth-maintain...@lists.alioth.debian.org> yubioath-desktop Debian Games Team <pkg-games-de...@lists.alioth.debian.org> ember Debian PHP PEAR Maintainers <pkg-php-p...@lists.alioth.debian.org> php-guzzlehttp-promises php-hamcrest Debian Python Modules Team <python-modules-t...@lists.alioth.debian.org> azure-cli Debian QA Group <packa...@qa.debian.org> djbdns Debian Science Maintainers <debian-science-maintain...@lists.alioth.debian.org> rivet Debian+Ubuntu MATE Packaging Team <debian-m...@lists.debian.org> magnus Debichem Team <debichem-de...@lists.alioth.debian.org> xcrysden Dmitry Smirnov <only...@debian.org> zoneminder Guus Sliepen <g...@debian.org> libdc1394 Jan-Pascal van Best <janpas...@vanbest.org> denyhosts Lifeng Sun <lifong...@gmail.com> rivet (U) Luca Boccassi <bl...@debian.org> azure-cli (U) Marco Nenciarini <mnen...@debian.org> denyhosts (U) Martin Wimpress <martin.wimpr...@ubuntu.com> magnus (U) Matthias Klose <d...@ubuntu.com> openjdk-8 (U) Michael Banck <mba...@debian.org> xcrysden (U) Mike Gabriel <sunwea...@debian.org> magnus (U) Olek Wojnar <o...@debian.org> ember (U) OpenJDK Team <open...@lists.launchpad.net> openjdk-8 Peter De Schrijver (p2) <p...@debian.org> libdc1394 (U) Salvo 'LtWorf' Tomaselli <tipos...@tiscali.it> funny-manpages SZALAY Attila <s...@debian.org> zorp Taowa Munene-Tardif <ta...@debian.org> yubioath-desktop (U)
signature.asc
Description: This is a digitally signed message part