Re: CVS post-review woes

2010-08-31 Thread bigoldrock
Chris,

Thank you very much for your feedback.
In the second error, you state that it is attempting to change the
repository name. I have observed this path is derived from CVS/Root.
Even when I change it to a path that matches my current working
directory it still has the same error. The CVS module in this example
is called getting

Is there something wrong with the way I am doing the first 5 steps?


1. cat CVS/Root
:ext:devd...@foo.bar.com/home/cvs
2. cvs -d:ext:devd...@foo.bar.com/home/cvs checkout getting/fee
3. cd ./getting
4. vi fee/random.file
5. post-review fee/random.file


or the repo bit in admin?


repository settings

namefoobarrepo
path  :ext:nmil...@gpscvs.cybersource.com/home/cvs
mirror path  :ext:devd...@foo.bar.com/home/cvs
name  devdude
password  devdude



bigoldrock

On Aug 28, 2:39 am, Christian Hammond chip...@chipx86.com wrote:
 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 - chip...@chipx86.com
 Review Board -http://www.reviewboard.org
 VMware, Inc. -http://www.vmware.com

 On Fri, Aug 27, 2010 at 12:29 PM, bigoldrock noeldamonmil...@gmail.comwrote:

  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 tohttp://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:devd...@foo.bar.com/home/cvs

  2. cvs -d:ext:devd...@foo.bar.com/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:nmil...@gpscvs.cybersource.com/home/cvs
  mirror path  :ext:devd...@foo.bar.com/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 athttp://www.reviewboard.org/users/
  -~--~~~~--~~--~--~---
  To unsubscribe from this group, send email to
  reviewboard+unsubscr...@googlegroups.comreviewboard%2bunsubscr...@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: CVS post-review woes

2010-08-31 Thread Christian Hammond
You should try setting your Mirror Path to foo.bar.com/home/cvs, and
preferably setting your Path to a non-:ext: CVS Root, if you have one. Using
:ext: is slower and more error-prone, and only works with RB 1.5 RC1 (still
not sure which version you're using).

Christian

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


On Tue, Aug 31, 2010 at 6:45 AM, bigoldrock noeldamonmil...@gmail.comwrote:

 Chris,

 Thank you very much for your feedback.
 In the second error, you state that it is attempting to change the
 repository name. I have observed this path is derived from CVS/Root.
 Even when I change it to a path that matches my current working
 directory it still has the same error. The CVS module in this example
 is called getting

 Is there something wrong with the way I am doing the first 5 steps?

 
 1. cat CVS/Root
 :ext:devd...@foo.bar.com/home/cvs
 2. cvs -d:ext:devd...@foo.bar.com/home/cvs checkout getting/fee
 3. cd ./getting
 4. vi fee/random.file
 5. post-review fee/random.file
 

 or the repo bit in admin?

 
 repository settings

 namefoobarrepo
 path  :ext:nmil...@gpscvs.cybersource.com/home/cvs
 mirror path  :ext:devd...@foo.bar.com/home/cvs
 name  devdude
 password  devdude
 


 bigoldrock

 On Aug 28, 2:39 am, Christian Hammond chip...@chipx86.com wrote:
  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 - chip...@chipx86.com
  Review Board -http://www.reviewboard.org
  VMware, Inc. -http://www.vmware.com
 
  On Fri, Aug 27, 2010 at 12:29 PM, bigoldrock noeldamonmil...@gmail.com
 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 tohttp://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:devd...@foo.bar.com/home/cvs
 
   2. cvs -d:ext:devd...@foo.bar.com/home/cvs checkout getting/fee
 
   3. cd ./getting
 
   4. vi fee/random.file
 
   5. post-review fee/random.file
 
   
 
   repository settings
 
   namefoobarrepo
   path  :ext:nmil...@gpscvs.cybersource.com/home/cvs
   mirror path  :ext:devd...@foo.bar.com/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 athttp://www.reviewboard.org/users/
   -~--~~~~--~~--~--~---
   To unsubscribe from this group, send email to
   reviewboard+unsubscr...@googlegroups.comreviewboard%2bunsubscr...@googlegroups.com
 reviewboard%2bunsubscr...@googlegroups.comreviewboard%252bunsubscr...@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 

Re: CVS post-review woes

2010-08-28 Thread Christian Hammond
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 - chip...@chipx86.com
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com


On Fri, Aug 27, 2010 at 12:29 PM, bigoldrock noeldamonmil...@gmail.comwrote:

 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:devd...@foo.bar.com/home/cvs

 2. cvs -d:ext:devd...@foo.bar.com/home/cvs checkout getting/fee

 3. cd ./getting

 4. vi fee/random.file

 5. post-review fee/random.file

 

 repository settings

 namefoobarrepo
 path  :ext:nmil...@gpscvs.cybersource.com/home/cvs
 mirror path  :ext:devd...@foo.bar.com/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
 reviewboard+unsubscr...@googlegroups.comreviewboard%2bunsubscr...@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

CVS post-review woes

2010-08-27 Thread bigoldrock
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:devd...@foo.bar.com/home/cvs

2. cvs -d:ext:devd...@foo.bar.com/home/cvs checkout getting/fee

3. cd ./getting

4. vi fee/random.file

5. post-review fee/random.file



repository settings

namefoobarrepo
path  :ext:nmil...@gpscvs.cybersource.com/home/cvs
mirror path  :ext:devd...@foo.bar.com/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 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en


Re: CVS post-review woes

2010-08-27 Thread Noel Miller
All,

I intended the path  mirror to match. The fact that they do not is a typo.

... they should both be

path  
:ext:devd...@foo.bar.com/home/cvshttp://ext:nmil...@gpscvs.cybersource.com/home/cvs
mirror path  :ext:devd...@foo.bar.com/home/cvs


cheers,
Noel

On Fri, Aug 27, 2010 at 1:29 PM, bigoldrock noeldamonmil...@gmail.comwrote:

 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:devd...@foo.bar.com/home/cvs

 2. cvs -d:ext:devd...@foo.bar.com/home/cvs checkout getting/fee

 3. cd ./getting

 4. vi fee/random.file

 5. post-review fee/random.file

 

 repository settings

 namefoobarrepo
 path  :ext:nmil...@gpscvs.cybersource.com/home/cvs
 mirror path  :ext:devd...@foo.bar.com/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 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en