Merge lp://staging/~benji/charms/oneiric/buildbot-master/buildbot-master-lpbuildbot into lp://staging/~yellow/charms/oneiric/buildbot-master/trunk
Proposed by
Benji York
Status: | Merged |
---|---|
Approved by: | Brad Crittenden |
Approved revision: | 16 |
Merged at revision: | 9 |
Proposed branch: | lp://staging/~benji/charms/oneiric/buildbot-master/buildbot-master-lpbuildbot |
Merge into: | lp://staging/~yellow/charms/oneiric/buildbot-master/trunk |
Diff against target: |
441 lines (+302/-73) 10 files modified
.bzrignore (+5/-0) HACKING.txt (+23/-0) hooks/config-changed (+59/-40) hooks/helpers.py (+35/-0) hooks/install (+37/-20) hooks/start (+16/-12) hooks/tests.py (+83/-0) juju_wrapper (+19/-0) revision (+0/-1) tests/buildbot-master.test (+25/-0) |
To merge this branch: | bzr merge lp://staging/~benji/charms/oneiric/buildbot-master/buildbot-master-lpbuildbot |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Brad Crittenden (community) | Approve | ||
Review via email: mp+91323@code.staging.launchpad.net |
Description of the change
This branch translates the hooks from bash into Python, adds some hook/test helpers (with tests) and adds the first charm test.
To post a comment you must log in.
Hi Benji,
The Pythonization is great and overdue! And thanks for setting up a testing structure.
typo: s/about to being/about to begin/ (Several occurrences.)
line 119 is missing a comma, as I found out the hard way.
In my branch I've moved the definition of 'log' into the helpers.py. DRY.
The sleep at 431 seems awful aggressive given the long time it takes to deploy.
A lot of install and config-changed hooks I've already modified, so they were not reviewed too closely.