Merge ~pieq/bugit/+git/qabro:fix-1883860-series-argument into bugit:master
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Pierre Equoy | ||||
Approved revision: | 5bc857020450190bd564235bfd0129d7b7f38735 | ||||
Merged at revision: | c4b8d23215f38fed2c0b3d66e43d2df741d074b7 | ||||
Proposed branch: | ~pieq/bugit/+git/qabro:fix-1883860-series-argument | ||||
Merge into: | bugit:master | ||||
Diff against target: |
69 lines (+17/-8) 2 files modified
qabro/__init__.py (+15/-6) qabro/ui.py (+2/-2) |
||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jonathan Cave (community) | Approve | ||
Review via email: mp+386801@code.launchpad.net |
Description of the change
See commit message for more info.
To test, one can build the snap using `snapcraft` command, install it with `--devmode` argument, and test:
$ qabro -h
usage: test.py [-h] [--fwts] [-a ASSIGNEE] [-p PROJECT] [-s SERIES] [-t TAGS]
optional arguments:
-h, --help show this help message and exit
--fwts Automatically files an issue in Launchpad for the firmware team
-a ASSIGNEE, --assignee ASSIGNEE
-p PROJECT, --project PROJECT
-s SERIES, --series SERIES
-t TAGS, --tags TAGS Tags (such as Platform tag) separated by spaces
Examples: `qabro --fwts -p somerville -t platform-tag-3` will automatically open a Launchpad issue in the somerville project for the FWTS team.`qabro -p myproject -s myseries -t "a b c"` will start a bug report for the myproject project under the myseries series with tags a, b and c.
$ qabro -s my-series
should pre-fill the Series text field with `my-series`.
Very minor usability point not entirely related to this MR! Otherwise looks good to me.