~ash211/bughelper/bughelper.dev

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
README

This is the bughelper suite written by Ubuntu's BugSquad! If you want to help 
out in the team, please see http://wiki.ubuntu.com/BugSquad for more 
information.

The suite currently contains:


/usr/bin/bugnumbers
~~~~~~~~~~~~~~~~~~~

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

 - a Launchpad bug list URL with '-l <URL>´
 - a source package name like 'evolution´

It respects the switch '-a´ which does not only read 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


/usr/bin/bughelper
~~~~~~~~~~~~~~~~~~

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

 '-A´ which lets it search through all the bug attachments with the mime type 
 text/plain.
 
Examples:
   bughelper -a evolution
   bughelper -A -l https://launchpad.net/distros/ubuntu/+source/gcalctool/+bugs


/usr/bin/bugxml
~~~~~~~~~~~~~~~

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

 '-e <string>´ escapes a given string for use in XML files.
 
 '-v <file>´ validates a given file against the clue file schema.

Examples:
   bugxml -e This string has some weird characters like ä, ü and ö in it.
   bugxml -v packages/ubiquity.info


In addition to that, all scripts take the -V option to print out the current version.