RB info
Review Request #3733 — Created Jan. 9, 2013 and discarded
A command to query resource attributes. At the moment, this only supports review requests, and is not able to list available attributes. (If there is a sane way to do this with the current state of the API, I have not been able to determine what it is.) Args: rbt info <resource_selector> <attribute> Options: --request (resource id) git branch 'rbt-info' (9e79e3564450) available at git://github.com/mwoehlke/rbtools.git, and includes merge of latest master (not represented here). There is no .gitlog in the commit; it is an artifact of using 'git rb post' to upload this request.
'rbt info -r <num> <attribute>' for e.g. status, summary, description, on Linux.
Description | From | Last Updated |
---|---|---|
Col: 1 E302 expected 2 blank lines, found 1 |
reviewbot | |
Col: 1 E302 expected 2 blank lines, found 1 |
reviewbot | |
Col: 80 E501 line too long (84 > 79 characters) |
reviewbot | |
Col: 47 E702 multiple statements on one line (semicolon) |
reviewbot | |
Col: 27 E261 at least two spaces before inline comment |
reviewbot |
-
This is a review from Review Bot. Tool: PEP8 Style Checker Processed Files: setup.py rbtools/commands/rbinfo.py Ignored Files:
- Change Summary:
-
Update for latest changes in api branch, plus minor improvements.
- Summary:
-
implement 'rb info' commandRB info
- Description:
-
~ Rewrite rbinfo.py to actually do something useful (I was unable to get the old one to even run; it looks like it was written to an older version of the API?) This is still technically a work in progress, but one can do things like 'rb info -r <num> summary' and get the review request summary.
~ A command to query resource attributes. At the moment, this only supports review requests, and is not able to list available attributes. (If there is a sane way to do this with the current state of the API, I have not been able to determine what it is.)
+ + Args: rbt info <resource_selector> <attribute>
+ Options: --request (resource id) + + + + + + git branch 'rbt-info' (9e79e3564450) available at git://github.com/mwoehlke/rbtools.git, and includes merge of latest master (not represented here). There is no .gitlog in the commit; it is an artifact of using 'git rb post' to upload this request.
- Testing Done:
-
~ 'rb info -r <num> <attribute>' for e.g. status, summary, description, on Linux.
~ 'rbt info -r <num> <attribute>' for e.g. status, summary, description, on Linux.
- Branch:
-
masterapi
- Diff:
-
Revision 3 (+103)