[Collab-qa-commits] r1426 - bapase/rm_pkgs
Marco Rodrigues
gothicx-guest at alioth.debian.org
Fri Apr 17 18:17:01 UTC 2009
Author: gothicx-guest
Date: 2009-04-17 18:17:01 +0000 (Fri, 17 Apr 2009)
New Revision: 1426
Modified:
bapase/rm_pkgs/mass-reassign
Log:
Add Version field when reassign bugs from a PKG to another
Modified: bapase/rm_pkgs/mass-reassign
===================================================================
--- bapase/rm_pkgs/mass-reassign 2009-04-12 18:30:35 UTC (rev 1425)
+++ bapase/rm_pkgs/mass-reassign 2009-04-17 18:17:01 UTC (rev 1426)
@@ -1,7 +1,7 @@
#!/usr/bin/ruby -w
-if ARGV.length != 2
- puts "Usage: mass-reassign package dstpackage"
+if ARGV.length != 3
+ puts "Usage: mass-reassign package last-version-in-debian dstpackage"
puts "please set the DEBFULLNAME and DEBEMAIL env variables (see e.g: config-lucas)"
exit(1)
end
@@ -22,7 +22,8 @@
bts.add_method('newest_bugs', 'num')
PKG=ARGV[0]
-NPKG=ARGV[1]
+VER=ARGV[1]
+NPKG=ARGV[2]
SENDMAIL=true
puts "------bugs for #{PKG}-----"
@@ -45,6 +46,8 @@
TMPL_REASSIGN
+Version: #{VER}+rm
+
The #{PKG} package has been removed from Debian. We are reassigning
its bugs to the #{NPKG} package. Please have a look at them,
and close them if they don't apply to #{NPKG} anymore.
More information about the Collab-qa-commits
mailing list