Merge lp:~gary/juju-gui/moredocs into lp:juju-gui/experimental

Proposed by Gary Poster
Status: Merged
Merged at revision: 366
Proposed branch: lp:~gary/juju-gui/moredocs
Merge into: lp:juju-gui/experimental
Diff against target: 121 lines (+74/-30)
1 file modified
docs/process.rst (+74/-30)
To merge this branch: bzr merge lp:~gary/juju-gui/moredocs
Reviewer Review Type Date Requested Status
Juju GUI Hackers Pending
Review via email: mp+146492@code.launchpad.net

Description of the change

Document staging release problem workarounds

I encountered two problems working with the staging site and releases. These changes document the problems and the solutions I found.

https://codereview.appspot.com/7278054/

To post a comment you must log in.
Revision history for this message
Gary Poster (gary) wrote :

Reviewers: mp+146492_code.launchpad.net,

Message:
Please take a look.

Description:
Document staging release problem workarounds

I encountered two problems working with the staging site and releases.
These changes document the problems and the solutions I found.

https://code.launchpad.net/~gary/juju-gui/moredocs/+merge/146492

(do not edit description out of merge proposal)

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

Affected files:
   A [revision details]
   M docs/process.rst

lp:~gary/juju-gui/moredocs updated
367. By Gary Poster

reinstate some nice bits I inadertently stomped on

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

*** Submitted:

Document staging release problem workarounds

I encountered two problems working with the staging site and releases.
These changes document the problems and the solutions I found.

R=
CC=
https://codereview.appspot.com/7278054

https://codereview.appspot.com/7278054/

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'docs/process.rst'
2--- docs/process.rst 2013-02-01 17:34:34 +0000
3+++ docs/process.rst 2013-02-04 18:58:19 +0000
4@@ -176,21 +176,43 @@
5 - Also do the same checks after running the command ``NO_BZR=1 make debug``.
6 - For now, we will assume you would like to verify the release on the
7 Launchpad staging server. As we become more confident with this process,
8- this step may become unnecessary. In the branch, run ``FINAL=1 make
9- dist``. This will step you through signing the tarball, connecting to
10- Launchpad, and uploading the release.
11-
12- - If you have two-factor authentication enabled on Launchpad, the staging
13- server will ask for a one-time password: be sure to have your device
14- available. (If you are a Canonical collaborator, you may try and ask the
15- webops to turn off the two-factor authentication on your Launchpad staging
16- account, but it may not be possible anyway. Go to the ``#u1-as`` channel
17- on the Canonical IRC server and ask something like "webops, could you
18- disable 2FA on my staging account?")
19- - When Launchpad asks you what level of permissions to grant, assuming you
20- are running on your own computer that you manage securely, the easiest
21- thing to do is hopefully also reasonably safe: accept that the computer
22- may perform all actions, indefinitely.
23+ this step may become unnecessary.
24+
25+ - In the branch, run ``FINAL=1 make dist``. This will step you through
26+ signing the tarball, connecting to Launchpad, and uploading the release.
27+
28+ - If you have two-factor authentication enabled on Launchpad, the staging
29+ server will ask for a one-time password: be sure to have your device
30+ available. (If you are a Canonical collaborator, you may try and ask the
31+ webops to turn off the two-factor authentication on your Launchpad
32+ staging account, but it may not be possible anyway. Go to the ``#u1-as``
33+ channel on the Canonical IRC server and ask something like "webops,
34+ could you disable 2FA on my staging account?")
35+ - When Launchpad asks you what level of permissions to grant, assuming you
36+ are running on your own computer that you manage securely, the easiest
37+ thing to do is hopefully also reasonably safe: accept that the computer
38+ may perform all actions, indefinitely.
39+ - If you get a complaint that the "juju-gui" project does not exist, you
40+ have an invalid cached Launchpad token. This will most often happen
41+ because the staging database has been reset, so your local machine
42+ thinks it has a valid token but the staging version of Launchpad has
43+ forgotten it. This error also may happen if you go to Launchpad and
44+ explicitly revoke your token's authorization at
45+ https://staging.launchpad.net/people/+me/+oauth-tokens (or, if you are
46+ encountering this problem on the main, non-staging Launchpad site,
47+ https://launchpad.net/people/+me/+oauth-tokens). To resolve, remove the
48+ token from your local machine. On Ubuntu desktop machines, this can be
49+ done by opening the Seahorse password manager (search the dash for
50+ "seahorse" or "password"), looking for a password identified as
51+ "Password for 'System-wide:
52+ Ubuntu(...)@https://api.staging.launchpad.net/ on 'launchpadlib'" (try
53+ filtering for "staging.launchpad"), right-clicking on it, and choosing
54+ "Delete."
55+ - If you get an ERR_CANNOT_FORWARD 115 error from Squid when you try to
56+ run the script, it probably is because the Launchpad server is updating.
57+ Go to <https://staging.launchpad.net/> to verify. Try again when
58+ Launchpad is back online.
59+
60 - Go to <https://staging.launchpad.net/juju-gui/stable> and verify that you
61 see a new release and a new download file.
62 - Download the file and compare it to the original tarball in the
63@@ -263,21 +285,43 @@
64 - Also do the same checks after running the command ``NO_BZR=1 make debug``.
65 - For now, we will assume you would like to verify the release on the
66 Launchpad staging server. As we become more confident with this process,
67- this step may become unnecessary. In the branch, run ``make dist``.
68- This will step you through signing the tarball, connecting to
69- Launchpad, and uploading the release.
70-
71- - If you have two-factor authentication enabled on Launchpad, the staging
72- server will ask for a one-time password: be sure to have your device
73- available. (If you are a Canonical collaborator, you may try and ask the
74- webops to turn off the two-factor authentication on your Launchpad staging
75- account, but it may not be possible anyway. Go to the ``#u1-as`` channel
76- on the Canonical IRC server and ask something like "webops, could you
77- disable 2FA on my staging account?")
78- - When Launchpad asks you what level of permissions to grant, assuming you
79- are running on your own computer that you manage securely, the easiest
80- thing to do is hopefully also reasonably safe: accept that the computer
81- may perform all actions, indefinitely.
82+ this step may become unnecessary.
83+
84+ - In the branch, run ``make dist``. This will step you through signing the
85+ tarball, connecting to Launchpad, and uploading the release.
86+
87+ - If you have two-factor authentication enabled on Launchpad, the staging
88+ server will ask for a one-time password: be sure to have your device
89+ available. (If you are a Canonical collaborator, you may try and ask the
90+ webops to turn off the two-factor authentication on your Launchpad
91+ staging account, but it may not be possible anyway. Go to the ``#u1-as``
92+ channel on the Canonical IRC server and ask something like "webops,
93+ could you disable 2FA on my staging account?")
94+ - When Launchpad asks you what level of permissions to grant, assuming you
95+ are running on your own computer that you manage securely, the easiest
96+ thing to do is hopefully also reasonably safe: accept that the computer
97+ may perform all actions, indefinitely.
98+ - If you get a complaint that the "juju-gui" project does not exist, you
99+ have an invalid cached Launchpad token. This will most often happen
100+ because the staging database has been reset, so your local machine
101+ thinks it has a valid token but the staging version of Launchpad has
102+ forgotten it. This error also may happen if you go to Launchpad and
103+ explicitly revoke your token's authorization at
104+ https://staging.launchpad.net/people/+me/+oauth-tokens (or, if you are
105+ encountering this problem on the main, non-staging Launchpad site,
106+ https://launchpad.net/people/+me/+oauth-tokens). To resolve, remove the
107+ token from your local machine. On Ubuntu desktop machines, this can be
108+ done by opening the Seahorse password manager (search the dash for
109+ "seahorse" or "password"), looking for a password identified as
110+ "Password for 'System-wide:
111+ Ubuntu(...)@https://api.staging.launchpad.net/ on 'launchpadlib'" (try
112+ filtering for "staging.launchpad"), right-clicking on it, and choosing
113+ "Delete."
114+ - If you get an ERR_CANNOT_FORWARD 115 error from Squid when you try to
115+ run the script, it probably is because the Launchpad server is updating.
116+ Go to <https://staging.launchpad.net/> to verify. Try again when
117+ Launchpad is back online.
118+
119 - Go to <https://staging.launchpad.net/juju-gui/trunk> and verify that you
120 see a new release and a new download file.
121 - Download the file and compare it to the original tarball in the

Subscribers

People subscribed via source and target branches