Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(8478)

Issue 14545044: Introduce local GUI releases.

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 6 months ago by frankban
Modified:
10 years, 6 months ago
Reviewers:
matthew.scott, gary.poster, mp+189896
Visibility:
Public.

Description

Introduce local GUI releases. Implemented the new "local" juju-gui-source option. By default the GUI release is now retrieved from the charm itself, so that in the deployment process the charm can avoid connecting to Launchpad. This should result in the charm being able to be deployed behind a firewall without the traditional workarounds. Note that this is not yet demonstrated and must be QAed in a real firewalled environment. The process tries is like the following: - if juju-gui-source is "local", the last tarball in the releases dir is installed; - if juju-gui-source is a stable or development version, the charm checks if that version is present in the local repository before downloading it from Launchpad. - the rest of the options should still work as usual (but some QA could help, e.g. deploying from a branch). Also updated the charm documentation and added some missing tests. Tests: `make unittest` from the branch root (I am currently running the functional tests). QA (assuming 0.10.1 is the latest GUI release): - `juju bootstrap --debug`; - `make deploy`; - check the logs: no PPAs are used, the local release is installed; - `juju set juju-gui juju-gui-source=0.10.0`; - check the logs: the release is downloaded from Launchpad; - `juju set juju-gui juju-gui-source=0.10.1`; - check the logs: the charm successfully find the 0.10.1 release in the local repository and avoids downloading it from Launchpad. - keep trying to break the charm in all the ways you can imagine... Thank you. https://code.launchpad.net/~frankban/charms/precise/juju-gui/local-releases/+merge/189896 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 35

Patch Set 2 : Introduce local GUI releases. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+415 lines, -65 lines) Patch
M HACKING.md View 1 chunk +14 lines, -0 lines 0 comments Download
M README.md View 3 chunks +36 lines, -5 lines 0 comments Download
A [revision details] View 1 1 chunk +2 lines, -0 lines 0 comments Download
M config.yaml View 1 1 chunk +21 lines, -13 lines 0 comments Download
M hooks/utils.py View 1 11 chunks +91 lines, -22 lines 0 comments Download
A releases/juju-gui-0.10.1.tgz View 0 chunks +-1 lines, --1 lines 0 comments Download
M revision View 1 chunk +1 line, -1 line 0 comments Download
M tests/20-functional.test View 5 chunks +22 lines, -11 lines 0 comments Download
M tests/test_utils.py View 1 8 chunks +229 lines, -14 lines 0 comments Download

Messages

Total messages: 5
frankban
Please take a look.
10 years, 6 months ago (2013-10-08 15:52:04 UTC) #1
matthew.scott
LGTM, QA okay.
10 years, 6 months ago (2013-10-08 18:13:45 UTC) #2
gary.poster
LGTM with many trivials and one slightly-more-than-trivial-but-not-much. Relying on Makyo's QA. Great, thank you! Gary ...
10 years, 6 months ago (2013-10-08 18:29:31 UTC) #3
frankban
*** Submitted: Introduce local GUI releases. Implemented the new "local" juju-gui-source option. By default the ...
10 years, 6 months ago (2013-10-09 09:25:34 UTC) #4
frankban
10 years, 6 months ago (2013-10-09 09:30:01 UTC) #5
Thank you both for the reviews!
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b