Keyboard Shortcuts

File
u :up to issue
m :publish + mail comments
M :edit review message
j / k :jump to file after / before current file
J / K :jump to next file with a comment after / before current file
Side-by-side diff
i :toggle intra-line diffs
e :expand all comments
c :collapse all comments
s :toggle showing all comments
n / p :next / previous diff chunk or comment
N / P :next / previous comment
<Up> / <Down> :next / previous line
<Enter> :respond to / edit current comment
d :mark current comment as done
Issue
u :up to list of issues
m :publish + mail comments
j / k :jump to patch after / before current patch
o / <Enter> :open current patch in side-by-side view
i :open current patch in unified diff view
Issue List
j / k :jump to issue after / before current issue
o / <Enter> :open current issue
# : close issue
Comment/message editing
<Ctrl> + s or <Ctrl> + Enter :save comment
<Esc> :cancel edit
Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(234)
Issues Repositories Search
Open Issues | Closed Issues | All Issues | Sign in with your Google Account to create issues and add comments

Issue 6131061: Ensure Invoker.start is called from UnitRelationLifecycle usage.

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 8 months ago by jimbaker
Modified:
13 years, 8 months ago
Reviewers:
hazmat , mp+104195
Visibility:
Public.
Ensure Invoker.start is called from UnitRelationLifecycle usage. UnitRelationLifecycle did not properly call Invoker.start (a one-line fix), which prevented relation hook contexts from being cached for the corresponding hook call. Because caching of the hook contexts is logged, this can be verified to ensure this method is properly called for both UnitRelationLifecycle and UnitLifecycle usages. https://code.launchpad.net/~jimbaker/juju/unit-rel-lifecycle-start-invoker/+merge/104195 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : Ensure Invoker.start is called from UnitRelationLifecycle usage. #

Total comments: 4
Created: 13 years, 8 months ago
Download [raw] [tar.bz2]
Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -6 lines) Patch
A [revision details] View 1 1 chunk +2 lines, -0 lines 0 comments Download
M juju/hooks/invoker.py View 1 chunk +6 lines, -1 line 0 comments Download
M juju/hooks/tests/test_invoker.py View 1 3 chunks +3 lines, -3 lines 0 comments Download
M juju/unit/lifecycle.py View 1 chunk +1 line, -0 lines 0 comments Download
M juju/unit/tests/test_lifecycle.py View 4 chunks +59 lines, -2 lines 4 comments Download
Total messages: 5
|
jimbaker
Please take a look.
13 years, 8 months ago (2012年05月01日 01:06:31 UTC) #1
Please take a look.
Sign in to reply to this message.
jimbaker
Please take a look.
13 years, 8 months ago (2012年05月01日 01:44:13 UTC) #2
Please take a look.
Sign in to reply to this message.
hazmat
lgtm https://codereview.appspot.com/6131061/diff/3001/juju/unit/tests/test_lifecycle.py File juju/unit/tests/test_lifecycle.py (right): https://codereview.appspot.com/6131061/diff/3001/juju/unit/tests/test_lifecycle.py#newcode901 juju/unit/tests/test_lifecycle.py:901: for i in xrange(1, 3): don't use xrange, ...
13 years, 8 months ago (2012年05月03日 22:34:14 UTC) #3
lgtm
https://codereview.appspot.com/6131061/diff/3001/juju/unit/tests/test_lifecyc...
File juju/unit/tests/test_lifecycle.py (right):
https://codereview.appspot.com/6131061/diff/3001/juju/unit/tests/test_lifecyc...
juju/unit/tests/test_lifecycle.py:901: for i in xrange(1, 3):
don't use xrange, its of little value and dropped in py3.
https://codereview.appspot.com/6131061/diff/3001/juju/unit/tests/test_lifecyc...
juju/unit/tests/test_lifecycle.py:1331: for i in xrange(1, 5):
ditto re xrange
Sign in to reply to this message.
jimbaker
Thanks, changed the minors and pushed accordingly https://codereview.appspot.com/6131061/diff/3001/juju/unit/tests/test_lifecycle.py File juju/unit/tests/test_lifecycle.py (right): https://codereview.appspot.com/6131061/diff/3001/juju/unit/tests/test_lifecycle.py#newcode901 juju/unit/tests/test_lifecycle.py:901: for i ...
13 years, 8 months ago (2012年05月04日 03:48:08 UTC) #4
Thanks, changed the minors and pushed accordingly
https://codereview.appspot.com/6131061/diff/3001/juju/unit/tests/test_lifecyc...
File juju/unit/tests/test_lifecycle.py (right):
https://codereview.appspot.com/6131061/diff/3001/juju/unit/tests/test_lifecyc...
juju/unit/tests/test_lifecycle.py:901: for i in xrange(1, 3):
Pure habit here, fixed by using range instead
https://codereview.appspot.com/6131061/diff/3001/juju/unit/tests/test_lifecyc...
juju/unit/tests/test_lifecycle.py:1331: for i in xrange(1, 5):
Ditto fix
Sign in to reply to this message.
hazmat
looks good, pls go ahead w the merge. On 2012年05月04日 03:48:08, jimbaker wrote: > Thanks, ...
13 years, 8 months ago (2012年05月04日 18:22:17 UTC) #5
looks good, pls go ahead w the merge.
On 2012年05月04日 03:48:08, jimbaker wrote:
> Thanks, changed the minors and pushed accordingly
> 
>
https://codereview.appspot.com/6131061/diff/3001/juju/unit/tests/test_lifecyc...
> File juju/unit/tests/test_lifecycle.py (right):
> 
>
https://codereview.appspot.com/6131061/diff/3001/juju/unit/tests/test_lifecyc...
> juju/unit/tests/test_lifecycle.py:901: for i in xrange(1, 3):
> Pure habit here, fixed by using range instead
> 
>
https://codereview.appspot.com/6131061/diff/3001/juju/unit/tests/test_lifecyc...
> juju/unit/tests/test_lifecycle.py:1331: for i in xrange(1, 5):
> Ditto fix
Sign in to reply to this message.
|
Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b

AltStyle によって変換されたページ (->オリジナル) /