Re: Can't upgrade to 1.6.11

2012-08-21 Thread Christian Hammond
I see the upgrade of Review Board, but not the site. Make sure you follow
the documentation on upgrading your Review Board site directory.

Christian

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


On Tue, Aug 21, 2012 at 3:22 PM, Igor Berger  wrote:

> Hello,
>
> I'm trying to upgrade Review Board 1.6.9 to 1.6.11.
> I get no errors, but doesn't upgrade either (please see below).
>
> Any ideas?
>
> Thank you,
> Igor.
>
>
> 
> root@mybox:~# easy_install -U ReviewBoard
> Searching for ReviewBoard
> Reading http://pypi.python.org/simple/ReviewBoard/
> Reading http://www.reviewboard.org/
> Reading http://downloads.reviewboard.org/releases/ReviewBoard/1.5/
> Reading http://downloads.reviewboard.org/releases/ReviewBoard/1.6/
> Reading http://www.review-board.org/
> Reading http://downloads.review-board.org/releases/ReviewBoard/1.0/
> Reading http://downloads.reviewboard.org/releases/ReviewBoard/1.0/
> Reading http://downloads.review-board.org/releases/
> Best match: ReviewBoard 1.6.9
> Processing ReviewBoard-1.6.9-py2.6.egg
> ReviewBoard 1.6.9 is already the active version in easy-install.pth
> Installing rb-site script to /usr/local/bin
> Installing rbssh script to /usr/local/bin
>
> Using /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.9-py2.6.egg
> Reading http://downloads.reviewboard.org/mirror/
> Processing dependencies for ReviewBoard
> Finished processing dependencies for ReviewBoard
> 
>
> --
> 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

Can't upgrade to 1.6.11

2012-08-21 Thread Igor Berger
Hello,

I'm trying to upgrade Review Board 1.6.9 to 1.6.11.
I get no errors, but doesn't upgrade either (please see below).

Any ideas?

Thank you,
Igor.



root@mybox:~# easy_install -U ReviewBoard
Searching for ReviewBoard
Reading http://pypi.python.org/simple/ReviewBoard/
Reading http://www.reviewboard.org/
Reading http://downloads.reviewboard.org/releases/ReviewBoard/1.5/
Reading http://downloads.reviewboard.org/releases/ReviewBoard/1.6/
Reading http://www.review-board.org/
Reading http://downloads.review-board.org/releases/ReviewBoard/1.0/
Reading http://downloads.reviewboard.org/releases/ReviewBoard/1.0/
Reading http://downloads.review-board.org/releases/
Best match: ReviewBoard 1.6.9
Processing ReviewBoard-1.6.9-py2.6.egg
ReviewBoard 1.6.9 is already the active version in easy-install.pth
Installing rb-site script to /usr/local/bin
Installing rbssh script to /usr/local/bin

Using /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.9-py2.6.egg
Reading http://downloads.reviewboard.org/mirror/
Processing dependencies for ReviewBoard
Finished processing dependencies for ReviewBoard


-- 
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 is unable to upload diff

2012-08-21 Thread Rob
Thanks Shaoyan for your response.

If I create a unified diff file using svn diff and then upload via post 
review or Review Board web UI it works fine. 

I have created a script that creates the unified diff, uploads via post 
review, and then opens the web UI.

I am also looking at updating the post review script to create a unified 
diff for subversion.

Regards,

Rob


On Thursday, August 16, 2012 11:09:50 AM UTC+1, Shaoyan Huang wrote:
>
> I think the problem is caused by svn 1.7.x. It output some extra 
> information for "svn diff" and cause ReviewBoard to raise FileNotFound 
> exception.
>
> It's ok if you use TSVN 1.7.x to generate patch and submit by Web UI.
>
> Shaoyan Huang
>
> On Thursday, August 16, 2012 4:44:29 PM UTC+8, Rob wrote:
>>
>> Hi Christian,
>>
>> Thanks for getting back to me.
>>
>> The output I gave was from a post commit, but I did try pre-commit and 
>> the same error occurred.
>>
>> I have looked at repository path in Review Board and it points to the 
>> root of our Subvversion repository. We also have a mirror path that points 
>> to a sub directory inside it.
>>
>> Regards,
>>
>> Rob
>>
>> On Thursday, August 16, 2012 3:51:57 AM UTC+1, Christian Hammond wrote:
>>>
>>> Hi Rob,
>>>
>>> Is the error output that you provided from the attempts before 
>>> committing the file, or after? I ask because it seems to be specifying an 
>>> explicit revision.
>>>
>>> Can you also tell me if the repository path in Review Board points to 
>>> the very base of the SVN repository, or to a subdirectory inside it? It 
>>> should be the root, and problems like these can occur if not.
>>>
>>> Christian
>>>
>>>
>>> On Aug 15, 2012, at 13:06, Rob  wrote:
>>>
>>> Hi,
>>>
>>> I have an issue with Review Board uploading a differences file that has 
>>> a new source file in it (no previous history). 
>>>  
>>> These are the steps I followed;
>>>  
>>> I created a file and added it using TortoiseSvn but not committed.
>>> I then opened a command prompt and entered the text "post-review -d -r19"
>>> The following error occurred
>>> ">>> Got API Error 207 (HTTP code 400): The file was not found in the 
>>> repository
>>> >>> Error data: {u'stat': u'fail', u'file', u'err': {u'msg': u'The file w
>>> as not found in the repository', u'code': 207}, u'revision': u'4026'}
>>> Error uploading diff
>>> Your review request still exists, but the diff is not attached."
>>>  
>>> The file listed as not being found in the repository is the newly added 
>>> file. I then commited the file using subversion and the same problem still 
>>> occured. I have searched for similar issues in the review board group but I 
>>> was unable to find the same symptoms.
>>>
>>> Any advice on this would be much appreciated.
>>>  
>>> Review Board version = 1.6.3
>>> RBTools Version = 0.4.1
>>> TortoiseSvn Version = 1.7.7
>>> Subversion = 1.7.5
>>>
>>> Regards,
>>>
>>> Rob
>>>
>>> -- 
>>> 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...@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: Review entire file without a diff?

2012-08-21 Thread Paulo Silva
ok, answering my own question:

cvs diff -uN -r 9. 

Please note the  9.  that is a revision bigger than the current 
one of the file.
That seems to be produce a diff file as if the file is new. (don't ask me 
why :) )

Tested in windows client, CVS, CVSNT server.

Also using post-review with a revision range higher than the current one 
works.


On Tuesday, August 21, 2012 7:48:34 PM UTC+1, Paulo Silva wrote:
>
> ok, I understand.
>
> Does anyone know how can I produce a diff file (CVS) with the file as a 
> new file?
>
>
>
> On Tuesday, August 21, 2012 7:24:13 PM UTC+1, Christian Hammond wrote:
>>
>> Hi Paulo,
>>
>> Right now, your option is to submit a diff with that file as a new file. 
>> It'd then be reviewed just like any other diff. If it's going into the 
>> repository anyway, you might as well do that, since it'll be easy and 
>> familiar.
>>
>> Going forward, we're working on better review support for file 
>> attachments, which will allow certain file types (text, images, code) to be 
>> reviewed. That'll make its first appearance in a 1.7 beta.
>>
>> Christian
>>
>> -- 
>> Christian Hammond - chi...@chipx86.com
>> Review Board - http://www.reviewboard.org
>> VMware, Inc. - http://www.vmware.com
>>
>>
>> On Tue, Aug 21, 2012 at 11:09 AM, Paulo Silva  wrote:
>>
>>> Hi,
>>>
>>> Besides pre and post commit reviews I also have a use case for "ad-hoc 
>>> reviews" where the team chooses a file and code reviews it (the last 
>>> revision of it). 
>>> In this case I don't want to use any diff file, I just want to pick the 
>>> file and be able to review it.
>>>
>>> How can I achieve this easily in reviewboard?
>>>
>>> Basically I want to submit a file and review it all, without submiting a 
>>> diff file. Is this possible? 
>>> A possible hack would be to submit a diff file with the whole file 
>>> lines? 
>>>  
>>> -- 
>>> 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...@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: Review entire file without a diff?

2012-08-21 Thread scott . quesnelle
If the file is already in the repository, the just add a single space to the 
start of every line.

If it isn't in the repository, for cvs it is the the following two steps

Cvs add the file
Cvs diff -Nu

Scott
Sent wirelessly from my BlackBerry device on the Bell network.
Envoyé sans fil par mon terminal mobile BlackBerry sur le réseau de Bell.

-Original Message-
From: Paulo Silva 
Sender: reviewboard@googlegroups.com
Date: Tue, 21 Aug 2012 11:48:34 
To: 
Reply-To: reviewboard@googlegroups.com
Cc: 
Subject: Re: Review entire file without a diff?

ok, I understand.

Does anyone know how can I produce a diff file (CVS) with the file as a new 
file?



On Tuesday, August 21, 2012 7:24:13 PM UTC+1, Christian Hammond wrote:
>
> Hi Paulo,
>
> Right now, your option is to submit a diff with that file as a new file. 
> It'd then be reviewed just like any other diff. If it's going into the 
> repository anyway, you might as well do that, since it'll be easy and 
> familiar.
>
> Going forward, we're working on better review support for file 
> attachments, which will allow certain file types (text, images, code) to be 
> reviewed. That'll make its first appearance in a 1.7 beta.
>
> Christian
>
> -- 
> Christian Hammond - chi...@chipx86.com 
> Review Board - http://www.reviewboard.org
> VMware, Inc. - http://www.vmware.com
>
>
> On Tue, Aug 21, 2012 at 11:09 AM, Paulo Silva 
> > wrote:
>
>> Hi,
>>
>> Besides pre and post commit reviews I also have a use case for "ad-hoc 
>> reviews" where the team chooses a file and code reviews it (the last 
>> revision of it). 
>> In this case I don't want to use any diff file, I just want to pick the 
>> file and be able to review it.
>>
>> How can I achieve this easily in reviewboard?
>>
>> Basically I want to submit a file and review it all, without submiting a 
>> diff file. Is this possible? 
>> A possible hack would be to submit a diff file with the whole file lines? 
>>  
>> -- 
>> 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...@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/
-~--~~~~--~~--~--~---
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: Review entire file without a diff?

2012-08-21 Thread Paulo Silva
ok, I understand.

Does anyone know how can I produce a diff file (CVS) with the file as a new 
file?



On Tuesday, August 21, 2012 7:24:13 PM UTC+1, Christian Hammond wrote:
>
> Hi Paulo,
>
> Right now, your option is to submit a diff with that file as a new file. 
> It'd then be reviewed just like any other diff. If it's going into the 
> repository anyway, you might as well do that, since it'll be easy and 
> familiar.
>
> Going forward, we're working on better review support for file 
> attachments, which will allow certain file types (text, images, code) to be 
> reviewed. That'll make its first appearance in a 1.7 beta.
>
> Christian
>
> -- 
> Christian Hammond - chi...@chipx86.com 
> Review Board - http://www.reviewboard.org
> VMware, Inc. - http://www.vmware.com
>
>
> On Tue, Aug 21, 2012 at 11:09 AM, Paulo Silva 
> > wrote:
>
>> Hi,
>>
>> Besides pre and post commit reviews I also have a use case for "ad-hoc 
>> reviews" where the team chooses a file and code reviews it (the last 
>> revision of it). 
>> In this case I don't want to use any diff file, I just want to pick the 
>> file and be able to review it.
>>
>> How can I achieve this easily in reviewboard?
>>
>> Basically I want to submit a file and review it all, without submiting a 
>> diff file. Is this possible? 
>> A possible hack would be to submit a diff file with the whole file lines? 
>>  
>> -- 
>> 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...@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: Got API Error 206 (HTTP code 400): The repository path specified is not in the list of known repositories

2012-08-21 Thread Christian Hammond
You don't want to be using --repository-url, if you have a .reviewboardrc
file.

You also want to make sure you're running this from the checkout directory.

Christian

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


On Tue, Aug 21, 2012 at 3:45 AM, cmuser  wrote:

>
> I added this line in commitinfo..
>
> /usr/bin/post-review -dn --server=http://172.16.7.100:81
> --submit-as=$name  --repository-url=:pserver:$user@svn:/opt/cvsroot
>
> -bash-3.2$ cvs ci -m "BugID:47300 update"   document.txt
> Post-review for /opt/cvsroot/test
> >>> RBTools 0.4.1
> >>> Home = /
> No supported repository could be accessed at the supplied url.
> A commit is occurring in /opt/cvsroot/test
> 08/21/12 [16:13:16]: A commit is occurring in /opt/cvsroot/test
> 08/21/12 [16:13:16]: Pre-commit check for document.txt
> cvs commit: Pre-commit check failed
> cvs [commit aborted]: correct above errors first!
> -bash-3.2$ cat .reviewboardrc
>
> REPOSITORY = 'svn:/opt/cvsroot'
> REVIEWBOARD_URL = 'http://172.16.7.100:81'
> -bash-3.2$
>
> reviewboard repo settings path- svn:/opt/cvsroot
>
> How can i debug this further?
>
>
>
> On Tuesday, August 21, 2012 4:11:45 PM UTC+5:30, cmuser wrote:
>>
>> My gratitude again for replying Christian.
>>
>> Versions-
>> ReviewBoard==1.6.1
>> RBTools==0.4.1
>>
>>
>>
>>
>>
>> On Tuesday, August 21, 2012 12:52:17 PM UTC+5:30, Christian Hammond wrote:
>>>
>>> Oh, your RBTools is pretty old. You will need 0.4.x.
>>>
>>> What version of Review Board are you using?
>>>
>>> Christian
>>>
>>> --
>>> Christian Hammond - chi...@chipx86.com
>>> Review Board - http://www.reviewboard.org
>>> VMware, Inc. - http://www.vmware.com
>>>
>>>
>>> On Tue, Aug 21, 2012 at 12:09 AM, cmuser  wrote:
>>>
 to show more error on m/c where cvs installed , reviewboard on another
 m/c

  cat .reviewboardrc
 REPOSITORY = 'svn:/opt/cvsroot'

 REVIEWBOARD_URL = 'http://172.16.7.100:81'
 -bash-3.2$ post-review   **
   **
 There was an error creating this review request.

 The repository path "svn.mmt.com:/opt/cvsroot" is not in the

 list of known repositories on the server.

 Ask the administrator to add this repository to the Review Board server.
 For information on adding repositories, please read
 http://www.reviewboard.org/**docs/manual/dev/admin/**
 management/repositories/
 -bash-3.2$




 On Monday, August 20, 2012 4:38:36 PM UTC+5:30, cmuser wrote:

>
> I have reviewboard install on server named "ABC(172.16.7.100)" & my
> cvs is installed on server "DEF"
> when i commit code from ser "ABC" it works but same command when i try
> on ser-"DEF" it fails with below error. Can some1 help where i am going
> wrong?
> Not sure if .reviewboardrc file should also be there, but i have
> tried with that also but still it failed
>
> cat .reviewboardrc
>
> REPOSITORY = ':pserver:cmsuer@def:/opt/**cvsr**oot'
>
> REVIEWBOARD_URL = 'http://172.16.7.100:81'
>
> command on changed files-
>
> $>post-review --debug 
> --server=http://172.16.7.100:**8**1--username=admin
>  --password=admin  --repository-url=':pserver:
> **cmu**ser@def:/opt/cvsroot'
> >>> RBTools 0.3
> >>> svn info :pserver:kapilap@def:/opt/**cvsr**oot
> >>> repository info: Path: svn.mmt.com:/opt/cvsroot, Base path: None,
> Supports changesets: False
> >>> cvs diff -uN
> >>> HTTP GETting api/
> >>> HTTP GETting 
> >>> http://172.16.7.100:81/api/**inf**o/
> >>> Using the new web API
> >>> Attempting to create review request on def.domain.com:/opt/cvsroot
> for None
> >>> HTTP POSTing to 
> >>> http://172.16.7.100:81/api/**rev**iew-requests/:
> {'repository': 'def.domain.com:/opt/cvsroot'}
> >>> Got API Error 206 (HTTP code 400): The repository path specified
> is not in the list of known repositories
> >>> Error data: {'stat': 'fail', 'repository': 
> >>> 'def.domain.com:/opt/cvsroot',
> 'err': {'msg': 'The repository path specified is not in the list of known
> repositories', 'code': 206}}
>
> There was an error creating this review request.
>
> The repository path "def.domain.com:/opt/cvsroot" is not in the
> list of known repositories on the server.
>
>
>
>  --
 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 

Re: Connect to ssh on non-standard port

2012-08-21 Thread Christian Hammond
Hi,

This support doesn't yet exist in rbssh. It should be added. Would you mind
filing a feature request for this? (If anyone is willing to work on a
patch, it'll definitely be added sooner.)

Christian

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


On Tue, Aug 21, 2012 at 8:26 AM, Kristina Clair wrote:

> Did you ever figure out how to get this to work? I'm having the same
> problem.
>
>
> On Friday, January 20, 2012 3:26:06 AM UTC-5, pprkut wrote:
>>
>>  Hi!
>>
>> I set up reviewboard 1.6.3 and tried to add a git repository with a
>> remote ssh location and cgit file fetching combination. I am running ssh on
>> a non-standard port and I can't seem to find a way to configure reviewboard
>> for it. Is there any way I can tell reviewboard which port to use for ssh?
>>
>> So far I tried putting a 'config' file in the .ssh folder under /data, as
>> well as specifying a 'ssh://g...@mydomain.com:[port]**/repository.git'
>> style URL as Path.
>>
>> Thanks in advance!
>>
>> Grs,
>>
>> Heinz
>>
>  --
> 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: Review entire file without a diff?

2012-08-21 Thread Christian Hammond
Hi Paulo,

Right now, your option is to submit a diff with that file as a new file.
It'd then be reviewed just like any other diff. If it's going into the
repository anyway, you might as well do that, since it'll be easy and
familiar.

Going forward, we're working on better review support for file attachments,
which will allow certain file types (text, images, code) to be reviewed.
That'll make its first appearance in a 1.7 beta.

Christian

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


On Tue, Aug 21, 2012 at 11:09 AM, Paulo Silva  wrote:

> Hi,
>
> Besides pre and post commit reviews I also have a use case for "ad-hoc
> reviews" where the team chooses a file and code reviews it (the last
> revision of it).
> In this case I don't want to use any diff file, I just want to pick the
> file and be able to review it.
>
> How can I achieve this easily in reviewboard?
>
> Basically I want to submit a file and review it all, without submiting a
> diff file. Is this possible?
> A possible hack would be to submit a diff file with the whole file lines?
>
> --
> 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

Review entire file without a diff?

2012-08-21 Thread Paulo Silva
Hi,

Besides pre and post commit reviews I also have a use case for "ad-hoc 
reviews" where the team chooses a file and code reviews it (the last 
revision of it). 
In this case I don't want to use any diff file, I just want to pick the 
file and be able to review it.

How can I achieve this easily in reviewboard?

Basically I want to submit a file and review it all, without submiting a 
diff file. Is this possible? 
A possible hack would be to submit a diff file with the whole file lines? 

-- 
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 failing from post-commit hook, but not when run manually

2012-08-21 Thread Peter Konneker
So first I set the path, home, and group variable and exported them from 
the svn hook.

export 
> PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/home/$AUTHOR/bin
> export HOME=/home/$AUTHOR
> export GROUP=mygroup


If that doesn't work for you let me know. There's a ton of stuff I had to 
try to get my hook working the way I wanted, haha.

-Peter

-- 
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: Trying to configure CVS repository but always gets A repository was not found at the specified path.

2012-08-21 Thread iamagui
cmuser,

I am not sure about REPOSITORY in .reviewboardrc but could you try just the 
IP for REVIEWBOARD_URL (drop the colon (:) and the port (81)), that is

REVIEWBOARD_URL = "http://172.16.17.100";

-- 
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: Trying to configure CVS repository but always gets A repository was not found at the specified path.

2012-08-21 Thread iamagui
Paulo,

Refer attached myCVS.jpg for my setting. /home/myCVS is my cvsROOT which 
contains the directory 'CVSROOT' and 4 modules.

If your set up is similar to mine and you do NOT have access to your 
cvsROOT directory, then I would give the Admin username and password to the 
person/team who have access to the cvsROOT and request them to fill in the 
'username' and 'password' for the cvsROOT in the 'Repository Hosting' 
section.

-- 
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: Connect to ssh on non-standard port

2012-08-21 Thread Kristina Clair
Did you ever figure out how to get this to work? I'm having the same 
problem.

On Friday, January 20, 2012 3:26:06 AM UTC-5, pprkut wrote:
>
>  Hi!
>
> I set up reviewboard 1.6.3 and tried to add a git repository with a remote 
> ssh location and cgit file fetching combination. I am running ssh on a 
> non-standard port and I can't seem to find a way to configure reviewboard 
> for it. Is there any way I can tell reviewboard which port to use for ssh?
>
> So far I tried putting a 'config' file in the .ssh folder under /data, as 
> well as specifying a 'ssh://g...@mydomain.com:[port]/repository.git' style 
> URL as Path.
>
> Thanks in advance!
>
> Grs,
>
> Heinz
>

-- 
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 failing from post-commit hook, but not when run manually

2012-08-21 Thread cmuser
Hello Peter,
 Can you address how you fixed the same, i m getting same error.

On Friday, July 13, 2012 3:20:11 AM UTC+5:30, Peter Konneker wrote:
>
> Got it. Not sure which variable it needs, though.
>
> On Wednesday, July 11, 2012 1:08:52 PM UTC-6, Peter Konneker wrote:
>>
>> Hey,
>>
>> I can run the command: 
>>
>>> post-review -p --repository-url=file:///home/svn/repos/project 
>>> --revision-range=$PREV:$REV 
>>> --server=http://192.168.0.55--username='rbcommit' --password='pwd' 
>>> --submit-as=user --debug 
>>> --summary="$LOG1" > /var/log/test.out &
>>
>>
>> just fine manually, but when it runs from the post-commit hook it is 
>> giving me the following output:
>>
>>> >>> RBTools 0.4.1
>>> >>> Home =
>>> No supported repository could be accessed at the supplied url. 
>>
>>
>> I assume this is a path or other environment error?
>>
>> Here's what I get from outputting env and then specifically $path
>>
>>> PWD=/wahoo/home/myuser
>>> /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
>>
>>
>>

-- 
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: Got API Error 206 (HTTP code 400): The repository path specified is not in the list of known repositories

2012-08-21 Thread cmuser

I added this line in commitinfo..

/usr/bin/post-review -dn --server=http://172.16.7.100:81   
--submit-as=$name  --repository-url=:pserver:$user@svn:/opt/cvsroot

-bash-3.2$ cvs ci -m "BugID:47300 update"   document.txt
Post-review for /opt/cvsroot/test
>>> RBTools 0.4.1
>>> Home = /
No supported repository could be accessed at the supplied url.
A commit is occurring in /opt/cvsroot/test
08/21/12 [16:13:16]: A commit is occurring in /opt/cvsroot/test
08/21/12 [16:13:16]: Pre-commit check for document.txt
cvs commit: Pre-commit check failed
cvs [commit aborted]: correct above errors first!
-bash-3.2$ cat .reviewboardrc
REPOSITORY = 'svn:/opt/cvsroot'
REVIEWBOARD_URL = 'http://172.16.7.100:81'
-bash-3.2$

reviewboard repo settings path- svn:/opt/cvsroot

How can i debug this further?


On Tuesday, August 21, 2012 4:11:45 PM UTC+5:30, cmuser wrote:
>
> My gratitude again for replying Christian.
>
> Versions-
> ReviewBoard==1.6.1
> RBTools==0.4.1
>
>
>
>
>
> On Tuesday, August 21, 2012 12:52:17 PM UTC+5:30, Christian Hammond wrote:
>>
>> Oh, your RBTools is pretty old. You will need 0.4.x.
>>
>> What version of Review Board are you using?
>>
>> Christian
>>
>> -- 
>> Christian Hammond - chi...@chipx86.com
>> Review Board - http://www.reviewboard.org
>> VMware, Inc. - http://www.vmware.com
>>
>>
>> On Tue, Aug 21, 2012 at 12:09 AM, cmuser  wrote:
>>
>>> to show more error on m/c where cvs installed , reviewboard on another 
>>> m/c 
>>>
>>>  cat .reviewboardrc
>>> REPOSITORY = 'svn:/opt/cvsroot'
>>>
>>> REVIEWBOARD_URL = 'http://172.16.7.100:81'
>>> -bash-3.2$ 
>>> post-review  
>>> There was an error creating this review request.
>>>
>>> The repository path "svn.mmt.com:/opt/cvsroot" is not in the
>>>
>>> list of known repositories on the server.
>>>
>>> Ask the administrator to add this repository to the Review Board server.
>>> For information on adding repositories, please read
>>> http://www.reviewboard.org/docs/manual/dev/admin/management/repositories/
>>> -bash-3.2$
>>>
>>>
>>>
>>>
>>> On Monday, August 20, 2012 4:38:36 PM UTC+5:30, cmuser wrote:
>>>

 I have reviewboard install on server named "ABC(172.16.7.100)" & my cvs 
 is installed on server "DEF"
 when i commit code from ser "ABC" it works but same command when i try 
 on ser-"DEF" it fails with below error. Can some1 help where i am going 
 wrong?
 Not sure if .reviewboardrc file should also be there, but i have tried 
 with that also but still it failed

 cat .reviewboardrc

 REPOSITORY = ':pserver:cmsuer@def:/opt/**cvsroot'

 REVIEWBOARD_URL = 'http://172.16.7.100:81'

 command on changed files-

 $>post-review --debug 
 --server=http://172.16.7.100:**81--username=admin 
 --password=admin  --repository-url=':pserver:
 **cmuser@def:/opt/cvsroot'
 >>> RBTools 0.3
 >>> svn info :pserver:kapilap@def:/opt/**cvsroot
 >>> repository info: Path: svn.mmt.com:/opt/cvsroot, Base path: None, 
 Supports changesets: False
 >>> cvs diff -uN
 >>> HTTP GETting api/
 >>> HTTP GETting 
 >>> http://172.16.7.100:81/api/**info/
 >>> Using the new web API
 >>> Attempting to create review request on def.domain.com:/opt/cvsroot 
 for None
 >>> HTTP POSTing to 
 >>> http://172.16.7.100:81/api/**review-requests/:
 >>>  
 {'repository': 'def.domain.com:/opt/cvsroot'}
 >>> Got API Error 206 (HTTP code 400): The repository path specified is 
 not in the list of known repositories
 >>> Error data: {'stat': 'fail', 'repository': 
 'def.domain.com:/opt/cvsroot', 'err': {'msg': 'The repository path 
 specified is not in the list of known repositories', 'code': 206}}

 There was an error creating this review request.

 The repository path "def.domain.com:/opt/cvsroot" is not in the
 list of known repositories on the server.



  -- 
>>> 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...@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: Got API Error 206 (HTTP code 400): The repository path specified is not in the list of known repositories

2012-08-21 Thread cmuser
My gratitude again for replying Christian.

Versions-
ReviewBoard==1.6.1
RBTools==0.4.1





On Tuesday, August 21, 2012 12:52:17 PM UTC+5:30, Christian Hammond wrote:
>
> Oh, your RBTools is pretty old. You will need 0.4.x.
>
> What version of Review Board are you using?
>
> Christian
>
> -- 
> Christian Hammond - chi...@chipx86.com 
> Review Board - http://www.reviewboard.org
> VMware, Inc. - http://www.vmware.com
>
>
> On Tue, Aug 21, 2012 at 12:09 AM, cmuser 
> > wrote:
>
>> to show more error on m/c where cvs installed , reviewboard on another 
>> m/c 
>>
>>  cat .reviewboardrc
>> REPOSITORY = 'svn:/opt/cvsroot'
>>
>> REVIEWBOARD_URL = 'http://172.16.7.100:81'
>> -bash-3.2$ 
>> post-review  
>> There was an error creating this review request.
>>
>> The repository path "svn.mmt.com:/opt/cvsroot" is not in the
>>
>> list of known repositories on the server.
>>
>> Ask the administrator to add this repository to the Review Board server.
>> For information on adding repositories, please read
>> http://www.reviewboard.org/docs/manual/dev/admin/management/repositories/
>> -bash-3.2$
>>
>>
>>
>>
>> On Monday, August 20, 2012 4:38:36 PM UTC+5:30, cmuser wrote:
>>
>>>
>>> I have reviewboard install on server named "ABC(172.16.7.100)" & my cvs 
>>> is installed on server "DEF"
>>> when i commit code from ser "ABC" it works but same command when i try 
>>> on ser-"DEF" it fails with below error. Can some1 help where i am going 
>>> wrong?
>>> Not sure if .reviewboardrc file should also be there, but i have tried 
>>> with that also but still it failed
>>>
>>> cat .reviewboardrc
>>>
>>> REPOSITORY = ':pserver:cmsuer@def:/opt/**cvsroot'
>>>
>>> REVIEWBOARD_URL = 'http://172.16.7.100:81'
>>>
>>> command on changed files-
>>>
>>> $>post-review --debug 
>>> --server=http://172.16.7.100:**81--username=admin 
>>> --password=admin  --repository-url=':pserver:
>>> **cmuser@def:/opt/cvsroot'
>>> >>> RBTools 0.3
>>> >>> svn info :pserver:kapilap@def:/opt/**cvsroot
>>> >>> repository info: Path: svn.mmt.com:/opt/cvsroot, Base path: None, 
>>> Supports changesets: False
>>> >>> cvs diff -uN
>>> >>> HTTP GETting api/
>>> >>> HTTP GETting 
>>> >>> http://172.16.7.100:81/api/**info/
>>> >>> Using the new web API
>>> >>> Attempting to create review request on def.domain.com:/opt/cvsroot 
>>> for None
>>> >>> HTTP POSTing to 
>>> >>> http://172.16.7.100:81/api/**review-requests/:
>>> >>>  
>>> {'repository': 'def.domain.com:/opt/cvsroot'}
>>> >>> Got API Error 206 (HTTP code 400): The repository path specified is 
>>> not in the list of known repositories
>>> >>> Error data: {'stat': 'fail', 'repository': 
>>> 'def.domain.com:/opt/cvsroot', 'err': {'msg': 'The repository path 
>>> specified is not in the list of known repositories', 'code': 206}}
>>>
>>> There was an error creating this review request.
>>>
>>> The repository path "def.domain.com:/opt/cvsroot" is not in the
>>> list of known repositories on the server.
>>>
>>>
>>>
>>>  -- 
>> 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...@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: Got API Error 206 (HTTP code 400): The repository path specified is not in the list of known repositories

2012-08-21 Thread Christian Hammond
Oh, your RBTools is pretty old. You will need 0.4.x.

What version of Review Board are you using?

Christian

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


On Tue, Aug 21, 2012 at 12:09 AM, cmuser  wrote:

> to show more error on m/c where cvs installed , reviewboard on another m/c
>
>  cat .reviewboardrc
> REPOSITORY = 'svn:/opt/cvsroot'
>
> REVIEWBOARD_URL = 'http://172.16.7.100:81'
> -bash-3.2$
> post-review
> There was an error creating this review request.
>
> The repository path "svn.mmt.com:/opt/cvsroot" is not in the
>
> list of known repositories on the server.
>
> Ask the administrator to add this repository to the Review Board server.
> For information on adding repositories, please read
> http://www.reviewboard.org/docs/manual/dev/admin/management/repositories/
> -bash-3.2$
>
>
>
>
> On Monday, August 20, 2012 4:38:36 PM UTC+5:30, cmuser wrote:
>
>>
>> I have reviewboard install on server named "ABC(172.16.7.100)" & my cvs
>> is installed on server "DEF"
>> when i commit code from ser "ABC" it works but same command when i try on
>> ser-"DEF" it fails with below error. Can some1 help where i am going wrong?
>> Not sure if .reviewboardrc file should also be there, but i have tried
>> with that also but still it failed
>>
>> cat .reviewboardrc
>>
>> REPOSITORY = ':pserver:cmsuer@def:/opt/**cvsroot'
>>
>> REVIEWBOARD_URL = 'http://172.16.7.100:81'
>>
>> command on changed files-
>>
>> $>post-review --debug 
>> --server=http://172.16.7.100:**81--username=admin 
>> --password=admin  --repository-url=':pserver:
>> **cmuser@def:/opt/cvsroot'
>> >>> RBTools 0.3
>> >>> svn info :pserver:kapilap@def:/opt/**cvsroot
>> >>> repository info: Path: svn.mmt.com:/opt/cvsroot, Base path: None,
>> Supports changesets: False
>> >>> cvs diff -uN
>> >>> HTTP GETting api/
>> >>> HTTP GETting 
>> >>> http://172.16.7.100:81/api/**info/
>> >>> Using the new web API
>> >>> Attempting to create review request on def.domain.com:/opt/cvsroot
>> for None
>> >>> HTTP POSTing to 
>> >>> http://172.16.7.100:81/api/**review-requests/:
>> {'repository': 'def.domain.com:/opt/cvsroot'}
>> >>> Got API Error 206 (HTTP code 400): The repository path specified is
>> not in the list of known repositories
>> >>> Error data: {'stat': 'fail', 'repository': 'def.domain.com:/opt/cvsroot',
>> 'err': {'msg': 'The repository path specified is not in the list of known
>> repositories', 'code': 206}}
>>
>> There was an error creating this review request.
>>
>> The repository path "def.domain.com:/opt/cvsroot" is not in the
>> list of known repositories on the server.
>>
>>
>>
>>  --
> 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: Got API Error 206 (HTTP code 400): The repository path specified is not in the list of known repositories

2012-08-21 Thread cmuser
to show more error on m/c where cvs installed , reviewboard on another m/c 

 cat .reviewboardrc
REPOSITORY = 'svn:/opt/cvsroot'
REVIEWBOARD_URL = 'http://172.16.7.100:81'
-bash-3.2$ 
post-review  
There was an error creating this review request.

The repository path "svn.mmt.com:/opt/cvsroot" is not in the
list of known repositories on the server.

Ask the administrator to add this repository to the Review Board server.
For information on adding repositories, please read
http://www.reviewboard.org/docs/manual/dev/admin/management/repositories/
-bash-3.2$



On Monday, August 20, 2012 4:38:36 PM UTC+5:30, cmuser wrote:
>
>
> I have reviewboard install on server named "ABC(172.16.7.100)" & my cvs is 
> installed on server "DEF"
> when i commit code from ser "ABC" it works but same command when i try on 
> ser-"DEF" it fails with below error. Can some1 help where i am going wrong?
> Not sure if .reviewboardrc file should also be there, but i have tried 
> with that also but still it failed
>
> cat .reviewboardrc
>
> REPOSITORY = ':pserver:cmsuer@def:/opt/cvsroot'
>
> REVIEWBOARD_URL = 'http://172.16.7.100:81'
>
> command on changed files-
>
> $>post-review --debug --server=http://172.16.7.100:81 --username=admin 
> --password=admin  --repository-url=':pserver:cmuser@def:/opt/cvsroot'
> >>> RBTools 0.3
> >>> svn info :pserver:kapilap@def:/opt/cvsroot
> >>> repository info: Path: svn.mmt.com:/opt/cvsroot, Base path: None, 
> Supports changesets: False
> >>> cvs diff -uN
> >>> HTTP GETting api/
> >>> HTTP GETting http://172.16.7.100:81/api/info/
> >>> Using the new web API
> >>> Attempting to create review request on def.domain.com:/opt/cvsroot for 
> None
> >>> HTTP POSTing to http://172.16.7.100:81/api/review-requests/: 
> {'repository': 'def.domain.com:/opt/cvsroot'}
> >>> Got API Error 206 (HTTP code 400): The repository path specified is 
> not in the list of known repositories
> >>> Error data: {'stat': 'fail', 'repository': 
> 'def.domain.com:/opt/cvsroot', 'err': {'msg': 'The repository path 
> specified is not in the list of known repositories', 'code': 206}}
>
> There was an error creating this review request.
>
> The repository path "def.domain.com:/opt/cvsroot" is not in the
> list of known repositories on the server.
>
>
>
>

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