Merge lp:~sylvain-pineau/checkbox/whitelist_ordering_with_job_cache into lp:checkbox
Proposed by
Sylvain Pineau
Status: | Merged |
---|---|
Merged at revision: | 1255 |
Proposed branch: | lp:~sylvain-pineau/checkbox/whitelist_ordering_with_job_cache |
Merge into: | lp:checkbox |
Diff against target: |
169 lines (+51/-11) 4 files modified
checkbox/job.py (+2/-2) checkbox/message.py (+17/-1) checkbox/user_interface.py (+2/-2) plugins/jobs_info.py (+30/-6) |
To merge this branch: | bzr merge lp:~sylvain-pineau/checkbox/whitelist_ordering_with_job_cache |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Marc Tardif (community) | Approve | ||
Sylvain Pineau (community) | Needs Resubmitting | ||
Review via email:
|
Description of the change
This branch brings two new features. A JobStore cache mechanism (thanks to Daniel Manrique) but entirely handled in message.py and the whitelist ordering proposal V2.0 (let's consider lp:~oem-qa/checkbox/patch_selection_dialog_sooner_and_whitelist_ordering as my first attempt).
This time, dependency checking is performed automatically and dependency jobs run in the whitelist order.
If errors are detected in the whitelist file or in jobs properties (doubled values, badly ordered dependencies, dependencies not found) they are all logged into the checkbox log file as warnings.
To post a comment you must log in.
The ordering is now performed in plugins/ jobs_info. py, much better.
Dependencies are ordered thanks to the JobStore.add call.
The ordering itself now relies on a simple cmp call, thanks cr3.