Created by Gary Poster on 2013-01-09 and last modified on 2013-01-09
Get this branch:
bzr branch lp:~gary/charms/precise/juju-gui/run-without-ppa
Only Gary Poster can upload to this branch. If you are Gary Poster please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Gary Poster

Recent revisions

23. By Gary Poster on 2013-01-09

increase the revision number

22. By Gary Poster on 2013-01-09

make it possible to start up the charm when you do not use the Juju PPA in environments.yaml.

21. By Nicola Larosa on 2013-01-04

Setup encrypted conn. to the API environment

Pass the same certificate and private key used by nginx to the
API environment, so that the websocket connection can use WSS.

R=frankban, gary.poster

20. By Francesco Banconi on 2013-01-03

Restore TLS in the charm

Now the charm is served using SSL again.

R=teknico, hazmat

19. By Francesco Banconi on 2012-12-22

Allow using an own SSL cert and private key.

Added two new config options, one for the certificate, one
for the private key. If they are both provided, they are used
by nginx, otherwise, a new certificate is automatically

Fixed a pre-existent bug: even if you can specify the
directory where to store the certificates, this path
was not used by nginx, because an hardcoded one was
present in the configuration file.

Improved how ssl options are handled in config-changes.
If the SSL path is changed using 'juju set', now that
change is reflected in the nginx config file, and the
service correctly restarted.

Added tests for the process of saving or generating SSL

Some code clean up.

Please note that all the SSL stuff is still

R=teknico, matthew.scott, gary.poster

18. By Francesco Banconi on 2012-12-20

Updated the charm to serve Juju GUI releases.

I had a pre-implementation call with Gary and
some really useful help from Brad.


Replaced the juju-gui-branch config option with a new juju-gui-source
one: here you can specify where to deploy the GUI from (stable, trunk, a
branch, a specific version of stable/trunk).

Added a bunch of functions in utils.py: they help parsing the
juju-gui-source option, retrieving the URL of a release, etc.

Added tests for the utility functions above.

Changed the fetch/build function in utils.py, so that now a release
tarball is always used to install the GUI. It can be downloaded from
Launchpad or created using "make distfile" from a juju-gui checkout.
Also reorganized the fetch/build code: separated each of the fetch/build
functions into two different functions (one for the GUI, one for the API).

Updated the install and the config-changed hooks to conform to the
new fetch/setup functions (mentioned above).

Updated the config-changed hook to reflect changes to the options,
install hook and utils.py.

Added one functional test specific to deploying from a branch.
The other tests now default to the latest stable release.

Created and uploaded Juju GUI trunk/stable releases.

Updated the stop hook: now the function in utils.py is called with the
argument it expects.

Overall code lint and clean up.

All those changes result in a big diff (~820 lines), sorry about that.

R=gary.poster, teknico

17. By Nicola Larosa on 2012-12-20

Serve the GUI assets over HTTPS

Generate and install a passphrase-less SSL certificate and private
key, and configure nginx to use it to serve the GUI via HTTPS.

R=gary.poster, benji

16. By Brad Crittenden on 2012-12-18

[r=gary, teknico, bug=1086507] Add config-changed hook. Move common code from install and start to utils.py.

15. By Gary Poster on 2012-12-17

Move markdown files to .md extension

The charm store needs the document file names to end with .md in order to process them as markdown.


14. By Gary Poster on 2012-12-17

Convert docs from ReST to Markdown

We discovered today that ReST is not actully supported by the charm store, and is not intended to be supported by the charm store or the GUI any time soon. Convert the docs to Markdown, so they render nicely.


Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.