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

Re: RFH: handling bugs from removed packages



Hi,

I did some work on that, but I now need help from others to actually
close the bugs.

>From svn.d.o/collab-qa/bapase/rm_pkgs/README:
Bugs filed against packages removed from testing and unstable must be closed,
so they can be properly archived. To deal with version-tracking, the version
must be <last version in Debian>+rm.

I wrote a few dirty scripts to help automate this task.

First, there's svn.d.o/collab-qa/bapase/bugs_rm_pkgs.rb. This script generates
http://qa.debian.org/~lucas/bapase/bugs_rm_pkgs.txt (updated every 6 hours).
This script lists bugs that:
 - are not marked as done
 - don't affect testing, unstable or experimental
 - don't  belong to a package in testing, unstable or experimental

This is only a list of good candidates. Many of those bugs shouldn't be closed!

Then, someone needs to take a package from the list, and check:
- if the bugs could be reassigned to another package (maybe discuss with the
new package's maintainers). for example, bugs in linux-image-2.6.22-3-686
might have to be reassigned to another kernel package
- or find the removal in removals*txt, find the removal bug, read the removal bug

If the bugs should be closed, the mass-close script (in .....bapase/rm_pkgs/)
can help. This script fetches all the open bugs for a given package, then opens
an editor so you can edit the mail that will be sent to close the bugs. Then,
the mail is sent to each bug (one mail per bug).

in bapase/rm_pkgs, there's also get-removals.txt, to fetch all the lists of
removals from ftp-master.

Example:
tkirc was removed from testing and unstable in 2005. Its removal bug is #328601. Grepping removals*txt reveals:
removals-2005.txt-[Date: Wed, 12 Oct 2005 15:05:14 -0700] [ftpmaster: Joerg Jaspert]
removals-2005.txt-Removed the following packages from unstable:
removals-2005.txt-
removals-2005.txt:     tkirc |    1.202-8 | source, all
removals-2005.txt-Closed bugs: 328601
removals-2005.txt-
removals-2005.txt-------------------- Reason -------------------
removals-2005.txt-RoQA; unused, out of date, alternatives available
removals-2005.txt-----------------------------------------------

So I run ./mass-close:
collab-qa/bapase/rm_pkgs$ ./mass-close 
Usage: mass-close sourcepackage last-version-in-debian removal-bugno
+rm will be added automatically.
please set the RMFROM and RMSIG env variables

collab-qa/bapase/rm_pkgs$ cat config-lucas 
export RMFROM="Lucas Nussbaum <lucas@lucas-nussbaum.net>"
export RMSIG="-- 
Lucas"

collab-qa/bapase/rm_pkgs$ source config-lucas

collab-qa/bapase/rm_pkgs$ ./mass-close tkirc 1.202-8 328601
------bugs for tkirc-----
21906 tkirc normal forwarded tkirc: connect list is badly placed
183012 tkirc wishlist pending Could use the irc alternative
71846 tkirc normal pending It doesn't correctly get dcc request
66022 tkirc normal forwarded tkirc: Topic is limited to 80 chars. That sucks
24041 tkirc wishlist forwarded tkirc: Problems with long nicks
70457 tkirc wishlist pending New Tkirc 2.42 avaiable as source on http://www.netsplit.de/tkirc2/
55459 tkirc normal forwarded tkirc can't let me join using /msg chanserv invite #channame
54767 tkirc normal forwarded doesn't terminate zombie childs
57209 tkirc normal forwarded tkirc: It doesnt work right if it connects too fast right after tkirc is opened
-- press enter to continue --

<$EDITOR is started>
-- press enter to send the mails --

Sending mail to close #21906
Sending mail to close #183012
Sending mail to close #71846
Sending mail to close #66022
Sending mail to close #24041
Sending mail to close #70457
Sending mail to close #55459
Sending mail to close #54767
Sending mail to close #57209

There are currently ~3200 bugs that might need to be closed. Feel free
to start working on them by picking packages in the list. Ask questions
if you don't understand something. And suggest improvements where needed
(the scripts are really hackish currently).
-- 
| Lucas Nussbaum
| lucas@lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lucas@nussbaum.fr             GPG: 1024D/023B3F4F |


Reply to: