Re: post-review can not set summary, group or people

2010-12-04 Thread Johan Rydberg
OK.

http://code.google.com/p/reviewboard/issues/detail?id=1909


On Sat, Dec 4, 2010 at 3:12 AM, Christian Hammond wrote:

> Thanks. Okay, this certainly used to work, but it appears to have
> regressed. Would you mind filling a bug, and we'll try to get it into
> 1.5.2?
>
> Christian
>
> --
> Christian Hammond - chip...@chipx86.com
> Review Board - http://www.reviewboard.org
> VMware, Inc. - http://www.vmware.com
>
>
>
> On Fri, Dec 3, 2010 at 2:15 AM, Johan Rydberg 
> wrote:
> > 1.5.1.
> > Here's a new run, a long with a screenshot of the result:
> > jrydb...@mysak:~/new-src/origin2/branches/changeState-3855$ post-review
> > --debug --summary "TestReview" --target-people jrydberg
> > --revision-range=12659:HEAD
>  svn info
>  diff --version
>  repository info: Path: svn://svn/sw, Base path:
>  /origin2/branches/changeState-3855, Supports changesets: False
>  svn propget reviewboard:url
>  /home/jrydberg/new-src/origin2/branches/changeState-3855
>  svn diff --diff-cmd=diff -r 12659:HEAD
>  svn info src/python/origin/playout.py
>  svn info src/python/origin/util.py
>  svn info setup.env
>  svn info src/python/origin/playout.py
>  svn info src/python/origin/playout.py
>  svn info src/python/origin/playout.py
>  svn info src/python/origin/util.py
>  svn info src/python/origin/util.py
>  svn info src/python/origin/util.py
>  svn info setup.env
>  svn info setup.env
>  svn info setup.env
>  Looking for 'rb.edgeware.tv /' cookie in
>  /home/jrydberg/.post-review-cookies.txt
>  Loaded valid cookie -- no login required
>  HTTP GETting /api/json/repositories/
>  HTTP GETting /api/json/repositories/1/info/
>  repository info: Path: svn://svn/sw, Base path:
>  /origin2/branches/changeState-3855, Supports changesets: False
>  Attempting to create review request on svn://svn/sw for None
>  HTTP POSTing to http://rb.edgeware.tv/api/json/reviewrequests/new/:
>  {'repository_path': 'svn://svn/sw'}
>  Review request created
>  Attempting to set field 'target_people' to 'jrydberg' for review
> request
>  '33'
>  HTTP POSTing to
>  http://rb.edgeware.tv/api/json/reviewrequests/33/draft/set/:
>  {'target_people': 'jrydberg'}
>  Attempting to set field 'summary' to 'TestReview' for review request
>  '33'
>  HTTP POSTing to
>  http://rb.edgeware.tv/api/json/reviewrequests/33/draft/set/:
> {'summary':
>  'TestReview'}
>  Uploading diff, size: 19396
>  HTTP POSTing to
>  http://rb.edgeware.tv/api/json/reviewrequests/33/diff/new/:
> {'basedir':
>  '/origin2/branches/changeState-3855'}
> > Review request #33 posted.
> > http://rb.edgeware.tv/r/33
> >
> >
> >
> > On Fri, Dec 3, 2010 at 10:10 AM, Christian Hammond 
> > wrote:
> >>
> >> Hmm, it appears we're sending the data across. Can you tell me what
> >> version of Review Board this is?
> >>
> >> Christian
> >>
> >> --
> >> Christian Hammond - chip...@chipx86.com
> >> Review Board - http://www.reviewboard.org
> >> VMware, Inc. - http://www.vmware.com
> >>
> >>
> >>
> >> On Thu, Dec 2, 2010 at 7:50 AM, Johan Rydberg 
> >> wrote:
> >> > Hi
> >> >
> >> > Trying to create a new review using the post-review command-line tool:
> >> >
> >> > $ post-review -d --revision-range 12558:HEAD --target-groups origin --
> >> > target-people jrydberg,pelle --summary TestReview
> >> > ...
> >>  Review request created
> >>  Attempting to set field 'target_groups' to 'origin' for review
> >>  request '20'
> >>  HTTP POSTing to
> >>  http://rb.edgeware.tv/api/json/reviewrequests/20/draft/set/:
> >>  {'target_groups': 'origin'}
> >>  Attempting to set field 'target_people' to 'jrydberg,pelle' for
> >>  review request '20'
> >>  HTTP POSTing to
> >>  http://rb.edgeware.tv/api/json/reviewrequests/20/draft/set/:
> >>  {'target_people': 'jrydberg,pelle'}
> >>  Attempting to set field 'summary' to 'TestReview' for review
> request
> >>  '20'
> >>  HTTP POSTing to
> >>  http://rb.edgeware.tv/api/json/reviewrequests/20/draft/set/:
> {'summary':
> >>  'TestReview'}
> >>  Uploading diff, size: 11988
> >> >
> >> >
> >> > But this (people, group and summary) does not show up in the draft.
> >> > What am I doing wrong?
> >> >
> >> > --
> >> > 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/
> >> -~--~~~~--

Re: post-review can not set summary, group or people

2010-12-03 Thread Christian Hammond
Thanks. Okay, this certainly used to work, but it appears to have
regressed. Would you mind filling a bug, and we'll try to get it into
1.5.2?

Christian

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



On Fri, Dec 3, 2010 at 2:15 AM, Johan Rydberg  wrote:
> 1.5.1.
> Here's a new run, a long with a screenshot of the result:
> jrydb...@mysak:~/new-src/origin2/branches/changeState-3855$ post-review
> --debug --summary "TestReview" --target-people jrydberg
> --revision-range=12659:HEAD
 svn info
 diff --version
 repository info: Path: svn://svn/sw, Base path:
 /origin2/branches/changeState-3855, Supports changesets: False
 svn propget reviewboard:url
 /home/jrydberg/new-src/origin2/branches/changeState-3855
 svn diff --diff-cmd=diff -r 12659:HEAD
 svn info src/python/origin/playout.py
 svn info src/python/origin/util.py
 svn info setup.env
 svn info src/python/origin/playout.py
 svn info src/python/origin/playout.py
 svn info src/python/origin/playout.py
 svn info src/python/origin/util.py
 svn info src/python/origin/util.py
 svn info src/python/origin/util.py
 svn info setup.env
 svn info setup.env
 svn info setup.env
 Looking for 'rb.edgeware.tv /' cookie in
 /home/jrydberg/.post-review-cookies.txt
 Loaded valid cookie -- no login required
 HTTP GETting /api/json/repositories/
 HTTP GETting /api/json/repositories/1/info/
 repository info: Path: svn://svn/sw, Base path:
 /origin2/branches/changeState-3855, Supports changesets: False
 Attempting to create review request on svn://svn/sw for None
 HTTP POSTing to http://rb.edgeware.tv/api/json/reviewrequests/new/:
 {'repository_path': 'svn://svn/sw'}
 Review request created
 Attempting to set field 'target_people' to 'jrydberg' for review request
 '33'
 HTTP POSTing to
 http://rb.edgeware.tv/api/json/reviewrequests/33/draft/set/:
 {'target_people': 'jrydberg'}
 Attempting to set field 'summary' to 'TestReview' for review request
 '33'
 HTTP POSTing to
 http://rb.edgeware.tv/api/json/reviewrequests/33/draft/set/: {'summary':
 'TestReview'}
 Uploading diff, size: 19396
 HTTP POSTing to
 http://rb.edgeware.tv/api/json/reviewrequests/33/diff/new/: {'basedir':
 '/origin2/branches/changeState-3855'}
> Review request #33 posted.
> http://rb.edgeware.tv/r/33
>
>
>
> On Fri, Dec 3, 2010 at 10:10 AM, Christian Hammond 
> wrote:
>>
>> Hmm, it appears we're sending the data across. Can you tell me what
>> version of Review Board this is?
>>
>> Christian
>>
>> --
>> Christian Hammond - chip...@chipx86.com
>> Review Board - http://www.reviewboard.org
>> VMware, Inc. - http://www.vmware.com
>>
>>
>>
>> On Thu, Dec 2, 2010 at 7:50 AM, Johan Rydberg 
>> wrote:
>> > Hi
>> >
>> > Trying to create a new review using the post-review command-line tool:
>> >
>> > $ post-review -d --revision-range 12558:HEAD --target-groups origin --
>> > target-people jrydberg,pelle --summary TestReview
>> > ...
>>  Review request created
>>  Attempting to set field 'target_groups' to 'origin' for review
>>  request '20'
>>  HTTP POSTing to
>>  http://rb.edgeware.tv/api/json/reviewrequests/20/draft/set/:
>>  {'target_groups': 'origin'}
>>  Attempting to set field 'target_people' to 'jrydberg,pelle' for
>>  review request '20'
>>  HTTP POSTing to
>>  http://rb.edgeware.tv/api/json/reviewrequests/20/draft/set/:
>>  {'target_people': 'jrydberg,pelle'}
>>  Attempting to set field 'summary' to 'TestReview' for review request
>>  '20'
>>  HTTP POSTing to
>>  http://rb.edgeware.tv/api/json/reviewrequests/20/draft/set/: {'summary':
>>  'TestReview'}
>>  Uploading diff, size: 11988
>> >
>> >
>> > But this (people, group and summary) does not show up in the draft.
>> > What am I doing wrong?
>> >
>> > --
>> > 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
>
> --
> 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/
> -~--~

Re: post-review can not set summary, group or people

2010-12-03 Thread Christian Hammond
Hmm, it appears we're sending the data across. Can you tell me what
version of Review Board this is?

Christian

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



On Thu, Dec 2, 2010 at 7:50 AM, Johan Rydberg  wrote:
> Hi
>
> Trying to create a new review using the post-review command-line tool:
>
> $ post-review -d --revision-range 12558:HEAD --target-groups origin --
> target-people jrydberg,pelle --summary TestReview
> ...
 Review request created
 Attempting to set field 'target_groups' to 'origin' for review request '20'
 HTTP POSTing to 
 http://rb.edgeware.tv/api/json/reviewrequests/20/draft/set/: 
 {'target_groups': 'origin'}
 Attempting to set field 'target_people' to 'jrydberg,pelle' for review 
 request '20'
 HTTP POSTing to 
 http://rb.edgeware.tv/api/json/reviewrequests/20/draft/set/: 
 {'target_people': 'jrydberg,pelle'}
 Attempting to set field 'summary' to 'TestReview' for review request '20'
 HTTP POSTing to 
 http://rb.edgeware.tv/api/json/reviewrequests/20/draft/set/: {'summary': 
 'TestReview'}
 Uploading diff, size: 11988
>
>
> But this (people, group and summary) does not show up in the draft.
> What am I doing wrong?
>
> --
> 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: post-review can not set summary, group or people

2010-12-02 Thread David Trowbridge
Huh, that sounds wrong. If that's truly the case, we should have a bug about
it.

-David


On Thu, Dec 2, 2010 at 11:12 AM, Jan Koprowski wrote:

> If I remember draft doesn't show fields passed as post-review command
> line parameters but they present and after publish You will see them.
> You can also use post-review with --publish to publish review request
> right away.
>
> On Thu, Dec 2, 2010 at 4:50 PM, Johan Rydberg 
> wrote:
> > Hi
> >
> > Trying to create a new review using the post-review command-line tool:
> >
> > $ post-review -d --revision-range 12558:HEAD --target-groups origin --
> > target-people jrydberg,pelle --summary TestReview
> > ...
>  Review request created
>  Attempting to set field 'target_groups' to 'origin' for review request
> '20'
>  HTTP POSTing to
> http://rb.edgeware.tv/api/json/reviewrequests/20/draft/set/:
> {'target_groups': 'origin'}
>  Attempting to set field 'target_people' to 'jrydberg,pelle' for review
> request '20'
>  HTTP POSTing to
> http://rb.edgeware.tv/api/json/reviewrequests/20/draft/set/:
> {'target_people': 'jrydberg,pelle'}
>  Attempting to set field 'summary' to 'TestReview' for review request
> '20'
>  HTTP POSTing to
> http://rb.edgeware.tv/api/json/reviewrequests/20/draft/set/: {'summary':
> 'TestReview'}
>  Uploading diff, size: 11988
> >
> >
> > But this (people, group and summary) does not show up in the draft.
> > What am I doing wrong?
> >
> > --
> > 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
>
>
>
> --
> ><> Jan Koprowski
>
> --
> 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: post-review can not set summary, group or people

2010-12-02 Thread Jan Koprowski
If I remember draft doesn't show fields passed as post-review command
line parameters but they present and after publish You will see them.
You can also use post-review with --publish to publish review request
right away.

On Thu, Dec 2, 2010 at 4:50 PM, Johan Rydberg  wrote:
> Hi
>
> Trying to create a new review using the post-review command-line tool:
>
> $ post-review -d --revision-range 12558:HEAD --target-groups origin --
> target-people jrydberg,pelle --summary TestReview
> ...
 Review request created
 Attempting to set field 'target_groups' to 'origin' for review request '20'
 HTTP POSTing to 
 http://rb.edgeware.tv/api/json/reviewrequests/20/draft/set/: 
 {'target_groups': 'origin'}
 Attempting to set field 'target_people' to 'jrydberg,pelle' for review 
 request '20'
 HTTP POSTing to 
 http://rb.edgeware.tv/api/json/reviewrequests/20/draft/set/: 
 {'target_people': 'jrydberg,pelle'}
 Attempting to set field 'summary' to 'TestReview' for review request '20'
 HTTP POSTing to 
 http://rb.edgeware.tv/api/json/reviewrequests/20/draft/set/: {'summary': 
 'TestReview'}
 Uploading diff, size: 11988
>
>
> But this (people, group and summary) does not show up in the draft.
> What am I doing wrong?
>
> --
> 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



-- 
><> Jan Koprowski

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