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

Issue 169380043: Code reorganization + docs.

Can't Edit
Can't Publish+Mail
Start Review
Created:
9 years, 5 months ago by frankban
Modified:
9 years, 5 months ago
Reviewers:
mp+241416, bac, rharding
Visibility:
Public.

Description

Code reorganization + docs. Reorganize the jenv related code in preparation of the bootstrap strategy change. Separate jenv handling from the environments.yaml file management in models. As a consequence of only supporting juju >= 1.18 we can now safely always retrieve the admin-secret from the jenv file. Also updated the HACKING docs to include a brief description of the project structure. Tests: `make check`. QA: use quickstart as usual. https://code.launchpad.net/~frankban/juju-quickstart/code-reorg/+merge/241416 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 10

Patch Set 2 : Code reorganization + docs. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+372 lines, -222 lines) Patch
M HACKING.rst View 2 chunks +55 lines, -1 line 0 comments Download
A [revision details] View 1 chunk +2 lines, -0 lines 0 comments Download
M quickstart/app.py View 3 chunks +10 lines, -21 lines 0 comments Download
M quickstart/manage.py View 4 chunks +3 lines, -15 lines 0 comments Download
M quickstart/models/envs.py View 3 chunks +1 line, -30 lines 0 comments Download
A quickstart/models/jenv.py View 1 chunk +71 lines, -0 lines 0 comments Download
M quickstart/serializers.py View 1 chunk +20 lines, -0 lines 0 comments Download
M quickstart/tests/helpers.py View 1 chunk +36 lines, -0 lines 0 comments Download
M quickstart/tests/models/test_envs.py View 2 chunks +0 lines, -76 lines 0 comments Download
A quickstart/tests/models/test_jenv.py View 1 chunk +110 lines, -0 lines 0 comments Download
M quickstart/tests/test_app.py View 1 chunk +16 lines, -18 lines 0 comments Download
M quickstart/tests/test_manage.py View 9 chunks +7 lines, -61 lines 0 comments Download
M quickstart/tests/test_serializers.py View 2 chunks +41 lines, -0 lines 0 comments Download

Messages

Total messages: 6
frankban
Please take a look.
9 years, 5 months ago (2014-11-11 14:26:26 UTC) #1
bac
LGTM. Will QA now. https://codereview.appspot.com/169380043/diff/1/HACKING.rst File HACKING.rst (right): https://codereview.appspot.com/169380043/diff/1/HACKING.rst#newcode78 HACKING.rst:78: A very nice introduction to ...
9 years, 5 months ago (2014-11-11 15:37:56 UTC) #2
rharding
Thanks for the update. I just have one forward looking question that doesn't directly effect ...
9 years, 5 months ago (2014-11-11 15:52:36 UTC) #3
bac
Had some QA oddities but it looks OK.
9 years, 5 months ago (2014-11-11 16:28:56 UTC) #4
frankban
Thanks for the reviews! https://codereview.appspot.com/169380043/diff/1/quickstart/app.py File quickstart/app.py (right): https://codereview.appspot.com/169380043/diff/1/quickstart/app.py#newcode263 quickstart/app.py:263: Parse the jenv file to ...
9 years, 5 months ago (2014-11-11 16:39:37 UTC) #5
frankban
9 years, 5 months ago (2014-11-11 16:41:31 UTC) #6
*** Submitted:

Code reorganization + docs.

Reorganize the jenv related code in preparation of the
bootstrap strategy change.

Separate jenv handling from the environments.yaml file
management in models.

As a consequence of only supporting juju >= 1.18 we
can now safely always retrieve the admin-secret from
the jenv file.

Also updated the HACKING docs to include a brief
description of the project structure.

Tests: `make check`.

QA: use quickstart as usual.

R=bac, rharding
CC=
https://codereview.appspot.com/169380043
Sign in to reply to this message.

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