[Collab-qa-commits] r771 - collab-qa-tools/bin

lucas at alioth.debian.org lucas at alioth.debian.org
Wed Apr 9 09:04:59 UTC 2008


Author: lucas
Date: 2008-04-09 09:04:59 +0000 (Wed, 09 Apr 2008)
New Revision: 771

Added:
   collab-qa-tools/bin/cqa-mass-tag
Log:
added cqa-mass-tag

Added: collab-qa-tools/bin/cqa-mass-tag
===================================================================
--- collab-qa-tools/bin/cqa-mass-tag	                        (rev 0)
+++ collab-qa-tools/bin/cqa-mass-tag	2008-04-09 09:04:59 UTC (rev 771)
@@ -0,0 +1,11 @@
+#! /usr/bin/ruby1.8 -w
+# usage: mass-tag.rb tag < 00* > template
+
+bugs = []
+STDIN.read.scan(/#\d+/).each do |b|
+  b.gsub!(/^#/, '')
+  bugs << b
+end
+bugs.sort.uniq.each do |b|
+  puts "usertags #{b} + #{ARGV[0]}"
+end




More information about the Collab-qa-commits mailing list