[Collab-qa-commits] r233 - archive-rebuilds

lucas at alioth.debian.org lucas at alioth.debian.org
Fri Jun 15 11:38:36 UTC 2007


Author: lucas
Date: 2007-06-15 11:38:36 +0000 (Fri, 15 Jun 2007)
New Revision: 233

Modified:
   archive-rebuilds/Notes
Log:
added doc for sb.rb and mb.rb

Modified: archive-rebuilds/Notes
===================================================================
--- archive-rebuilds/Notes	2007-06-15 11:26:42 UTC (rev 232)
+++ archive-rebuilds/Notes	2007-06-15 11:38:36 UTC (rev 233)
@@ -10,3 +10,31 @@
 RECHECK_TIME is added if there's RECHECK, and the time until the failure has changed a lot (both times are given between parentheses). A different time-to-fail might mean that it's a different failure.
 
 RECHECK_VERSION is added if there's RECHECK, and the version of the package has changed since the last failure.
+
+# Using sb.rb and mb.rb for efficient bug filing
+sb means "show bugs"
+mb means "mail bug"
+first, you need a local copy of all bug logs. Can be quickly done by rsyincing from gluck, or using wget -rn -np -nH.
+then, go to the directory with all the logs (here /tmp/logs)
+add aliases for your shell:
+alias mb=~/dev/collab-qa/archive-rebuilds/mb.rb
+alias sb=~/dev/collab-qa/archive-rebuilds/mb.rb
+
+let's examine a bug in strace_4.5.14-2_sid32.buildlog.
+Run:
+sb stra<TAB>
+this open two browser windows: PTS + bugs. It gets the package name from the
+filename.
+check what needs to be checked.
+then run:
+mb stra<TAB>
+It prepares a mail using info from the log:
+- package name
+- version
+- "interesting" part from the log
+If the default max number of lines is too low (20 lines by default), you can
+increase it. for example:
+mb strace<TAB> 3
+will include up to 20*3=60 lines.
+
+Both sb.rb and mb.rb are work in progress. Don't hesitate to improve them!




More information about the Collab-qa-commits mailing list