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

Issue 5837050: Add `relation-info` relation hook command.

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

Description

Add `relation-info` relation hook command. https://code.launchpad.net/~jimbaker/juju/relation-info-command-spec/+merge/97736 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : Add `relation-info` relation hook command. #

Total comments: 12

Patch Set 3 : Add `relation-info` relation hook command. #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -0 lines) Patch
A [revision details] View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
A source/drafts/relation-info.rst View 1 2 1 chunk +53 lines, -0 lines 3 comments Download

Messages

Total messages: 7
jimbaker
Please take a look.
12 years, 1 month ago (2012-03-15 19:44:23 UTC) #1
jimbaker
Please take a look.
12 years, 1 month ago (2012-03-19 18:46:21 UTC) #2
niemeyer
https://codereview.appspot.com/5837050/diff/3001/source/drafts/relation-info.rst File source/drafts/relation-info.rst (right): https://codereview.appspot.com/5837050/diff/3001/source/drafts/relation-info.rst#newcode7 source/drafts/relation-info.rst:7: relation-info [--interface INTERFACE] [-r RELATION_NAME_OR_ID] If this command enumerates ...
12 years, 1 month ago (2012-03-20 19:47:35 UTC) #3
jimbaker
https://codereview.appspot.com/5837050/diff/3001/source/drafts/relation-info.rst File source/drafts/relation-info.rst (right): https://codereview.appspot.com/5837050/diff/3001/source/drafts/relation-info.rst#newcode7 source/drafts/relation-info.rst:7: relation-info [--interface INTERFACE] [-r RELATION_NAME_OR_ID] This is a nice ...
12 years, 1 month ago (2012-03-20 20:00:47 UTC) #4
jimbaker
Please take a look.
12 years, 1 month ago (2012-03-22 04:15:29 UTC) #5
jimbaker
https://codereview.appspot.com/5837050/diff/3001/source/drafts/relation-info.rst File source/drafts/relation-info.rst (right): https://codereview.appspot.com/5837050/diff/3001/source/drafts/relation-info.rst#newcode7 source/drafts/relation-info.rst:7: relation-info [--interface INTERFACE] [-r RELATION_NAME_OR_ID] On 2012/03/20 19:47:36, niemeyer ...
12 years, 1 month ago (2012-03-22 04:23:54 UTC) #6
hazmat
12 years, 1 month ago (2012-03-27 12:47:14 UTC) #7
LGTM, some minors.

https://codereview.appspot.com/5837050/diff/9001/source/drafts/relation-info.rst
File source/drafts/relation-info.rst (right):

https://codereview.appspot.com/5837050/diff/9001/source/drafts/relation-info....
source/drafts/relation-info.rst:16: For any hook, the data for the
`relation-ids` command is cached prior
This feels like an internal impl detail, i suggest its removal.

https://codereview.appspot.com/5837050/diff/9001/source/drafts/relation-info....
source/drafts/relation-info.rst:36: list of relation ids that provide the
keystone interface, then
"of the relation ids for the relation instances with the keystone-service name
and keystone service interface."

The comma here should be a period. The relation instances provide the interface.

https://codereview.appspot.com/5837050/diff/9001/source/drafts/relation-info....
source/drafts/relation-info.rst:37: enumerated over to set the ready for each
relation. Assume that
This part after the comma doesn't make any sense to me, i'd suggest its removal.

"then enumerated over to set the ready for each relation"
Sign in to reply to this message.

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