Re: Publish upon commit

2011-08-26 Thread Christian Hammond
You can use --repository-url=file:/// to point to the repo on the server.

You should be able to adapt this to your needs:

https://github.com/reviewboard/reviewboard/blob/master/contrib/tools/svn-hook-postcommit-review

(Note: This is a third-party contribution, and not really maintained by us.
We just ship it.)

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com


On Thu, Aug 25, 2011 at 11:19 PM, David Somers-Harris <
davidkazuh...@gmail.com> wrote:

> > post-review -r 42
>
> I tried that in the hooks directory of my svn repository but I got
>
> "The current directory does not contain a checkout from a
> supported source code repository."
>
> Does a checkout really have to be on the server?
>
>  --
> Want to help the Review Board project? Donate today at
> http://www.reviewboard.org/donate/
> Happy user? Let us know at http://www.reviewboard.org/users/
> -~--~~~~--~~--~--~---
> To unsubscribe from this group, send email to
> reviewboard+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/reviewboard?hl=en
>

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Re: Publish upon commit

2011-08-25 Thread David Somers-Harris
> post-review -r 42

I tried that in the hooks directory of my svn repository but I got

"The current directory does not contain a checkout from a
supported source code repository."

Does a checkout really have to be on the server?

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Re: Publish upon commit

2011-08-25 Thread Kannaiyan Natesan
You need to install the client on each machine only if you want uncommited
code changes to get on ReviewBoard.

Hook on Subversion server's postcommit and post it to ReviewBoard.

post-review -r 42


http://www.reviewboard.org/docs/manual/dev/users/tools/post-review/

This will create review request for each commit. Depends how you write the
hook also to handle the diff.

You can trigger with a svn comment message in Hook ( command: reviewboard
your  comment for the changes) to handle multiple revisions.
If you want to create a review request for range of revisions you can use
like,

post-review --revision-range=STARTREV:STOPREV


Thanks,
Kannaiyan

On Thu, Aug 25, 2011 at 3:35 AM, David Somers-Harris <
davidkazuh...@gmail.com> wrote:

> Hi,
>
> What's the best way to publish review requests via a subversion commit
> message without having review board installed on every committer's machine?
>
> David
>
> --
> Want to help the Review Board project? Donate today at
> http://www.reviewboard.org/donate/
> Happy user? Let us know at http://www.reviewboard.org/users/
> -~--~~~~--~~--~--~---
> To unsubscribe from this group, send email to
> reviewboard+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/reviewboard?hl=en




-- 
+1-650-605-3290
The best things in life are free

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Publish upon commit

2011-08-25 Thread David Somers-Harris
Hi,

What's the best way to publish review requests via a subversion commit
message without having review board installed on every committer's machine?

David

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en