Merge lp:~brendan-donegan/lpltk/lp-file-bug-lpltk into lp:lpltk
| Status: | Merged |
|---|---|
| Merged at revision: | 181 |
| Proposed branch: | lp:~brendan-donegan/lpltk/lp-file-bug-lpltk |
| Merge into: | lp:lpltk |
| Diff against target: |
74 lines (+50/-1) 3 files modified
AUTHORS (+1/-0) lpltk/LaunchpadService.py (+5/-1) scripts/lp-file-bug (+44/-0) |
| To merge this branch: | bzr merge lp:~brendan-donegan/lpltk/lp-file-bug-lpltk |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Bryce Harrington | code | 2012-09-19 | Approve on 2012-09-19 |
|
Review via email:
|
|||
Description of the Change
Add lp-file-bug which is a simple script which takes a bug title, project name (and possibly package name) and gets a description from the users preferred editor, then proceeds to file a bug in Launchpad without any messing around with browsers - finally the bug url is dumped back to the user for later reference.
A small tweak was made to LaunchpadService to support the fact that it should be possible to file a bug *only* on a project, not necessarily a package in a project. This involved checking for the presence of the 'package' parameter and only tacking on '+source/<package>' if it is present. Hopefully this maintains compatibility with existing scripts.
| Brendan Donegan (brendan-donegan) wrote : | # |
| Bryce Harrington (bryce) wrote : | # |
Looks good, and yes the script can be added to setup.py. I will take care of that for you.

Oh, a question - can I add this to scripts in setup.py?