Merge lp:~gary/charms/precise/juju-gui/gitdevrelease into lp:~juju-gui/charms/precise/juju-gui/trunk

Proposed by Gary Poster
Status: Merged
Merged at revision: 159
Proposed branch: lp:~gary/charms/precise/juju-gui/gitdevrelease
Merge into: lp:~juju-gui/charms/precise/juju-gui/trunk
Diff against target: 51 lines (+22/-1)
2 files modified
hooks/utils.py (+1/-1)
tests/test_utils.py (+21/-0)
To merge this branch: bzr merge lp:~gary/charms/precise/juju-gui/gitdevrelease
Reviewer Review Type Date Requested Status
charmers Pending
Review via email: mp+204579@code.launchpad.net

Description of the change

Restore development build support

This branch restores the ability to follow the quick trunk deploy workflow.

- In GUI: `BRANCH_IS_GOOD make distfile`
- Copy new release into local GUI charm releases folder
- bootstrap juju and run `make deploy` in charm

This is the fastest way I know to demo or qa a GUI branch with the charm trunk.

https://codereview.appspot.com/52230045/

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

Reviewers: mp+204579_code.launchpad.net,

Message:
Please take a look.

Description:
Restore development build support

This branch restores the ability to follow the quick trunk deploy
workflow.

- In GUI: `BRANCH_IS_GOOD make distfile`
- Copy new release into local GUI charm releases folder
- bootstrap juju and run `make deploy` in charm

This is the fastest way I know to demo or qa a GUI branch with the charm
trunk.

https://code.launchpad.net/~gary/charms/precise/juju-gui/gitdevrelease/+merge/204579

(do not edit description out of merge proposal)

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

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

*** Submitted:

Restore development build support

This branch restores the ability to follow the quick trunk deploy
workflow.

- In GUI: `BRANCH_IS_GOOD make distfile`
- Copy new release into local GUI charm releases folder
- bootstrap juju and run `make deploy` in charm

This is the fastest way I know to demo or qa a GUI branch with the charm
trunk.

R=frankban
CC=
https://codereview.appspot.com/52230045

https://codereview.appspot.com/52230045/

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

On 2014/02/04 09:13:47, frankban wrote:
> LGTM + QA ok. Thank you!

Thank you for the review, Francesco.

https://codereview.appspot.com/52230045/

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'hooks/utils.py'
--- hooks/utils.py 2014-02-03 16:30:24 +0000
+++ hooks/utils.py 2014-02-03 21:39:35 +0000
@@ -129,7 +129,7 @@
129 juju-gui- # Juju GUI prefix.129 juju-gui- # Juju GUI prefix.
130 (130 (
131 \d+\.\d+\.\d+ # Major, minor, and patch version numbers.131 \d+\.\d+\.\d+ # Major, minor, and patch version numbers.
132 (?:\+build\.\d+)? # Optional bzr revno for development releases.132 (?:\+build\.\w+)? # Optional git hash for development releases.
133 )133 )
134 \.(?:tgz|xz) # File extension.134 \.(?:tgz|xz) # File extension.
135""", re.VERBOSE)135""", re.VERBOSE)
136136
=== modified file 'tests/test_utils.py'
--- tests/test_utils.py 2014-02-03 16:30:24 +0000
+++ tests/test_utils.py 2014-02-03 21:39:35 +0000
@@ -345,6 +345,17 @@
345 path = get_release_file_path()345 path = get_release_file_path()
346 self.assert_path('juju-gui-2.0.1.xz', path)346 self.assert_path('juju-gui-2.0.1.xz', path)
347347
348 def test_xz_git_dev(self):
349 # The last release is correctly retrieved.
350 self.add('juju-gui-0.12.1.tgz')
351 self.add('juju-gui-1.2.3.tgz')
352 self.add('juju-gui-2.0.0+build.42.tgz')
353 self.add('juju-gui-2.0.1.tgz')
354 self.add('juju-gui-2.1.0+build.42a.xz')
355 with self.mock_releases_dir():
356 path = get_release_file_path()
357 self.assert_path('juju-gui-2.1.0+build.42a.xz', path)
358
348 def test_ordering(self):359 def test_ordering(self):
349 # Release versions are correctly ordered.360 # Release versions are correctly ordered.
350 self.add('juju-gui-0.12.1.tgz')361 self.add('juju-gui-0.12.1.tgz')
@@ -394,6 +405,16 @@
394 path = get_release_file_path('2.42.47+build.4247')405 path = get_release_file_path('2.42.47+build.4247')
395 self.assert_path('juju-gui-2.42.47+build.4247.tgz', path)406 self.assert_path('juju-gui-2.42.47+build.4247.tgz', path)
396407
408 def test_xz_git_development_version(self):
409 # A specific development version is correctly retrieved.
410 self.add('juju-gui-1.2.3+build.4247.tgz')
411 self.add('juju-gui-2.42.47+build.42b7.xz')
412 self.add('juju-gui-2.42.47.tgz')
413 self.add('juju-gui-3.42.47+build.4247.tgz')
414 with self.mock_releases_dir():
415 path = get_release_file_path('2.42.47+build.42b7')
416 self.assert_path('juju-gui-2.42.47+build.42b7.xz', path)
417
397 def test_version_not_found(self):418 def test_version_not_found(self):
398 # None is returned if the requested version is not found.419 # None is returned if the requested version is not found.
399 self.add('juju-gui-1.2.3.tgz')420 self.add('juju-gui-1.2.3.tgz')

Subscribers

People subscribed via source and target branches

to all changes: