Tools

Differences between revisions 6 and 14 (spanning 8 versions)
Revision 6 as of 2009-09-03 08:26:49
Size: 2035
Editor: port-87-193-165-87
Comment:
Revision 14 as of 2013-03-22 22:32:24
Size: 2078
Editor: c-71-233-3-152
Comment: Note python-libxml2 dependency.
Deletions are marked like this. Additions are marked like this.
Line 8: Line 8:
You can download it from [[https://edge.launchpad.net/~thekorn/+archive/ppa|Markus Korn PPA]] or get the branch with: You can download some older packaged versions of the tools from [[https://edge.launchpad.net/~thekorn/+archive/ppa|Markus Korn PPA]] or get the branch with:
Line 13: Line 13:
=== Official Package === You may also need to install python-libxml2 before using the tools.
{{{
    $ sudo apt-get install python-libxml2
}}}
Line 15: Line 18:
As from Ubuntu 9.04, HugDay-Tools are part of the ubuntu-qa-tools package, available at universe archive.

To install it just:
{{{
$ sudo apt-get install ubuntu-qa-tools
}}}
Line 23: Line 20:
* get url of latest hugday:  * get url of latest hugday:
Line 27: Line 24:
* If you would like to run any of the following commands it is essential to run  * If you would like to run any of the following commands it is essential to run
Line 33: Line 30:
* get list of all task for current hugday:  * get list of all task for current hugday:
Line 40: Line 37:
be able to do so, the tool needs the users MOIN ID, run be able to do so, the tool needs the users MOIN ID, so first you need to log in to the
[[http://wiki.ubuntu.com|Ubuntu Wiki]] and then
run:
Line 46: Line 44:
after marking a task as DONE. Please only use your Launchpad Id so you can be listed at the 5-a-day automatically as well and COOKIE is the cookie.sqlite or
cookie.txt of your mozilla browser profile. Please note that you might have to close your browser while running the command above as the cookie.sqlite can only be accessed by one process at the time.
after marking a task as DONE. Please only use your Launchpad Id so you can be listed at the 5-a-day automatically as well and COOKIE is the cookies.sqlite or
cookie.txt of your mozilla browser profile.

'''NOTE''': you need to close your browser while runnin
g the command above as the cookie.sqlite can only be accessed by one process at the same time.

Ubuntu HugDay-Tools are a set utilities to simplify the managing of the UbuntuBugDay, it so far allows you to:

  • get a list of ubuntu hugdays
  • get a list of tasks for a hugday
  • mark tasks as DONE

Download it

You can download some older packaged versions of the tools from Markus Korn PPA or get the branch with:

    $ bzr branch lp:hugday-tools

You may also need to install python-libxml2 before using the tools.

    $ sudo apt-get install python-libxml2

HowTo use it

  • get url of latest hugday:

    $ hugday current
  • If you would like to run any of the following commands it is essential to run

    $ hugday current --remember

By running this command know on which hugday you operate

  • get list of all task for current hugday:

    $ hugday list
    $ hugday list --filter open  (get list of all open tasks)

So far the hugday tool did not change any content of a wiki page, to be able to do so, the tool needs the users MOIN ID, so first you need to log in to the Ubuntu Wiki and then run:

    $ hugday init --user LAUNCHPAD_ID --cookie PATH/TO/MOZILLA/COOKIE

Where LAUNCHPAD_ID is the name which will be shown in the 'triager' column after marking a task as DONE. Please only use your Launchpad Id so you can be listed at the 5-a-day automatically as well and COOKIE is the cookies.sqlite or cookie.txt of your mozilla browser profile.

NOTE: you need to close your browser while running the command above as the cookie.sqlite can only be accessed by one process at the same time.

If you are not using a mozilla based browser you can also search for the MOIN_ID or MOIN_SESSION in the cookie file of your browser and run

    $ hugday init --user LAUNCHPAD_ID --wiki-id (MOIN_ID or MOIN_SESSION)

Now marking tasks as DONE by you is as simple as running:

    $ hugday close 123456 23456 3456 456

For more information see hugday --help

UbuntuBugDay/Tools (last edited 2013-03-22 22:32:24 by c-71-233-3-152)