wishlist - c-c-s should be able to redo the "submit to C3" part via command line switch
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Next Generation Checkbox (CLI) |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
At the end of a test run via canonical-
However, this could fail for any number of reasons, including screwed up networking after testing, transient network issues, or who knows what.
We already have checkbox-
It would be awesome if in a future release I could do this:
canonical-
with --hwid only being required if there's none specified in the sru section of the conf file.
OR perhaps simply re-running the routine that runs at the end of a testing run that prompts the user "Do you want to submit results [y, n]?"
Changed in checkbox-ng: | |
importance: | Undecided → Wishlist |
no longer affects: | checkbox |
Changed in checkbox-ng: | |
status: | Triaged → Fix Released |
A workaround I can suggest is using curl; it's about as easy as the sample you posted:
curl -v -F <email address hidden> -H "X-HARDWARE-ID: your-secure-id" https:/ /certification. canonical. com/submissions /submit/
wrapping this in c-c-s has the advantage of being transparent if we ever change the way to submit to c3. But as-is, a canonical- certification- submit tool would be more easily implemented as a shell script wrapping curl (it'd be about 5 lines heh).