Merge lp://qastaging/~free.ekanayaka/landscape-charm/pull-python-2-in-install-hook into lp://qastaging/~landscape/landscape-charm/trunk
Status: | Merged |
---|---|
Approved by: | Free Ekanayaka |
Approved revision: | 352 |
Merged at revision: | 349 |
Proposed branch: | lp://qastaging/~free.ekanayaka/landscape-charm/pull-python-2-in-install-hook |
Merge into: | lp://qastaging/~landscape/landscape-charm/trunk |
Diff against target: |
780 lines (+227/-125) 13 files modified
Makefile (+2/-0) charmhelpers/core/hookenv.py (+31/-0) charmhelpers/core/host.py (+132/-56) charmhelpers/fetch/__init__.py (+9/-1) charmhelpers/fetch/bzrurl.py (+15/-29) charmhelpers/fetch/giturl.py (+20/-19) dev/ubuntu-deps (+3/-8) hooks/install (+1/-1) lib/apt.py (+4/-3) lib/tests/rootdir.py (+1/-1) lib/tests/test_apt.py (+4/-3) lib/tests/test_install.py (+3/-3) lib/tests/test_upgrade.py (+2/-1) |
To merge this branch: | bzr merge lp://qastaging/~free.ekanayaka/landscape-charm/pull-python-2-in-install-hook |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Данило Шеган (community) | Abstain | ||
Benji York (community) | Approve | ||
Chris Glass (community) | Approve | ||
🤖 Landscape Builder | test results | Approve | |
Review via email:
|
Commit message
This branch modifies the landscape-server charm minimally to get it
working on xenial units.
The change ports the install hook (and related tests) to python 3, so
we can install python 2 along with our regular dependencies.
Description of the change
This branch modifies the landscape-server charm minimally to get it
working on xenial units.
The change ports the install hook (and related tests) to python 3, so
we can install python 2 along with our regular dependencies.
I've tested this modified charm both with trusty and xenial targets
and it worked okay [0].
The diff is a bit large mainly because it contains a charmhelper upgrade,
the bare diff is here:
https:/
[0] we have no bundle for xenial yet but you can test it by using
something like this https:/
(replace placeholder values as appropriate)
Command: make ci-test /ci.lscape. net/job/ latch-test/ 4531/
Result: Fail
Revno: 349
Branch: lp:~free.ekanayaka/landscape-charm/pull-python-2-in-install-hook
Jenkins: https:/