Re: post-review only update testing-done field for existing request

2014-01-23 Thread markdbeyer
How about from rbtools.api.client import RBClient server_url = https://server root # choose the review request Id # RRId=some review request number # choose the field to update RRDField=changedescription # the value to set RRDValue=This is a change description # connect to the server

Re: post-review only update testing-done field for existing request

2014-01-23 Thread Christian Hammond
For the update call, instead of using eval, just do: fields = { RRDField: RRDValue, } draft.update(fields) or: draft.update(**{ RRDField: RRDValue, }) -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org Beanbag, Inc. -

Re: post-review only update testing-done field for existing request

2014-01-23 Thread markdbeyer
Yep, much better not to use eval(). thanks. On Thursday, January 23, 2014 1:40:26 PM UTC-8, Christian Hammond wrote: For the update call, instead of using eval, just do: fields = { RRDField: RRDValue, } draft.update(fields) or: draft.update(**{

Re: post-review only update testing-done field for existing request

2013-10-01 Thread Lynn Lin
Thanks,any hint to us to write a customize script to support this? On Tuesday, October 1, 2013 5:53:14 AM UTC+8, Christian Hammond wrote: --change-only really is intended only for Perforce, and will not work for this case. Today, you cannot set only a field without uploading a diff using

Re: post-review only update testing-done field for existing request

2013-09-30 Thread Steve
I haven't tried this, but does it work if you include the --change-only option? --steve On Saturday, September 28, 2013 8:04:36 PM UTC-7, Lynn Lin wrote: Environment: Git source code repostior y Linux ubuntu RBTools:0.5.2 Reviewboard:1.6.1 I try to *ONLY* update testing-done

Re: post-review only update testing-done field for existing request

2013-09-30 Thread Christian Hammond
--change-only really is intended only for Perforce, and will not work for this case. Today, you cannot set only a field without uploading a diff using post-review or rbt post. That would need to be added. It would be pretty easy, though, to write a custom script using the RBTools Python API to

post-review only update testing-done field for existing request

2013-09-28 Thread Lynn Lin
Environment: Git source code repostior y Linux ubuntu RBTools:0.5.2 Reviewboard:1.6.1 I try to *ONLY* update testing-done field for a existing review request on reviewboard through post-review here is my command: post-review --testing-done=cppcheck results,unit test results link abc