add checkbox submission reference
Bug #379393 reported by
Martin Pitt
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apport (Ubuntu) |
Invalid
|
Wishlist
|
Martin Pitt | ||
checkbox (Ubuntu) |
Fix Released
|
Medium
|
David Murphy |
Bug Description
Binary package hint: apport
Apport bugs should include a reference to the hw database, as currently submitted by checkbox.
Questions:
- Where to get the submission ID from?
- How to link a bug report to a hwdb entry? (If that's not possible, we'll just include the verbatim ID into the description field)
Changed in apport (Ubuntu): | |
status: | New → Incomplete |
Changed in checkbox (Ubuntu): | |
assignee: | nobody → Dave Murphy (schwuk) |
milestone: | none → karmic-alpha-3 |
Changed in checkbox (Ubuntu): | |
status: | Triaged → Fix Released |
Changed in apport (Ubuntu): | |
assignee: | nobody → Martin Pitt (pitti) |
importance: | Undecided → Wishlist |
status: | Incomplete → In Progress |
To post a comment you must log in.
Abel writes:
-------- 8< ------------
Finally, Launchpad is able to link bugs and hardware profiles via the LP webservice API.
If bug is a launchpadlib object representing a bug, and if hwsubmission is the launchpadlib representation of a hardware report in Launchpad, call
bug. linkHWSubmissio n(hwsubmission)
to link the bag und the hardware report.
You can create the hwsubmission object by calling
hwsubmission = lp.load('https:/ /api.edge. launchpad. net/beta/ +hwdb/+ submission/ %s' % submission_key)
where submission_key is the unique ID provided by checkbox in the field "field. submission_ key" when it uploads the hardware report via https:/ /launchpad. net/+hwdb/ +submit .
So, apport can now create these links between bugs and and hardware reports -- if it knows the submission_key.
IIRC the problem remains that checkbox does not store at present submission_key on the user's machine.
----------------- 8< ------- ------- ------