more detailed infomation from " debug(data)"  in RBTools-02.beta2-
py2.5.egg, process_json function:
>>> svn info
>>> repository info: Path: cvs_gz:/export/home/cvsroot, Base path: None, 
>>> Supports changesets: False
>>> cvs diff -uN myUCMobile.c reviewboard.jpg
>>> Looking for '192.168.2.20 /reviewboard/' cookie in 
>>> /data/John1/.post-review-cookies.txt
>>> Couldn't load cookie file: [Errno 2] No such file or directory: 
>>> '/data/John1/.post-review-cookies.txt'
==> Review Board Login Required
Enter username and password for Review Board at 
http://192.168.3.20:8080/reviewboard/
>>> Logging in with username "John1"
>>> HTTP POSTing to 
>>> http://192.168.3.20:8080/reviewboard/api/json/accounts/login/: {'username': 
>>> 'John1', 'password': '**************'}

What is the ".post-review-cookies.txt" file?

On 12月11日, 下午7时12分, Christian Hammond <chip...@chipx86.com> wrote:
> Using just the REVIEWBOARD_URL setting is fine. You can put that
> .reviewboardrc file right in the CVS checkout directory if you want.
>
> It sounds like the directory you've specified actually isn't a working path
> to Review Board. That, or what you have specified is redirecting to the
> wrong place. What do you have for REVIEWBOARD_URL?
>
> Christian
>
> --
> Christian Hammond - chip...@chipx86.com
> Review Board -http://www.reviewboard.org
> VMware, Inc. -http://www.vmware.com
>
>
>
> On Fri, Dec 11, 2009 at 2:49 AM, JohnHenry <qhlonl...@163.com> wrote:
> > I had edit the .reviewboardrc file as the type(I have changed the url
> > or cvs path to the site of mine):
> > TREES = {
> >    'http://svn.example.com':{
> >        'REVIEWBOARD_URL': 'http://reviewboard.example.com',
> >    },
> >    'usern...@cvs.example.com:/cvsroot/cvs': {
> >        'REVIEWBOARD_URL': 'http://reviewboard.example.com',
> >    },
> > }
> > But when I use post-review , it report :
> > "Unable to find a Review Board server for this source code tree."
> > Then I had used the second method, I edit the file as the type:
> > REVIEWBOARD_URL = "http://reviewboard.example.com";
> > this time, I can load and then I type username and password of RB user
> > to login, But that returns:
> > "Unable to access
> >http://192.168.2.20:8080/reviewboard/api/json/accounts/login/.";
> > the host path may be invalid HTTP Error 404: Not Found.
> > But I had loged in with this user in Web UI, Then Why I got this under
> > post-review?
> > Need suggestion.
> > Best Regards!
>
> > On 12月11日, 下午6时28分, Christian Hammond <chip...@chipx86.com> wrote:
> > > Hi,
>
> > > post-review is meant to be run from within a CVS checkout (in your case).
> > > So, if you have a checkout in a directory, you should be able to run
> > > post-review and have it generate a diff properly.
>
> > > post-review will simply call out to 'cvs diff', meaning that for
> > > authentication to work, you'll first need to 'cvs login' on that client.
> > > This should only need to be done once on that computer.
>
> > > Christian
>
> > > --
> > > Christian Hammond - chip...@chipx86.com
> > > Review Board -http://www.reviewboard.org
> > > VMware, Inc. -http://www.vmware.com
>
> > > On Fri, Dec 11, 2009 at 1:30 AM, JohnHenry <qhlonl...@163.com> wrote:
> > > > Oh, I see, Thank you. And I have another problem. I think the post-
> > > > review is good tool because it need no hand generated diff file. But I
> > > > had installed the post-review on my Windows machine as client and I
> > > > want to use it to link both RB server on a Linux machine and CVS
> > > > server on another Linux machine, Then How to edit my .reviewboardrc
> > > > file on the Windows machine I am using to reach that? In my
> > > > understanding, The post-review is working on the client so it requires
> > > > a direct link to CVS server to generate and fetch the diff file( and
> > > > then send the diff to RB server ), I don't quite catch the
> > > > Configuration of post-review. I can write in .reviewboardrc as
> > > > follows:
> > > > TREES = {
> > > >    ':pserver:myn...@192.168.2.21:/export/cvsroot': {
> > > >        'REVIEWBOARD_URL': 'http://192.168.2.20:8080/reviewboard',
> > > >    },
> > > > }
> > > > But the CVS server would need my password to login, Then how can I
> > > > login it.
>
> > > > BestRegards!
>
> > > > On 12月11日, 上午11时21分, Scott Quesnelle <scott.quesne...@gmail.com>
> > > > wrote:
> > > > > The idea is that a diff only contains the lines that have changed. RB
> > > > > contacts cvs and checks out the file(s) that are changed, and then
> > > > applies
> > > > > the diff to thos files. This allows you to see the file before and
> > after
> > > > the
> > > > > proposed changed.
>
> > > > > All of this is independent of the actual commit to CVS. You can use
> > any
> > > > > account which is able to access CVS and checkout the necessary files,
> > the
> > > > > account doesn't have to have write permissions to CVS.
>
> > > > > Scott
>
> > > > > On Thu, Dec 10, 2009 at 10:07 PM, JohnHenry <qhlonl...@163.com>
> > wrote:
> > > > > > Hi, all,
> > > > > >   I am now confused by the relationship between CVS and RB. RB has
> > > > > > provieded post-commit review, there is no direct relationship
> > between
> > > > > > RB review and CVS submit. So it looks like that the review process
> > and
> > > > > > CVS operation are independent. But why the RB need a repository
> > > > > > setting? Is the repository used by ReviewBoard the same repository
> > we
> > > > > > do software project? and About the setting of RB repository. We are
> > > > > > using CVS, So Do we need a seperate user defined in CVS for RB use?
> > Or
> > > > > > can I use one of the project developer's account as the RB
> > repository
> > > > > > Path setting?
> > > > > >  Sorry for not enough knowledge about CVS.
>
> > > > > > Regards!
>
> > > > > > --
> > > > > > Want to help the Review Board project? Donate today at
> > > > > >http://www.reviewboard.org/donate/
> > > > > > Happy user? Let us know athttp://www.reviewboard.org/users/
> > > > > > -~----------~----~----~----~------~----~------~--~---
> > > > > > To unsubscribe from this group, send email to
> > > > > > reviewboard+unsubscr...@googlegroups.com<reviewboard%2bunsubscr...@googlegr-oups.com>
> > <reviewboard%2bunsubscr...@googlegr-oups.com>
> > > > <reviewboard%2bunsubscr...@googlegroups.com<reviewboard%252bunsubscr...@goo-glegroups.com>
> > <reviewboard%252bunsubscr...@goo-glegroups.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 athttp://www.reviewboard.org/users/
> > > > -~----------~----~----~----~------~----~------~--~---
> > > > To unsubscribe from this group, send email to
> > > > reviewboard+unsubscr...@googlegroups.com<reviewboard%2bunsubscr...@googlegr-oups.com>
> > <reviewboard%2bunsubscr...@googlegr-oups.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 athttp://www.reviewboard.org/users/
> > -~----------~----~----~----~------~----~------~--~---
> > To unsubscribe from this group, send email to
> > reviewboard+unsubscr...@googlegroups.com<reviewboard%2bunsubscr...@googlegr-oups.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

Reply via email to