Merge lp:~oem-qa/checkbox-editor/784583 into lp:checkbox-editor
Proposed by
Sylvain Pineau
Status: | Merged |
---|---|
Approved by: | Javier Collado |
Approved revision: | 134 |
Merged at revision: | 133 |
Proposed branch: | lp:~oem-qa/checkbox-editor/784583 |
Merge into: | lp:checkbox-editor |
Diff against target: |
52 lines (+15/-3) 3 files modified
checkbox_editor/editor.py (+4/-1) checkbox_editor/model.py (+4/-0) checkbox_editor/whitelist.py (+7/-2) |
To merge this branch: | bzr merge lp:~oem-qa/checkbox-editor/784583 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Javier Collado (community) | Approve | ||
Review via email: mp+69260@code.launchpad.net |
Description of the change
Add .* suffix in whitelist parameter/files for every remote* jobs (LP #784583)
To post a comment you must log in.
@Sylvain
Thanks for this merge proposal. I think that the assumption that every remote job will generate children job names that start with the same prefix is a safe one (at least for checkbox-oem).
There is one issue with the code. The text that is displayed in the whitelist view is escaped using re.escape so any string that ends with '.*' is saved as '\.\*' which is not what you're trying to do.
I'll think about a way to fix this while keeping the whitelist view as friendly as possible (probably regular expression patterns shouldn't be displayed there) before you come back from vacation so this is just a reminder for myself.