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. _______________________________________________ Collab-qa-commits mailing list Collab-qa-commits@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/collab-qa-commits