Merge lp:~sergiusens/snapcraft/mercury into lp:~snappy-dev/snapcraft/core
| Status: | Merged |
|---|---|
| Approved by: | Leo Arias on 2015-08-06 |
| Approved revision: | 128 |
| Merged at revision: | 128 |
| Proposed branch: | lp:~sergiusens/snapcraft/mercury |
| Merge into: | lp:~snappy-dev/snapcraft/core |
| Diff against target: |
221 lines (+126/-16) 7 files modified
debian/control (+2/-0) integration-tests/data/hg-branch/snapcraft.yaml (+6/-0) integration-tests/data/hg-head/snapcraft.yaml (+5/-0) integration-tests/data/hg-tag/snapcraft.yaml (+6/-0) integration-tests/units/jobs.pxu (+51/-0) snapcraft/__init__.py (+24/-0) snapcraft/tests/test_base_plugin.py (+32/-16) |
| To merge this branch: | bzr merge lp:~sergiusens/snapcraft/mercury |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Leo Arias | reviewed, tested | Approve on 2015-08-05 | |
| Michael Terry (community) | 2015-08-05 | Needs Fixing on 2015-08-05 | |
|
Review via email:
|
|||
Commit Message
Adding support for mercurial sources (includes debian/control dependency change).
| Sergio Schvezov (sergiusens) wrote : | # |
> Running ./runtests.sh reveals some pep8 failures.
Fixed.
> Also, you should expand the unit tests in snapcraft/
> for this.
I expanded the unit tests to be on par with git (which is only checking for tag + branch)
| Sergio Schvezov (sergiusens) wrote : | # |
El miércoles, 5 de agosto de 2015 15h'15:49 ART, Sergio Schvezov escribió:
>> Running ./runtests.sh reveals some pep8 failures.
>
> Fixed.
>
>> Also, you should expand the unit tests in
>> snapcraft/
>> for this.
>
> I expanded the unit tests to be on par with git (which is only
> checking for tag + branch)
The merge proposal should be now
--
Sent using Dekko from my Ubuntu device
| Leo Arias (elopio) wrote : | # |
Looks good. And all the code you added is covered by tests, so get yourself a smiley sticker.
| Leo Arias (elopio) wrote : | # |
oh wait, holding the top-approval. I think that the mercurial dependency should be added as a package dependency.
Also, if you don't mention it on the commit message you'll get a grumpy ogra. A grumpier ogra ;)
- 128. By Sergio Schvezov on 2015-08-06
-
Adding a runtime dep for mercurial


Running ./runtests.sh reveals some pep8 failures.
Also, you should expand the unit tests in snapcraft/ tests/test_ base_plugin. py for this.