Merge lp:~sergiusens/snapcraft/1510160 into lp:~snappy-dev/snapcraft/core
| Status: | Merged | ||||
|---|---|---|---|---|---|
| Approved by: | Sergio Schvezov on 2015-10-26 | ||||
| Approved revision: | 252 | ||||
| Merged at revision: | 253 | ||||
| Proposed branch: | lp:~sergiusens/snapcraft/1510160 | ||||
| Merge into: | lp:~snappy-dev/snapcraft/core | ||||
| Diff against target: |
90 lines (+44/-0) 4 files modified
integration-tests/units/jobs.pxu (+6/-0) snapcraft/cmds.py (+10/-0) snapcraft/main.py (+6/-0) snapcraft/tests/test_cmds.py (+22/-0) |
||||
| To merge this branch: | bzr merge lp:~sergiusens/snapcraft/1510160 | ||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Leo Arias | Approve on 2015-10-26 | ||
| John Lenton | 2015-10-26 | Approve on 2015-10-26 | |
|
Review via email:
|
|||
Commit Message
Add list-plugins
| Leo Arias (elopio) wrote : | # |
The only problem I see is that when you add a new plugin, you will have to change two tests. +1 anyway as that might be a good thing.
I also have a question, what happens if somebody wants to name the plugin my_plugin, with underscore instead of a dash?
| Sergio Schvezov (sergiusens) wrote : | # |
> The only problem I see is that when you add a new plugin, you will have to
> change two tests. +1 anyway as that might be a good thing.
This would also break if there is another package that puts stuff here, very dodgy, but possible. I prefer the tight control in some aspects. In the end, 'list-plugins' could also just be a fixed list :-P
> I also have a question, what happens if somebody wants to name the plugin
> my_plugin, with underscore instead of a dash?
It is my question too, we would just need some tight control here. This is the inherited design. We can eventually grab the name from an attribute inside the module.


LGTM! :)