Merge ~kissiel/plainbox:sa-selection-midway into plainbox:master
Proposed by
Maciej Kisielewski
Status: | Merged |
---|---|
Approved by: | Maciej Kisielewski |
Approved revision: | 5bce0dc4fbb1527a959a1cf1e0cf72cceb2c83d0 |
Merged at revision: | 1573939c6e69ce858b6788f4581d9fa2b73ee900 |
Proposed branch: | ~kissiel/plainbox:sa-selection-midway |
Merge into: | plainbox:master |
Diff against target: |
12 lines (+1/-0) 1 file modified
plainbox/impl/session/assistant.py (+1/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Sylvain Pineau (community) | Approve | ||
Review via email: mp+329445@code.launchpad.net |
Description of the change
SessionAssistant: allow sa.hand_pick_jobs in the main loop
This allows apps to re-apply selection patterns after some jobs were run,
thus generating new selection (list of strings matching ids).
Concrete mechanics:
start session;
call hand_pick_
run resource job that generates a new job that matches above pattern
(*NEW*) call hand_pick_jobs() again to apply the filter to the new state
run freshly instantiated jobs
profit!
To post a comment you must log in.
+1