Merge lp:~cr3/checkbox-editor/attachments into lp:checkbox-editor
Status: | Merged |
---|---|
Approved by: | Javier Collado |
Approved revision: | 149 |
Merged at revision: | 148 |
Proposed branch: | lp:~cr3/checkbox-editor/attachments |
Merge into: | lp:checkbox-editor |
Diff against target: |
251 lines (+95/-26) 7 files modified
README (+21/-0) checkbox_editor/editor.py (+2/-1) checkbox_editor/glade/preferences.glade (+23/-2) checkbox_editor/model.py (+25/-13) checkbox_editor/preferences.py (+4/-2) checkbox_editor/whitelist.py (+19/-8) templates/checkbox/data/.checkbox-editor.cfg.tmpl (+1/-0) |
To merge this branch: | bzr merge lp:~cr3/checkbox-editor/attachments |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Javier Collado (community) | Approve | ||
Marc Tardif (community) | Needs Resubmitting | ||
Review via email: mp+117609@code.launchpad.net |
Description of the change
To test these changes, I created a whitelist using checkbox-editor without the attachments_
2c2
< # Date: 2012-08-01 06:34:01
---
> # Date: 2012-08-01 06:34:23
21a22,42
> \_\_info\_\_
> codecs\_attachment
> cpuinfo\_attachment
> dmesg\_attachment
> dmi\_attachment
> dmidecode\
> efi\_attachment
> lspci\_attachment
> lspci\_
> lsusb\_attachment
> meminfo\_attachment
> modprobe\
> modules\_attachment
> sysctl\_attachment
> sysfs\_attachment
> udev\_attachment
> gcov\_attachment
> lsmod\_attachment
> acpi\_sleep\
> installer\
> installer\
Looks good to me!
Looking at the merge proposal, it's not clear to me why it's needed to check 'depends' and 'name' fields to whitelist jobs based on the plugin type like this:
if ('depends' not in description get('plugin' ) == plugin):
and '/' not in description['name']
and description.
Please could you add a brief explanation as a comment to the code for future reference?