Merge ~pieq/bugit/+git/qabro:1904847-new-sku-and-cid-cli-arguments into bugit:master
Status: | Merged |
---|---|
Approved by: | Pierre Equoy |
Approved revision: | 18e5655a38c0b7be20a28eb929c212ce57bc13f4 |
Merged at revision: | aa51cca0305ac089a7b4029a6446c055a179da0b |
Proposed branch: | ~pieq/bugit/+git/qabro:1904847-new-sku-and-cid-cli-arguments |
Merge into: | bugit:master |
Diff against target: |
220 lines (+64/-45) 7 files modified
CHANGELOG.md (+11/-1) patches/sosreport-apt-remove-user-pwd.patch (+1/-1) qabro/__init__.py (+11/-3) qabro/bug_assistant.py (+2/-32) qabro/ui.py (+5/-3) qabro/utils.py (+31/-2) snap/snapcraft.yaml (+3/-3) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
StanleyHuang | Approve | ||
Sylvain Pineau (community) | Approve | ||
Review via email: mp+402134@code.launchpad.net |
Description of the change
Description
===========
Allow QA Engineer to use the `--cid` and `--sku` (or -c and -k, respectively) arguments when invoking qabro to fill the CID and the SKU information.
If a CID is added this way, it is also added as a tag as per cwayne's suggestion [1].
This branch also fixes some stuff needed to be able to build qabro again (sosreport was updated to v4.1 in the repositories, and it broke patches and snapcraft recipe).
How it was tested
=================
Tested as an amd64 snap, running qabro with different arguments:
qabro
-> no CID, no SKU added in the bug description
qabro -c 202012-25387 -k MDN-DVT2-C1 -t "tag1 tag2"
-> CID added in the bug description as well as in the tags list (see below)
-> SKU added in the bug description
-> tags added: tag1, tag2, 202012-25387
[1] https:/
LGTM (good idea to also add them to the bug desc)