BugHelper

Differences between revisions 16 and 17
Revision 16 as of 2007-01-29 16:28:03
Size: 2159
Editor: c-24-21-235-175
Comment: Added bughelper mailing list which replaced the bugsquad mailing list
Revision 17 as of 2007-01-30 09:51:38
Size: 2314
Editor: i59F75278
Comment:
Deletions are marked like this. Additions are marked like this.
Line 37: Line 37:
 * `-V` which will return the version number of the bughelper suite
 * `-a` which will NOT limit the search to just the first 75 bugs
 * `--version` which will return the version number of the bughelper suite
Line 42: Line 41:
   bughelper -a ubiquity    bughelper ubiquity
Line 49: Line 48:
 * `-a <source package> <condition> <information>` adds a simple clue to an existing file or creates a new one.
Line 53: Line 53:
   bugxml -a totem "libxine.so" "This might be a xine problem. Ask the reporter to check with xine-ui."
   bugxml -v packages/ubiquity.info
Line 54: Line 56:
   bugxml -v packages/ubiquity.info

bughelper is a tool written and maintained by Ubuntu's BugSquad.

Download

Development and Discussion

Documentation

You may want to start with the [:BugHelper/Tutorial:tutorial].

The suite currently contains:

./bugnumbers

This tool collects bug numbers from Launchpad. You can pass it

  • -V which will return the version number of the bughelper suite

  • -l <URL> for a Launchpad bug list URL

  • a source package name like evolution

It respects the switch -a which not only reads the bug numbers from one bug list page (which is currently limited to 75 per list), but uses the 'Next' links to traverse through the following pages also.

Examples:

   bugnumbers -a evolution
   bugnumbers -l https://launchpad.net/distros/ubuntu/+source/gcalctool/+bugs

./bughelper

This tool searches through bugs and tries to find matches with data in .info files. It has the same functionality and switches as bugnumber. In addition to that it accepts

  • --version which will return the version number of the bughelper suite

  • -A which lets it search through all the bug attachments with the mime type text/plain.

Examples:

   bughelper ubiquity
   bughelper -A -l https://launchpad.net/distros/ubuntu/+source/gcalctool/+bugs

./bugxml

This tool is primarily intended to help with the editing and creation of .info files. There are currently two use cases:

  • -a <source package> <condition> <information> adds a simple clue to an existing file or creates a new one.

  • -e <string> escapes a given string for use in XML files.

  • -v <file> validates a given file against the clue file schema.

Examples:

   bugxml -a totem "libxine.so" "This might be a xine problem. Ask the reporter to check with xine-ui."
   bugxml -v packages/ubiquity.info
   bugxml -e This string has some weird characters like ä, ü and ö in it.


Go back to [:BugSquad].BR [:CategoryBugSquad]

BugHelper (last edited 2008-12-01 07:09:42 by i59F771D5)