Merge lp:~evarlast/charms/precise/juju-gui/hacking-note into lp:~juju-gui/charms/trusty/juju-gui/trunk

Proposed by Jay R. Wren
Status: Merged
Merged at revision: 186
Proposed branch: lp:~evarlast/charms/precise/juju-gui/hacking-note
Merge into: lp:~juju-gui/charms/trusty/juju-gui/trunk
Diff against target: 53 lines (+27/-1)
2 files modified
HACKING.md (+26/-0)
hooks/utils.py (+1/-1)
To merge this branch: bzr merge lp:~evarlast/charms/precise/juju-gui/hacking-note
Reviewer Review Type Date Requested Status
Juju GUI Hackers Pending
Review via email: mp+226194@code.launchpad.net

Description of the change

update HACKING.md

note that ppa stable is required
  New devs might assume that ppa:juju/devel subsumes ppa:juju/stable.
  Note that it does not.

add Proposing Branches section to document use of lbox

https://codereview.appspot.com/107690044/

To post a comment you must log in.
Revision history for this message
Jay R. Wren (evarlast) wrote :

Reviewers: mp+226194_code.launchpad.net,

Message:
Please take a look.

Description:
update HACKING.md

note that ppa stable is required
   New devs might assume that ppa:juju/devel subsumes ppa:juju/stable.
   Note that it does not.

add Proposing Branches section to document use of lbox

https://code.launchpad.net/~evarlast/charms/precise/juju-gui/hacking-note/+merge/226194

(do not edit description out of merge proposal)

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

Affected files (+29, -1 lines):
   M HACKING.md
   A [revision details]
   M hooks/utils.py

Index: HACKING.md
=== modified file 'HACKING.md'
--- HACKING.md 2014-04-22 10:28:39 +0000
+++ HACKING.md 2014-07-09 18:38:56 +0000
@@ -42,6 +42,8 @@
      sudo apt-get update
      sudo apt-get install charm-tools

+Note that **ppa:juju/devel does NOT subsume ppa:juju/stable. You must add
ppa:juju/stable**.
+
  Before being able to run the suite, test requirements need to be installed
  running the command:

@@ -257,3 +259,27 @@
  following in the Juju GUI machine:

      service guiserver restart
+
+## Proposing Branches ##
+
+We use [lbox](http://launchpad.net/lbox) to propose branches for review
+and submit them to the trunk. Gustavo Niemeyer has
+[a helpful
blogpost](http://blog.labix.org/2011/11/17/launchpad-rietveld-happycodereviews)
+about this tool.
+
+To install lbox make sure you GOPATH is set and run go get
launchpad.net/lbox.
+
+On first run lbox will attempt to launch sensible-browser or failing that
+$BROWSER to obtain oauth credentials to launchpad. This is stored to
+$HOME/.lpad_oath . You may want to chmod 0600 this file if your umask is
more
+open by default.
+
+Next, to post to https://codereview.appspot.com, your google credentials
are
+requested. This uses https://www.google.com/accounts/ClientLogin (You don't
+have to worry about plain text password over internet.) Cookies and oauth
+credentials get stored at $HOME/.goetveld_codereview.appspot.com . This
time
+the file should default to mode 0600, but you can double check for your own
+security sanity.
+
+To post a review, bzr push to
lp:~YOURNAME/charms/trusty/juju-gui/BRANCHNAME and
+run lbox propose.

Index: [revision details]
=== added file '[revision details]'
--- [revision details] 2012-01-01 00:00:00 +0000
+++ [revision details] 2012-01-01 00:00:00 +0000
@@ -0,0 +1,2 @@
+Old revision: <email address hidden>
+New revision: <email address hidden>

Index: hooks/utils.py
=== modified file 'hooks/utils.py'
--- hooks/utils.py 2014-04-15 09:38:31 +0000
+++ hooks/utils.py 2014-07-08 15:52:13 +0000
@@ -747,7 +747,7 @@
              'openssl', 'req', '-new', '-newkey', 'rsa:4096',
              '-days', '365', '-nodes', '-x509', '-subj',
              # These are arbitrary test values for the certificate.
- '/C=GB/ST=Juju/L=GUI/O=Ubuntu/CN=juju.ubuntu.com',
+ '/C=GB/ST=Juju/L=GUI/O=Ubuntu/CN=your-jujugui.local',
              '-keyout', key_path, '-out', crt_path))
      # Generate the pem file.
      pem_path = os.path.join(ssl_cert_path, JUJU_PEM)

Revision history for this message
Richard Harding (rharding) wrote :

LGTM thanks for this. Feel free to submit it.

https://codereview.appspot.com/107690044/

Revision history for this message
Jay R. Wren (evarlast) wrote :

*** Submitted:

update HACKING.md

note that ppa stable is required
   New devs might assume that ppa:juju/devel subsumes ppa:juju/stable.
   Note that it does not.

add Proposing Branches section to document use of lbox

R=rharding
CC=
https://codereview.appspot.com/107690044

https://codereview.appspot.com/107690044/

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'HACKING.md'
2--- HACKING.md 2014-04-22 10:28:39 +0000
3+++ HACKING.md 2014-07-09 18:43:08 +0000
4@@ -42,6 +42,8 @@
5 sudo apt-get update
6 sudo apt-get install charm-tools
7
8+Note that **ppa:juju/devel does NOT subsume ppa:juju/stable. You must add ppa:juju/stable**.
9+
10 Before being able to run the suite, test requirements need to be installed
11 running the command:
12
13@@ -257,3 +259,27 @@
14 following in the Juju GUI machine:
15
16 service guiserver restart
17+
18+## Proposing Branches ##
19+
20+We use [lbox](http://launchpad.net/lbox) to propose branches for review
21+and submit them to the trunk. Gustavo Niemeyer has
22+[a helpful blogpost](http://blog.labix.org/2011/11/17/launchpad-rietveld-happycodereviews)
23+about this tool.
24+
25+To install lbox make sure you GOPATH is set and run go get launchpad.net/lbox.
26+
27+On first run lbox will attempt to launch sensible-browser or failing that
28+$BROWSER to obtain oauth credentials to launchpad. This is stored to
29+$HOME/.lpad_oath . You may want to chmod 0600 this file if your umask is more
30+open by default.
31+
32+Next, to post to https://codereview.appspot.com, your google credentials are
33+requested. This uses https://www.google.com/accounts/ClientLogin (You don't
34+have to worry about plain text password over internet.) Cookies and oauth
35+credentials get stored at $HOME/.goetveld_codereview.appspot.com . This time
36+the file should default to mode 0600, but you can double check for your own
37+security sanity.
38+
39+To post a review, bzr push to lp:~YOURNAME/charms/trusty/juju-gui/BRANCHNAME and
40+run lbox propose.
41
42=== modified file 'hooks/utils.py'
43--- hooks/utils.py 2014-04-15 09:38:31 +0000
44+++ hooks/utils.py 2014-07-09 18:43:08 +0000
45@@ -747,7 +747,7 @@
46 'openssl', 'req', '-new', '-newkey', 'rsa:4096',
47 '-days', '365', '-nodes', '-x509', '-subj',
48 # These are arbitrary test values for the certificate.
49- '/C=GB/ST=Juju/L=GUI/O=Ubuntu/CN=juju.ubuntu.com',
50+ '/C=GB/ST=Juju/L=GUI/O=Ubuntu/CN=your-jujugui.local',
51 '-keyout', key_path, '-out', crt_path))
52 # Generate the pem file.
53 pem_path = os.path.join(ssl_cert_path, JUJU_PEM)

Subscribers

People subscribed via source and target branches

to all changes: