Merge pdbq:add-pkg-bug into pdbq:main
Status: | Merged |
---|---|
Merge reported by: | Bryce Harrington |
Merged at revision: | 9c777bedc737472fca489ebc885358dfe3863397 |
Proposed branch: | pdbq:add-pkg-bug |
Merge into: | pdbq:main |
Diff against target: |
247 lines (+241/-0) 1 file modified
scripts/pkg-bug (+241/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Athos Ribeiro (community) | Approve | ||
Review via email: mp+408841@code.staging.launchpad.net |
Description of the change
This is a rough first cut at a cli script for filing bug reports.
This is able to file bugs against Ubuntu itself, but not yet against source packages. You should be able to test it like this:
pkg-bug --dry-run --debug --private -m "This is the description" create 'Private bug report'
Drop the --dry-run parameter to test it actually filing a real bug. You can go to your https:/
Note that all options have to come on the cli before the 'create' command. It'd be nice to have them either before or after but this will require more wrestling with argparse. But beyond that I'd love to have feedback on the cli interface, option names, etc.
There are some TODO's sprinkled around places where I plan further development. I intend to get most of those addressed before landing this.
There was an error fetching revisions from git servers. Please try again in a few minutes. If the problem persists, contact Launchpad support.
Thanks Bryce, this looks great!
I added a few nitpick comments inline. Feel free to ignore as many as you want/need to before merging this :)