Hi, post-review, in the second example, is attempting to change the repository name to 'foo.bar.com/home/cvs', and expects Review Board to have an entry for that.
I wasn't sure from your description what values caused the first error output vs. the second. The first error is basically a result of Review Board not being able to authenticate with the CVS server. What version of Review Board are you running? You need 1.5 RC1 to be able to authenticate with :ext: hosts (without doing custom work to store credentials somewhere). If at all possible, you should use provide a read-only, non-SSH-backed repository path to give to Review Board. It'll be faster and won't have authentication issues. Christian -- Christian Hammond - [email protected] Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Fri, Aug 27, 2010 at 12:29 PM, bigoldrock <[email protected]>wrote: > RB, > > Please help: I am able to get either > > Got API Error 105 (HTTP code 200): One or more fields had errors > >>> Error data: {u'fields': {u'path': [u'Permission denied, please try > again.\r\nPermission denied, please try again.\r\nPermission denied > (publickey,gssapi-with-mic,password).\r\ncvs [checkout aborted]: end of file > from server (consult above messages if any)\n']}, u'stat': u'fail', u'err': > {u'msg': u'One or more fields had errors', u'code': 105}} > > or > > HTTP POSTing to http://localhost/reviews/api/json/reviewrequests/new/: > {'repository_path': 'foo.bar.com/home/cvs', 'submit_as': 'foo'} > >>> Got API Error 206 (HTTP code 200): The repository path specified is not > in the list of known repositories > >>> Error data: {u'repository_path': u'foo.bar.com/home/cvs', u'stat': > u'fail', u'err': {u'msg': u'The repository path specified is not in the list > of known repositories', u'code': 206}} > > > depending on how I set up the repository. > > please provide a functional example for CVS respository settings, post- > review command, and path in which you run it. > > given the following: > > > #################### > 1. cat CVS/Root > :ext:[email protected]/home/cvs > > 2. cvs -d:ext:[email protected]/home/cvs checkout getting/fee > > 3. cd ./getting > > 4. vi fee/random.file > > 5. post-review fee/random.file > > #################### > > repository settings > > name foobarrepo > path :ext:[email protected]/home/cvs > mirror path :ext:[email protected]/home/cvs > name devdude > password devdude > > > #################### > > post-review -p -d --server=http://localhost/reviews/ --submit- > as='devdude' --username=devdude --password=devdude --summary='this is > a test reviewboard entry' --description='added a single comment to the > random.file file' fee > > #################### > > what looks wrong or inconsistent? > > -- > 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 > [email protected]<reviewboard%[email protected]> > 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 [email protected] For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en
