~brian-murray/ubuntu-qa-tools/uvt-verbosity

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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
                          Ubuntu QA Team Tools  
                        --========[o]=========--

The Ubuntu QA Tools project is a collection of scripts that the Ubuntu
QA team has found useful for performing their duties be they testing or
bug triaging.

bugs-mailinglist
================

This directory is a collection of python scripts for parsing bug mailing
archives like those found at:
http://people.ubuntu.com/~listarchive/ubuntu-bugs/ 

A mailing list archive file must be available on your local system for
them to parse.

triager-query.py queries the mailing list archive for actions performed
by a specific bug triager.

count-senders.py parses the mailing list archive and returns the
quantity of messages sent by individuals.

body-searching.py searches the mailing list archive for a user defined
string, sys.argv[1], and returns bug numbers containing that string.

dl-ubuntu-test-iso
==================

dl-ubuntu-test-iso is a small script to download Ubuntu (+ Kubuntu,
Xubuntu, etc) ISO images for testing purposes. It may or may not be
useful to people outside the QA team. It is _NOT_ meant for downloading
released ISO images. If you don't participate in testing, you shouldn't
run this script.

NOTE THAT RUNNING THIS SCRIPT WILL DOWNLOAD A LOT OF DATA BY DEFAULT.
More specifically, it will download every ISO by default, for a total
of several tens of gigabytes of data.

The script uses rsync, which means that the second time you run it,
it only downloads the changes to each ISO.

The ISO image files will be put into ~/iso (an "iso" directory in your
home directory).

See the dl-ubuntu-test-iso/README for more information on how to run
the script.

bugtrackers
===========

debian-bug-search.py, which requires python-soappy, is a python script
for searching Debian bug reports about a specific package for a string.

For example:

python debian-bug-search.py xserver-xorg-core 'Bad valuators'

returns

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=468913 contains the
string Bad valuators

This should help linking Ubuntu bug reports to upstream Debian bugs.

bug-parsers
===========

Currently contains a python script (check-needs-packaging.py) that uses
python-launchpad-bugs, urllib, libxml2 and rmadison to review
needs-packaging bug reports and identify possible courses of action with
them.

hugday
======

On ubuntu hug days the wiki at wiki.ubuntu.com is used to track the
progress. This set of commandline tools allows to edit hugday related
pages.

Usage
-----

* get a list of all hugdays
  $ hugday list-days

* get the id and url of the current hugday
  $ hugday current
  $ hugday current --remember (save the id of current hugday)
  
* get a list of bugs for a hugday
  $ hugday list (list for current hugday)
  $ hugday list --date 20090101 (for hugday at 2009-01-01)
  
Before actually changing content of a wikipage the hugday tools needs
to know the useres name and his wiki-id, 'hugday init' provides some
options to get this information
  $ hugday init --user <USER> --cookie <PATH> (try to get the MOIN_ID
        out of the mozilla-like cookie file and use USER for entries in
        the 'Triager' column)
  $ hugday init --user <USER> --wiki-id <MOINID>
  $ hugday init (interactive mode, not implemented yet)
  
To mark a bug as DONE run:
  $ hugday close 123456
  $ hugday close 123456 23456 45678
  $ hugday close 1111 --date 20090101

Config file
-----------

The 'hugday' tool is using '~/.hugday_config' as a file to store data.
This file also contains the users MOIN_ID or MOIN_SESSION token.

vim:textwidth=72