Re: Add comments via API

2014-02-20 Thread Karel Novotny
Hi,
thanks ... so I did a small exercise for myself, I'll try this ReviewBot
K

Dne čtvrtek, 20. února 2014 1:19:54 UTC+1 Javins, Walt napsal(a):
>
>  Hi Karel,
>
>  
>
> I’m aware of at least one other community project that does automated 
> static code analysis:
>
>  
>
> https://github.com/reviewboard/ReviewBot
>
>  
>
> I think you’ll find ReviewBot’s implementation of posting comments 
> informative:
>
>  
>
>
> https://github.com/reviewboard/ReviewBot/blob/master/bot/reviewbot/processing/review.py
>
>  
>
> Take a look at the Review class in particular.
>
>  
>
> Walt
>
>  
>
> *From:* revie...@googlegroups.com  [mailto:
> revie...@googlegroups.com ] *On Behalf Of *Karel Novotny
> *Sent:* Wednesday, February 19, 2014 3:48 PM
> *To:* revie...@googlegroups.com 
> *Subject:* Add comments via API
>
>  
>  
> Hi,
> I am doing an utility, that do an automated pre-review on reviewboard. It 
> takes files/diffs of the review and process them through some code analysis 
> (CheckStyle) and adds comments to the review.I am using RB API for this, 
> but I didn't find any way, how to add a comment via API. Is there something 
> for this ?
>
> Thanks
>  
> -- 
> Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
> ---
> Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
> ---
> Happy user? Let us know at http://www.reviewboard.org/users/
> --- 
> You received this message because you are subscribed to the Google Groups 
> "reviewboard" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to reviewboard...@googlegroups.com .
> For more options, visit https://groups.google.com/groups/opt_out.
>  

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


RE: Add comments via API

2014-02-19 Thread Javins, Walt
Hi Karel,

I’m aware of at least one other community project that does automated static 
code analysis:

https://github.com/reviewboard/ReviewBot

I think you’ll find ReviewBot’s implementation of posting comments informative:

https://github.com/reviewboard/ReviewBot/blob/master/bot/reviewbot/processing/review.py

Take a look at the Review class in particular.

Walt

From: reviewboard@googlegroups.com [mailto:reviewboard@googlegroups.com] On 
Behalf Of Karel Novotny
Sent: Wednesday, February 19, 2014 3:48 PM
To: reviewboard@googlegroups.com
Subject: Add comments via API

Hi,
I am doing an utility, that do an automated pre-review on reviewboard. It takes 
files/diffs of the review and process them through some code analysis 
(CheckStyle) and adds comments to the review.I am using RB API for this, but I 
didn't find any way, how to add a comment via API. Is there something for this ?

Thanks
--
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
---
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.