Tools
| Size: 1372 Comment:  |  ← Revision 14 as of 2013-03-22 22:32:24  ⇥ Size: 2078 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 12: | Line 12: | 
| You may also need to install python-libxml2 before using the tools. {{{ $ sudo apt-get install python-libxml2 }}} | |
| Line 14: | Line 20: | 
| * get url of latest hugday: | * get url of latest hugday: | 
| Line 18: | Line 24: | 
| * get list of all task for current hugday: | * 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: | 
| Line 25: | 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 27: | Line 40: | 
| $ hugday init --user USERNAME --cookie PATH/TO/MOZILLA/COOKIE | $ hugday init --user LAUNCHPAD_ID --cookie PATH/TO/MOZILLA/COOKIE | 
| Line 29: | Line 42: | 
| Where USERNAME is the name which will be shown in the 'triager' column after marking a task as DONE and COOKIE is the cookie.sql or cookie.txt of your mozilla browser profile. If you are not using a mozilla based browser you can also search for the MOIN_ID or | 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 | 
| Line 35: | Line 52: | 
| $ hugday init --user USERNAME --wiki-id (MOIN_ID or MOIN_SESSION) | $ hugday init --user LAUNCHPAD_ID --wiki-id (MOIN_ID or MOIN_SESSION) | 
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)