Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2679)

Issue 5836049: Add support for using relation ids to refer unambiguously to relations.

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 1 month ago by jimbaker
Modified:
12 years, 1 month ago
Reviewers:
niemeyer, mp+97721
Visibility:
Public.

Description

Add support for using relation ids to refer unambiguously to relations. https://code.launchpad.net/~jimbaker/juju/relation-reference-spec/+merge/97721 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 16

Patch Set 2 : Add support for using relation ids to refer unambiguously to relations. #

Total comments: 10

Patch Set 3 : Add support for using relation ids to refer unambiguously to relations. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+69 lines, -0 lines) Patch
A [revision details] View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
A source/drafts/relation-reference.rst View 1 2 1 chunk +67 lines, -0 lines 0 comments Download

Messages

Total messages: 8
jimbaker
Please take a look.
12 years, 1 month ago (2012-03-15 19:33:28 UTC) #1
niemeyer
https://codereview.appspot.com/5836049/diff/1/source/drafts/relation-reference.rst File source/drafts/relation-reference.rst (right): https://codereview.appspot.com/5836049/diff/1/source/drafts/relation-reference.rst#newcode6 source/drafts/relation-reference.rst:6: relation name or the relation id: You need to ...
12 years, 1 month ago (2012-03-15 20:19:48 UTC) #2
jimbaker
https://codereview.appspot.com/5836049/diff/1/source/drafts/relation-reference.rst File source/drafts/relation-reference.rst (right): https://codereview.appspot.com/5836049/diff/1/source/drafts/relation-reference.rst#newcode6 source/drafts/relation-reference.rst:6: relation name or the relation id: Done. https://codereview.appspot.com/5836049/diff/1/source/drafts/relation-reference.rst#newcode18 source/drafts/relation-reference.rst:18: ...
12 years, 1 month ago (2012-03-19 16:50:54 UTC) #3
jimbaker
Please take a look.
12 years, 1 month ago (2012-03-19 17:24:35 UTC) #4
niemeyer
Much better, thank you. Just a couple of final details. https://codereview.appspot.com/5836049/diff/5001/source/drafts/relation-reference.rst File source/drafts/relation-reference.rst (right): https://codereview.appspot.com/5836049/diff/5001/source/drafts/relation-reference.rst#newcode2 ...
12 years, 1 month ago (2012-03-20 13:31:22 UTC) #5
jimbaker
Please take a look.
12 years, 1 month ago (2012-03-22 04:16:57 UTC) #6
jimbaker
https://codereview.appspot.com/5836049/diff/5001/source/drafts/relation-reference.rst File source/drafts/relation-reference.rst (right): https://codereview.appspot.com/5836049/diff/5001/source/drafts/relation-reference.rst#newcode2 source/drafts/relation-reference.rst:2: ------------------- On 2012/03/20 13:31:22, niemeyer wrote: > Please check ...
12 years, 1 month ago (2012-03-22 04:17:53 UTC) #7
niemeyer
12 years, 1 month ago (2012-03-22 18:20:40 UTC) #8
You haven't actually done the changes. I don't care much, though. The meat of
the spec look good.

LGTM

https://codereview.appspot.com/5836049/diff/5001/source/drafts/relation-refer...
File source/drafts/relation-reference.rst (right):

https://codereview.appspot.com/5836049/diff/5001/source/drafts/relation-refer...
source/drafts/relation-reference.rst:35: its relation id, not the relation name.
However, the use of relation
On 2012/03/22 04:17:53, jimbaker wrote:
> On 2012/03/20 13:31:22, niemeyer wrote:
> > Remove content after the dot. We'll use it later.
> 
> Done.

Not done.

https://codereview.appspot.com/5836049/diff/5001/source/drafts/relation-refer...
source/drafts/relation-reference.rst:46: addition, a new environment variable,
`$JUJU_RELATION_ID`, will always
On 2012/03/22 04:17:53, jimbaker wrote:
> On 2012/03/20 13:31:22, niemeyer wrote:
> > In addition to normalization we're setting an environment variable? That's a
> > different topic. Break line, and bring back the earlier text merged with it:
> > 
> > """
> > Right now relation ids are only visible inside relation hooks, via the
> > $JUJU_RELATION_ID environment variable. In particular, they are not visible
in
> > the output of "juju status".
> > """
> 
> Done.

Not done.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b