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.linkHWSubmission(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< --------------------


** Changed in: apport (Ubuntu)
       Status: Incomplete => Triaged

** Also affects: checkbox (Ubuntu)
   Importance: Undecided
       Status: New

-- 
add checkbox submission reference
https://bugs.launchpad.net/bugs/379393
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to