Re: post-review rewritten in C#

2010-12-09 Thread Grokwik
Hi Stephen,
Thanks for your answer, in fact, I figured out all that after posting
my message.
For information (for future generations ;-) ), I use SharpSvn and
Newtonsoft.Json  assemblies.
I didn't authenticate yet but, rewriting little by little post-review
to C# I'm close to do it


On Dec 8, 9:20 pm, Stephen Gallagher karrde...@gmail.com wrote:
 On Dec 8, 8:28 am, Grokwik grok...@gmail.com wrote:



  Hi,
  I have a Subversion server, and Review Board 1.5 installed (on
  Windows) and chose to do post-commit reviews.
  So far, I wrote a quite simple batch script that (using a scheduled
  task) checks in Subversion if there's new commits and if so, publishes
  review requests using post-review.

  To enhance the process and turn it a bit more professionnal, I try to
  develop a C# app that would do more or less the same, but the clean
  way :)

  The problem is that I have problems doing that, I can't even
  authenticate :/

  Do you have an idea on how to do simple tasks such as authenticating /
  publishing simple review requests / ... ? I dream about a C# sample
  that uses the RB WepApi...

 ReviewBoard's web API is just JSON, so you should be able to use a C#
 JSON library to communicate with it, I'd expect.

 The API is documented here:http://www.reviewboard.org/docs/manual/1.5/webapi/
 You probably want to look 
 intohttp://www.reviewboard.org/docs/manual/1.5/webapi/2.0/authenticating/
 to handle authentication.



  Thanks in advance
  Fred

  PS : I can of course publish the app I'll develop if it can be useful
  for someone.

-- 
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


post-review rewritten in C#

2010-12-08 Thread Grokwik
Hi,
I have a Subversion server, and Review Board 1.5 installed (on
Windows) and chose to do post-commit reviews.
So far, I wrote a quite simple batch script that (using a scheduled
task) checks in Subversion if there's new commits and if so, publishes
review requests using post-review.

To enhance the process and turn it a bit more professionnal, I try to
develop a C# app that would do more or less the same, but the clean
way :)

The problem is that I have problems doing that, I can't even
authenticate :/

Do you have an idea on how to do simple tasks such as authenticating /
publishing simple review requests / ... ? I dream about a C# sample
that uses the RB WepApi...

Thanks in advance
Fred

PS : I can of course publish the app I'll develop if it can be useful
for someone.

-- 
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: post-review rewritten in C#

2010-12-08 Thread Stephen Gallagher


On Dec 8, 8:28 am, Grokwik grok...@gmail.com wrote:
 Hi,
 I have a Subversion server, and Review Board 1.5 installed (on
 Windows) and chose to do post-commit reviews.
 So far, I wrote a quite simple batch script that (using a scheduled
 task) checks in Subversion if there's new commits and if so, publishes
 review requests using post-review.

 To enhance the process and turn it a bit more professionnal, I try to
 develop a C# app that would do more or less the same, but the clean
 way :)

 The problem is that I have problems doing that, I can't even
 authenticate :/

 Do you have an idea on how to do simple tasks such as authenticating /
 publishing simple review requests / ... ? I dream about a C# sample
 that uses the RB WepApi...

ReviewBoard's web API is just JSON, so you should be able to use a C#
JSON library to communicate with it, I'd expect.

The API is documented here: http://www.reviewboard.org/docs/manual/1.5/webapi/
You probably want to look into 
http://www.reviewboard.org/docs/manual/1.5/webapi/2.0/authenticating/
to handle authentication.


 Thanks in advance
 Fred

 PS : I can of course publish the app I'll develop if it can be useful
 for someone.

-- 
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