Merge ~jocave/checkbox-ng:save-rejected-jobs-list into checkbox-ng:master
Status: | Merged |
---|---|
Approved by: | Jonathan Cave |
Approved revision: | 7d0836025eb67828bf7c5002537c241c6e998e3f |
Merged at revision: | 7249549b3e0931f0cbb977bc452287604342f809 |
Proposed branch: | ~jocave/checkbox-ng:save-rejected-jobs-list |
Merge into: | checkbox-ng:master |
Diff against target: |
66 lines (+24/-3) 3 files modified
plainbox/impl/providers/exporters/data/checkbox.json (+7/-0) plainbox/impl/session/assistant.py (+8/-3) plainbox/impl/session/state.py (+9/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Sylvain Pineau (community) | Approve | ||
Jeff Lane | Approve | ||
Sheila Miguez (community) | Approve | ||
Review via email: mp+375095@code.launchpad.net |
Description of the change
This proposes that the list of jobs rejected by the user is stored as a property of the session meta data and is included in the submission json directly. This seems like the simplest approach and makes it easy for the information to parsed by c3 and displayed directly in the private site submission pages.
Another option may have been to include the job list as some type of standalone attachment (a text file for example) that is include in the tarball. This would be easier for human to read if their preferred method of checking a submission is to download the tarball and look at the contents.
Tested that the json entries are correct when run with remote and local invocations.
lgtm