Merge lp:~frankban/juju-quickstart/prepare-for-pypi into lp:juju-quickstart

Proposed by Francesco Banconi
Status: Merged
Merged at revision: 49
Proposed branch: lp:~frankban/juju-quickstart/prepare-for-pypi
Merge into: lp:juju-quickstart
Diff against target: 81 lines (+33/-8)
3 files modified
Makefile (+5/-1)
README.rst (+27/-6)
setup.py (+1/-1)
To merge this branch: bzr merge lp:~frankban/juju-quickstart/prepare-for-pypi
Reviewer Review Type Date Requested Status
Juju GUI Hackers Pending
Review via email: mp+203770@code.launchpad.net

Description of the change

To post a comment you must log in.
Revision history for this message
Francesco Banconi (frankban) wrote :
Download full text (3.9 KiB)

Reviewers: mp+203770_code.launchpad.net,

Message:
Please take a look.

Description:
Update for PyPI release.

https://code.launchpad.net/~frankban/juju-quickstart/prepare-for-pypi/+merge/203770

(do not edit description out of merge proposal)

Please review this at https://codereview.appspot.com/51790045/

Affected files (+35, -8 lines):
   M Makefile
   M README.rst
   A [revision details]
   M setup.py

Index: Makefile
=== modified file 'Makefile'
--- Makefile 2013-11-14 12:20:44 +0000
+++ Makefile 2014-01-29 15:25:06 +0000
@@ -55,6 +55,7 @@
   @echo ' Juju environment by setting the JUJU_ENV environment variable,'
   @echo ' e.g.: "make run JUJU_ENV=ec2".'
   @echo 'make clean - Get rid of bytecode files, build and dist dirs, venv.'
+ @echo 'make release - Register and upload a release on PyPI.'

  install:
   $(PYTHON) setup.py install
@@ -63,6 +64,9 @@
  lint: setup
   @$(VENV)/bin/flake8 --show-source --exclude=$(VENV) ./quickstart

+release: check
+ $(PYTHON) setup.py register sdist upload
+
  run: setup
   $(VENV)/bin/python ./juju-quickstart --debug

@@ -77,4 +81,4 @@
       --with-coverage --cover-package=quickstart quickstart
   @rm .coverage

-.PHONY: all clean check help install lint run setup source sysdeps test
+.PHONY: all clean check help install lint release run setup source sysdeps
test

Index: README.rst
=== modified file 'README.rst'
--- README.rst 2013-11-06 15:21:19 +0000
+++ README.rst 2014-01-29 15:25:06 +0000
@@ -1,9 +1,30 @@
  Juju Quickstart
  ===============

-Juju Quickstart is a Juju plugin which allows for easily setting up a Juju
-environment in very few steps. The environment is bootstrapped and set up
so
-that it can be managed using a Web interface (the Juju GUI).
-
-Bundle deployments are also supported, and allow for setting up a complete
-topology of services in one simple command.
+Juju Quickstart is an opinionated command-line tool that quickly starts
Juju
+and the GUI, whether you've never installed Juju or you have an existing
Juju
+environment running.
+
+Features include the following:
+
+* New users are guided, as needed, to install Juju, set up SSH keys, and
+ configure it for first use.
+* Juju environments can be created and managed from a command line
interactive
+ session.
+* The Juju GUI is automatically installed, adding no additional machines
+ (installing on an existing state server when possible).
+* Bundles can be deployed, from local files, HTTP(S) URLs or the charm
store,
+ so that a complete topology of services can be set up in one simple
command.
+* Quickstart ends by opening the browser and automatically logging the user
+ into the GUI, to observe and manage the environment visually.
+* Users with a running Juju environment can run the quickstart command
again to
+ simply re-open the GUI without having to find the proper URL and
password.
+
+To install and start Juju Quickstart, run the following::
+
+ juju-quickstart [-i]
+
+Run ``juju-quickstart -h`` for a list of all the available options.
+
+Once Juju has been installed, the command can also be run as a juju plugin,
+without the hyphen (``juju quickstart``).

Index: [revision details]
=== ad...

Read more...

Revision history for this message
Gary Poster (gary) wrote :
Revision history for this message
Francesco Banconi (frankban) wrote :

*** Submitted:

Update for PyPI release.

R=gary.poster
CC=
https://codereview.appspot.com/51790045

https://codereview.appspot.com/51790045/

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'Makefile'
2--- Makefile 2013-11-14 12:20:44 +0000
3+++ Makefile 2014-01-29 15:26:13 +0000
4@@ -55,6 +55,7 @@
5 @echo ' Juju environment by setting the JUJU_ENV environment variable,'
6 @echo ' e.g.: "make run JUJU_ENV=ec2".'
7 @echo 'make clean - Get rid of bytecode files, build and dist dirs, venv.'
8+ @echo 'make release - Register and upload a release on PyPI.'
9
10 install:
11 $(PYTHON) setup.py install
12@@ -63,6 +64,9 @@
13 lint: setup
14 @$(VENV)/bin/flake8 --show-source --exclude=$(VENV) ./quickstart
15
16+release: check
17+ $(PYTHON) setup.py register sdist upload
18+
19 run: setup
20 $(VENV)/bin/python ./juju-quickstart --debug
21
22@@ -77,4 +81,4 @@
23 --with-coverage --cover-package=quickstart quickstart
24 @rm .coverage
25
26-.PHONY: all clean check help install lint run setup source sysdeps test
27+.PHONY: all clean check help install lint release run setup source sysdeps test
28
29=== modified file 'README.rst'
30--- README.rst 2013-11-06 15:21:19 +0000
31+++ README.rst 2014-01-29 15:26:13 +0000
32@@ -1,9 +1,30 @@
33 Juju Quickstart
34 ===============
35
36-Juju Quickstart is a Juju plugin which allows for easily setting up a Juju
37-environment in very few steps. The environment is bootstrapped and set up so
38-that it can be managed using a Web interface (the Juju GUI).
39-
40-Bundle deployments are also supported, and allow for setting up a complete
41-topology of services in one simple command.
42+Juju Quickstart is an opinionated command-line tool that quickly starts Juju
43+and the GUI, whether you've never installed Juju or you have an existing Juju
44+environment running.
45+
46+Features include the following:
47+
48+* New users are guided, as needed, to install Juju, set up SSH keys, and
49+ configure it for first use.
50+* Juju environments can be created and managed from a command line interactive
51+ session.
52+* The Juju GUI is automatically installed, adding no additional machines
53+ (installing on an existing state server when possible).
54+* Bundles can be deployed, from local files, HTTP(S) URLs or the charm store,
55+ so that a complete topology of services can be set up in one simple command.
56+* Quickstart ends by opening the browser and automatically logging the user
57+ into the GUI, to observe and manage the environment visually.
58+* Users with a running Juju environment can run the quickstart command again to
59+ simply re-open the GUI without having to find the proper URL and password.
60+
61+To install and start Juju Quickstart, run the following::
62+
63+ juju-quickstart [-i]
64+
65+Run ``juju-quickstart -h`` for a list of all the available options.
66+
67+Once Juju has been installed, the command can also be run as a juju plugin,
68+without the hyphen (``juju quickstart``).
69
70=== modified file 'setup.py'
71--- setup.py 2013-11-14 10:37:29 +0000
72+++ setup.py 2014-01-29 15:26:13 +0000
73@@ -64,7 +64,7 @@
74 install_requires=install_requires,
75 zip_safe=False,
76 classifiers=[
77- 'Development Status :: 3 - Alpha',
78+ 'Development Status :: 5 - Production/Stable',
79 'Environment :: Web Environment',
80 'Intended Audience :: System Administrators',
81 'License :: OSI Approved :: GNU Affero General Public License v3',

Subscribers

People subscribed via source and target branches