Merge lp:~niedbalski/juju-deployer/add-refspecs into lp:juju-deployer
| Status: | Merged |
|---|---|
| Merged at revision: | 164 |
| Proposed branch: | lp:~niedbalski/juju-deployer/add-refspecs |
| Merge into: | lp:juju-deployer |
| Diff against target: |
128 lines (+59/-5) 3 files modified
deployer/charm.py (+9/-3) deployer/tests/test_charm.py (+17/-0) deployer/vcs.py (+33/-2) |
| To merge this branch: | bzr merge lp:~niedbalski/juju-deployer/add-refspecs |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Tim Van Steenburgh | 2016-03-02 | Approve on 2016-03-02 | |
|
Review via email:
|
|||
Description of the Change
Dear Maintainer,
This change extends the VCS class for being able to handle extended options for a given branch. Extended options are passed as query string arguments following the branch name. As an example:
$ cat configs/
refspec:
series: trusty
services:
ceilometer:
branch: https:/
On this case the #changeref parameter is used. Having extended options
allows to implement more fine grained VCS operations such as fetching a special change reference.
On this patch I also propose to extend the branch method of the Git base class in order to fetch any given changeref.
A Test and a sample config are also part of the change set.
Thanks.
- 167. By Jorge Niedbalski on 2016-03-02
-
CHanged refspec to changeref
- 168. By Jorge Niedbalski on 2016-03-02
-
Added git.launchpad.net as well

LGTM