Merge lp://qastaging/~frankban/juju-quickstart/bundle-urls into lp://qastaging/juju-quickstart
Status: | Merged | ||||||||
---|---|---|---|---|---|---|---|---|---|
Merged at revision: | 59 | ||||||||
Proposed branch: | lp://qastaging/~frankban/juju-quickstart/bundle-urls | ||||||||
Merge into: | lp://qastaging/juju-quickstart | ||||||||
Diff against target: |
440 lines (+226/-47) 7 files modified
README.rst (+2/-2) quickstart/__init__.py (+24/-1) quickstart/manage.py (+51/-25) quickstart/settings.py (+4/-1) quickstart/tests/test_manage.py (+23/-0) quickstart/tests/test_utils.py (+103/-16) quickstart/utils.py (+19/-2) |
||||||||
To merge this branch: | bzr merge lp://qastaging/~frankban/juju-quickstart/bundle-urls | ||||||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Juju GUI Hackers | Pending | ||
Review via email: mp+211057@code.qastaging.launchpad.net |
Description of the change
Improve bundle URLs support.
Add support for promulgated bundle short names.
Add support for jujucharms bundle URLs.
Improve help messages.
Tests: `make check`.
QA:
Run `.venv/bin/python juju-quickstart -h`
and please check the spelling of the whole
help message. Also ensure it is nicely
printed on a small terminal (e.g. 80x24).
Now let's check bundle errors: all the commands
below should return a pertinent error message:
.venv/bin/python juju-quickstart bundle:
.venv/bin/python juju-quickstart https:/
.venv/bin/python juju-quickstart https:/
.venv/bin/python juju-quickstart https:/
.venv/bin/python juju-quickstart bundle:
.venv/bin/python juju-quickstart bundle:
Deploy bundles, destroy the environment after each command.
Deploy the promulgated mediawiki single bundle:
.venv/bin/python juju-quickstart bundle:
Deploy the mediawiki scalable bundle:
.venv/bin/python juju-quickstart bundle:
Deploy a bundle using its jujucharms URLs:
.venv/bin/python juju-quickstart https:/
Deploy a bundle using direct HTTPS:
.venv/bin/python juju-quickstart https:/
Reviewers: mp+211057_ code.launchpad. net,
Message:
Please take a look.
Description:
Improve bundle URLs support.
Add support for promulgated bundle short names.
Add support for jujucharms bundle URLs.
Improve help messages.
Tests: `make check`.
QA:
Run `.venv/bin/python juju-quickstart -h`
and please check the spelling of the whole
help message. Also ensure it is nicely
printed on a small terminal (e.g. 80x24).
Now let's check bundle errors: all the commands
below should return a pertinent error message:
.venv/bin/python juju-quickstart bundle: /jujucharms. com/bundle/ mediawiki/ single/ wtf /jujucharms. com/bundle/ mediawiki/ double /jujucharms. com/charms/ mediawiki/ single mediawiki/ 42/single ~frankban/ mediawiki/ single
.venv/bin/python juju-quickstart
https:/
.venv/bin/python juju-quickstart
https:/
.venv/bin/python juju-quickstart
https:/
.venv/bin/python juju-quickstart bundle:
.venv/bin/python juju-quickstart bundle:
Deploy bundles, destroy the environment after each command.
Deploy the promulgated mediawiki single bundle: ~charmers/ mediawiki/ 6/single
.venv/bin/python juju-quickstart bundle:
Deploy the mediawiki scalable bundle: mediawiki/ scalable
.venv/bin/python juju-quickstart bundle:
Deploy a bundle using its jujucharms URLs: /jujucharms. com/bundle/ ~bac/charmworld -demo/charmworl d-minimal/
.venv/bin/python juju-quickstart
https:/
Deploy a bundle using direct HTTPS: /raw.github. com/castrojo/ mongodb- bundle/ master/ bundles. yaml
.venv/bin/python juju-quickstart
https:/
https:/ /code.launchpad .net/~frankban/ juju-quickstart /bundle- urls/+merge/ 211057
(do not edit description out of merge proposal)
Please review this at https:/ /codereview. appspot. com/75830045/
Affected files (+229, -46 lines): __init_ _.py manage. py settings. py tests/test_ manage. py tests/test_ utils.py
M README.rst
A [revision details]
M quickstart/
M quickstart/
M quickstart/
M quickstart/
M quickstart/
M quickstart/utils.py