>> What would be my next command?
How about a command for creating a review request?
>> What kind of testing do you expect for these commands? (If any are needed)
Automated tests would certainly be good to have - though I'm not sure
what's involved in getting a Review Board server up and running in the
background for your tools to call against.
Alternatively, you could set up some kind of mock RB server, that just
returns pre-loaded static responses to your tools' requests. Not sure
what you'd need to do that, but it might help reduce the complexity.
>> Is tracking-branch and parent already support for my rb diff? I think it
>> is by the options, but I'm having trouble testing it out.
Yes, we'll likely what those, if I'm understanding the purpose of this
tool correctly.
Not sure how tracking-branch works, but I can tell you how --parent
works. This is used in the event that you want a diff between a branch,
and a parent branch which is not master.
For example - suppose I have a branch A off of master where I'm working
on a library. I've finished the first draft of it, and it's currently up
for review, so it hasn't been committed. However, I don't want to be
blocked on it, and want to make my code use my new library.
So I create a branch B off of A to work. That way, when my review comes
in for my library, I can just modify the stuff in A, and either merge or
re-base B.
But what about if I want to get a review for B before A has been
committed? That's where --parent comes in. --parent tells the tool to
create a diff between B and A as opposed to B and master (which would
also contain the changes in A).
So I believe that's the use case for --parent. Does that help clear up
how to test it?
-Mike
--
http://www.mikeconley.ca