Merge lp://qastaging/~dooferlad/offspring/passing-ssh-key-to-slave2 into lp://qastaging/offspring
Proposed by
James Tunnicliffe
Status: | Merged |
---|---|
Approved by: | Kevin McDermott |
Approved revision: | 100 |
Merge reported by: | Kevin McDermott |
Merged at revision: | not available |
Proposed branch: | lp://qastaging/~dooferlad/offspring/passing-ssh-key-to-slave2 |
Merge into: | lp://qastaging/offspring |
Diff against target: |
632 lines (+423/-17) 12 files modified
lib/offspring/build/bin/offspring-build (+4/-0) lib/offspring/build/functions/ssh.sh (+23/-0) lib/offspring/build/tests/offspring_test_key (+27/-0) lib/offspring/build/tests/offspring_test_key.pub (+1/-0) lib/offspring/build/tests/test.sh (+27/-0) lib/offspring/build/wrappers/test.sh (+52/-0) lib/offspring/master/models.py (+12/-3) lib/offspring/master/tests/helpers.py (+2/-0) lib/offspring/slave/slave.py (+67/-12) lib/offspring/slave/tests/test_slave.py (+197/-2) lib/offspring/web/queuemanager/models.py (+9/-0) migration/002-bzr-ssh-user-key.sql (+2/-0) |
To merge this branch: | bzr merge lp://qastaging/~dooferlad/offspring/passing-ssh-key-to-slave2 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Kevin McDermott | Approve | ||
Review via email:
|
This proposal supersedes a proposal from 2011-12-08.
Description of the change
Merged on top of trunk, conflicts resolved.
---
Replaces the merge lp:~dooferlad/offspring/passing-ssh-key-to-slave2 now it contains changes from lp:~bigkevmcd/offspring/passing-ssh-key-to-slave and fixes as a result of code review.
To post a comment you must log in.
Some minor fixes needed and it's good to go...
#1
+ def test_currentBui ldIsActive( self):
This is actually four tests hidden in one...can you split them out, your comments are really the docstrings for the other tests...
#2 zrSshUrl( self):
+ def test_addUserToB
This is cool, but I'd prefer to see the comparison made more explicit, you know what the result should be, so it might be better to be explicit in the test...
expected_url = "bzr+ssh://<email address hidden> /~dooferlad/ offspring/ config"
Using the same technique as the implementation is no guarantee that the result is actually correct :-)
#3
+ def test_currentBui ldIsActive( self):
Doesn't fit with the test naming conventions (pep8)
#4
There are a couple of minor conflicts with trunk, can merge trunk and resolve?
Other than these minor issues, looks good, nice branch :-)