Re: Trying to configure CVS repository but always gets A repository was not found at the specified path.

2012-08-20 Thread cmuser
Hi guys,
  I am also facing issue in cvs connection.
When i post-review from the server where reviewboard is install it works 
fine but from another server it fails.

post here-
https://groups.google.com/forum/?hl=en&fromgroups=#!topic/reviewboard/VWZsG2QDreU

what i did in my review board repository setting-
Path-svn:/opt/cvsroot
Mirror path- svn:/opt/cvsroot


** Don't understand should we add pserver also?
like this :pserver:cmuser@svn:/opt/cvsroot

?

In my .reviewbaordrc file i added-

cat .reviewboardrc

 

REPOSITORY = ':pserver:cmuser@svn:/opt/cvsroot'

REVIEWBOARD_URL = 'http://172.16.17.100:81'

With this commit happens only on one server:(. Can some1 help to resolve 
this?


On Tuesday, August 21, 2012 5:23:50 AM UTC+5:30, Paulo Silva wrote:
>
> Thanks for your help,
>
> I use CVS with ":/cvsntroot" but I also need to specify what's my 
> "working directory" (module, subproject).
> I mean, that's my CVSROOT but in my CVS there are projects for my whole 
> company and I don't have access to the root dir, only some 
> subprojects/modules.
>
> So when I add my repository I need to set also what's going to be my 
> subproject/module. 
>
> And that was my question, how do I set this while configuring my 
> repository?
> Because the error I'm getting maybe it's some kind of permission problem 
> (as I don't have access to the CVSROOT dir, only the subprojects).
>
>
> Anyway, if there more tips on how to debug this I would appreciate.
> Thanks in advance 
>
>
> On Monday, August 20, 2012 6:16:49 PM UTC+1, iamagui wrote:
>>
>> Could you let me know what you mean by 'how can I specify the module'? 
>> You mean in the webpage? 
>>
>> And how are you accessing your subprojects?
>>
>> I am using CVS and it works with just ':/cvsntroot'. I am NOT an 
>> expert, just trying to share what I know.
>
>

-- 
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-20 Thread cmuser
Thanx Christian for your reply.

To summarize your input- 
in .reviewboardrc file 
  REPOSITORY = "my repo name"
Where "my repo name" is the exact name for the repository entry in Review 
Board.

I have done the same , but still its not working:( 

On Monday, August 20, 2012 10:59:53 PM UTC+5:30, Christian Hammond wrote:
>
> I recommend you use named repositories. It will work around this issue. 
> Instead of setting REPOSITORY to a path, set it to the configured name of 
> the repository.
>
> Christian
>
>
>
> On Aug 20, 2012, at 4:08, 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: how to use nginx to host review board site

2012-08-20 Thread Christian Hammond
Hi Michael,

Here's a configuration you can base yours off of:


upstream reviews {
server 127.0.0.1:6081;
}

server {
listen 80;
server_name reviews.reviewboard.org reviews.review-board.org;
access_log /var/www/reviews.reviewboard.org/logs/nginx_access_log;
error_log /var/www/reviews.reviewboard.org/logs/nginx_error_log;

location / {
proxy_pass http://reviews;
proxy_redirect  off;
proxy_set_headerHost $host;
proxy_set_headerX-Real-IP $remote_addr;
proxy_set_headerX-Forwarded-For
$proxy_add_x_forwarded_for;
client_max_body_size10m;
client_body_buffer_size 128k;
proxy_connect_timeout   90;
proxy_send_timeout  90;
proxy_read_timeout  90;
proxy_buffer_size   4k;
proxy_buffers   4 32k;
proxy_busy_buffers_size 64k;
proxy_temp_file_write_size  64k;
}

location /media/ {
alias /var/www/reviews.reviewboard.org/htdocs/media/;

if ($query_string) {
expires max;
}
}

location /static/ {
alias /var/www/reviews.reviewboard.org/htdocs/static/;

if ($query_string) {
expires max;
}
}

location /errordocs/ {
alias /var/www/reviews.reviewboard.org/htdocs/errordocs/;
expires 30d;
}
}


Christian


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


On Mon, Aug 20, 2012 at 7:49 PM, Michael Zhu  wrote:

> Dear all,
>
> I want to setup reviewboard using nginx. please help me.
> thank you all.
> B.R.
>
> Michael
>
> --
> 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

how to use nginx to host review board site

2012-08-20 Thread Michael Zhu
Dear all,

I want to setup reviewboard using nginx. please help me.
thank you all.
B.R.

Michael

-- 
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-20 Thread Paulo Silva
Thanks for your help,

I use CVS with ":/cvsntroot" but I also need to specify what's my 
"working directory" (module, subproject).
I mean, that's my CVSROOT but in my CVS there are projects for my whole 
company and I don't have access to the root dir, only some 
subprojects/modules.

So when I add my repository I need to set also what's going to be my 
subproject/module. 

And that was my question, how do I set this while configuring my repository?
Because the error I'm getting maybe it's some kind of permission problem 
(as I don't have access to the CVSROOT dir, only the subprojects).


Anyway, if there more tips on how to debug this I would appreciate.
Thanks in advance 


On Monday, August 20, 2012 6:16:49 PM UTC+1, iamagui wrote:
>
> Could you let me know what you mean by 'how can I specify the module'? You 
> mean in the webpage? 
>
> And how are you accessing your subprojects?
>
> I am using CVS and it works with just ':/cvsntroot'. I am NOT an 
> expert, just trying to share what I know.

-- 
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: LDAP configuration problem

2012-08-20 Thread Tucker
* You LDAP server needs to start with "ldap://";.  Probably
"ldap://10.10.192.42:389";
* Your LDAP base DN is most likely wrong.  You'll either need to
familiarize yourself with your LDAP schema or find someone who knows
what that should be.
* Unless you actually own example.com, your E-mail domain is wrong.
* Leave the anonymous user mask blank, unless you know what you're doing.

On Mon, Aug 20, 2012 at 12:40 AM, Raymond Meng  wrote:
> hi guys:
>
> I'm quite a freshman of reviewboard. I met problems during my LDAP
> configuration.
>
> my settings:
> LDAP server: 10.10.192.41:389
> LDAP base DN: ou=example,dc=example,dc=
> example
> given name attribute: givenName
> surname attribute: sn
> full name attribute: cn
> E-mail Domain: example.com
> E-mail LDAP attribute: mail
> unchecked Use TLS for authentication
> user mask: (uid=%s)
> anonymous user mask: (uid=%s)
> anonymous user password: ***
>
> and when I try to login reviewboard with my email account, error occur:
> WARNING - LDAP error: {'info': '', 'desc': 'Bad search filter'}
>
> can you help me to take a look on that?
>
> thanks!
>
> --
> 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



-- 

--tucker

-- 
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-20 Thread iamagui
Could you let me know what you mean by 'how can I specify the module'? You 
mean in the webpage? 

And how are you accessing your subprojects?

I am using CVS and it works with just ':/cvsntroot'. I am NOT an 
expert, just trying to share what I know.

-- 
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-20 Thread cmuser
have checked in /etc/hosts file

172.1.8103   def def.domain.com

which is correct entry. My reviewboard cvs repo entry is also correct- 
:pserver:cmuser@def:/opt/cvsroot


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

Re: Eclipse plugin for posting reviews

2012-08-20 Thread cmuser
hey,
   can we have same plugin for cvs also?

On Monday, April 26, 2010 2:36:36 PM UTC+5:30, Radoslav Gerganov wrote:
>
> Hi,
>
> I made a simple Eclipse plugin for posting review requests when using the 
> Perforce SCM and P4WSAD (the Perforce plugin for Eclipse). My plugin adds a 
> new action in the context menu for pending changelists and invokes 
> post-review from RBTools with the right parameters and working directory. 
> You can see some screenshots and how to install it on the project's 
> website: http://code.google.com/p/p4reviewboard/. Hope you will find it 
> helpful!
>
> Cheers,
> Rado
>
> -- 
> 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

LDAP configuration problem

2012-08-20 Thread Raymond Meng
hi guys:

I'm quite a freshman of reviewboard. I met problems during my LDAP 
configuration.

my settings:
LDAP server: 10.10.192.41:389
LDAP base DN: ou=example,dc=example,dc=
example
given name attribute: givenName
surname attribute: sn
full name attribute: cn
E-mail Domain: example.com
E-mail LDAP attribute: mail
unchecked Use TLS for authentication
user mask: (uid=%s)
anonymous user mask: (uid=%s)
anonymous user password: ***

and when I try to login reviewboard with my email account, error occur: 
WARNING - LDAP error: {'info': '', 'desc': 'Bad search filter'}

can you help me to take a look on that?

thanks!

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