[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

reopening bugs closed by removal after package reintroduction?



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 <stuart@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 <lazyranma@gmail.com>
   g15daemon
   libg15

Andrej Shadura <andrewsh@debian.org>
   g15daemon (U)

Anton Kokalj <tone.kokalj@ijs.si>
   xcrysden (U)

Chris Lamb <lamby@debian.org>
   zoneminder (U)

David Prévot <taffit@debian.org>
   php-guzzlehttp-promises (U)
   php-hamcrest (U)

Debian Authentication Maintainers <pkg-auth-maintainers@lists.alioth.debian.org>
   yubioath-desktop

Debian Games Team <pkg-games-devel@lists.alioth.debian.org>
   ember

Debian PHP PEAR Maintainers <pkg-php-pear@lists.alioth.debian.org>
   php-guzzlehttp-promises
   php-hamcrest

Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
   azure-cli

Debian QA Group <packages@qa.debian.org>
   djbdns

Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
   rivet

Debian+Ubuntu MATE Packaging Team <debian-mate@lists.debian.org>
   magnus

Debichem Team <debichem-devel@lists.alioth.debian.org>
   xcrysden

Dmitry Smirnov <onlyjob@debian.org>
   zoneminder

Guus Sliepen <guus@debian.org>
   libdc1394

Jan-Pascal van Best <janpascal@vanbest.org>
   denyhosts

Lifeng Sun <lifongsun@gmail.com>
   rivet (U)

Luca Boccassi <bluca@debian.org>
   azure-cli (U)

Marco Nenciarini <mnencia@debian.org>
   denyhosts (U)

Martin Wimpress <martin.wimpress@ubuntu.com>
   magnus (U)

Matthias Klose <doko@ubuntu.com>
   openjdk-8 (U)

Michael Banck <mbanck@debian.org>
   xcrysden (U)

Mike Gabriel <sunweaver@debian.org>
   magnus (U)

Olek Wojnar <olek@debian.org>
   ember (U)

OpenJDK Team <openjdk@lists.launchpad.net>
   openjdk-8

Peter De Schrijver (p2) <p2@debian.org>
   libdc1394 (U)

Salvo 'LtWorf' Tomaselli <tiposchi@tiscali.it>
   funny-manpages

SZALAY Attila <sasa@debian.org>
   zorp

Taowa Munene-Tardif <taowa@debian.org>
   yubioath-desktop (U)

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: