Re: LDAP configuration

2011-02-02 Thread Jan Koprowski
1) Please try use Your data "exactly" in some other tool. I prefere
Apache Directory Studio (http://directory.apache.org/studio/). Just
use this same informations to connect with Your LDAP server
2) Maybe LDAP base dn need more specific place to start searching. Try
to be more specific e.g. ou=OrgUnit,dc=example,dc=com
3) User mask: I use sAMAccountName as You said. If I remember well I
also don't have (&()()) just &()() (but for now I'm not sure). I know
outer bracket is necessery but not in that case. Another thing. Isn't
LDAP case sensitive? Should be "objectClass" ?
4) Try use this filter (replacing %s by Your username) and use as
filter search in Apache Directory Studio
5) Try change format of UserMask to j...@orgunit.example.com

The most important thing is 2) and if doesn't work 3) and 5). After
that just try sniffing arround using Apache Directory Studio and just
be careful about the details.

On Thu, Feb 3, 2011 at 1:29 AM, Christian Hammond  wrote:
> I'd be happy for someone with more knowledge and expertise with LDAP to step
> up and help get our LDAP configuration settings under control, provide
> better names, maybe some docs. Anyone want to help with that?
>
> Christian
>
> --
> Christian Hammond - chip...@chipx86.com
> Review Board - http://www.reviewboard.org
> VMware, Inc. - http://www.vmware.com
>
>
> On Fri, Jan 28, 2011 at 8:43 AM, Rob  wrote:
>>
>> I struggled a bit to make it work too, but here's what I finally used.
>> I am running ReviewBoard on CentOS 5.2 under Apache/mod_python/Python
>> 2.5.1/linux64.  (The Python ldap module, linking to openldap libs I
>> believe, is responsible for the actual connection.)
>>
>>
>>
>> LDAP server: ldap://serverhostname.example.com:389
>> LDAP base DN: dc=example,dc=com
>> E-Mail Domain: 
>> E-mail LDAP attribute: mail
>> Left "Use TLS" unchecked
>> User Mask: (&(objectclass=User) (mailNickname=%s))
>>   - in our case, mailNickname is always the account name. I think
>> 'sAMAccountName' is commonplace too. Basically extracts just the
>> userid of the record.
>>
>> Our server requires a user to bind & connect first, before doing the
>> query. This is what "Anonymous User Mask" refers to (hint to RB
>> authors: try renaming this field to something else?)
>> For example, if 'jdoe' is the user I want to use for all lookups, on
>> OU OrgUnit, you would put in:
>>
>> Anonymous User Mask: cn=jdoe,ou=OrgUnit,dc=example,dc=com
>> Anonymous Password: **
>>  -- just the password
>>
>>
>>
>> On Jan 28, 2:47 am, David  wrote:
>> > Hi,
>> >
>> > I am trying to get reviewboard authentificate through our LDAP
>> > infrastructure, but I cannot make it work (got "the specified object
>> > does not exist").
>> >
>> > I don't know much about LDAP unfortunately, so I am not sure where the
>> > error lies. We got trac connecting to LDAP, but at the apache level,
>> > as followed:
>> >
>> >   AuthName "Company Name"
>> >   AuthLDAPURL "ldap://x.x.x.x:389/ou=people,dc=x,dc=y,dc=z";
>> >   AuthLDAPBindDN "cn=admin,dc=x,dc=y,dc=z"
>> >   AuthLDAPBindPassword xx
>> >
>> > FWIW, I could not make it work using the python ldap library either:
>> >
>> >   l = ldap.open("x.x.x.x:389")
>> >   username = "cn=admin,dc=x,dc=y,dc=z"
>> >   password = "x"
>> >
>> >   l.simple_bind(username, password) # fails with (2, 'No such file or
>> > directory')
>>
>> --
>> 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



-- 
><> Jan Koprowski

-- 
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: Cannot add repository with cvs ext in 1.5.2 on RHEL5

2011-02-02 Thread Christian Hammond
I managed to get some fixes working for rbssh for CVS. I have a couple other
related bugs to fix, but you should see 1.5.3 probably by the end of the
week.

Christian

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


On Wed, Feb 2, 2011 at 8:59 PM, praveen kumar wrote:

> Hi Christian,
>
> Thanks for the work you are putting in to resolve this issue.
> I will downgrade to 1.5.1 and see how things will go.
>
> Thanks
> Praveen
>
> --
> 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: Cannot add repository with cvs ext in 1.5.2 on RHEL5

2011-02-02 Thread praveen kumar
Hi Christian,

Thanks for the work you are putting in to resolve this issue.
I will downgrade to 1.5.1 and see how things will go.

Thanks
Praveen

-- 
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: Unable to login to RB Site as any user

2011-02-02 Thread Christian Hammond
Don't know what broke, but I'm glad it's working now :)

Christian

On Wednesday, February 2, 2011, Prashant  wrote:
> Sucess ... With that change I was able to login into the Site.
>
> The AD authentification which was working earlier had been turned off
> due to the above setting. I turned it on and AD authentification
> started working. The AD name server were all in DNS name and not any
> IP Addresses.
>
> The logging was turned on. When I checked the log for the earlier
> attempts, it has printed nothing. There are repeated entries like :
> ==
> Feb. 1, 2011
> 16:01:18 INFO Logging to /path/to/site/logs/reviewboard.log with a
> minimum level of DEBUG
> 16:01:18 INFO Log file for Review Board v1.5.2 (PID 8901)
> Feb. 2, 2011
> 13:55:30 INFO Logging to /path/to/site/logs/reviewboard.log with a
> minimum level of DEBUG
> 13:55:30 INFO Log file for Review Board v1.5.2 (PID 14739)
> 13:57:27 INFO Logging to /path/to/site/logs/reviewboard.log with a
> minimum level of DEBUG
> 13:57:27 INFO Log file for Review Board v1.5.2 (PID 20021)
> 21:58:01 INFO Logging to /path/to/site/logs/reviewboard.log with a
> minimum level of DEBUG
> 21:58:01 INFO Log file for Review Board v1.5.2 (PID 20026)
> Feb. 3, 2011
> 09:22:52 INFO Logging to /path/to/site/logs/reviewboard.log with a
> minimum level of DEBUG
> 09:22:52 INFO Log file for Review Board v1.5.2 (PID 25530)
> 09:23:00 INFO Logging to /path/to/site/logs/reviewboard.log with a
> minimum level of DEBUG
> 09:23:00 INFO Log file for Review Board v1.5.2 (PID 25529)
> 09:23:00 INFO Logging to /path/to/site/logs/reviewboard.log with a
> minimum level of DEBUG
> 09:23:00 INFO Log file for Review Board v1.5.2 (PID 25531)
> ==
>
> I wonder what went wrong !!!
>
> --
> 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

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

-- 
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: Unable to login to RB Site as any user

2011-02-02 Thread Prashant
Sucess ... With that change I was able to login into the Site.

The AD authentification which was working earlier had been turned off
due to the above setting. I turned it on and AD authentification
started working. The AD name server were all in DNS name and not any
IP Addresses.

The logging was turned on. When I checked the log for the earlier
attempts, it has printed nothing. There are repeated entries like :
==
Feb. 1, 2011
16:01:18 INFO Logging to /path/to/site/logs/reviewboard.log with a
minimum level of DEBUG
16:01:18 INFO Log file for Review Board v1.5.2 (PID 8901)
Feb. 2, 2011
13:55:30 INFO Logging to /path/to/site/logs/reviewboard.log with a
minimum level of DEBUG
13:55:30 INFO Log file for Review Board v1.5.2 (PID 14739)
13:57:27 INFO Logging to /path/to/site/logs/reviewboard.log with a
minimum level of DEBUG
13:57:27 INFO Log file for Review Board v1.5.2 (PID 20021)
21:58:01 INFO Logging to /path/to/site/logs/reviewboard.log with a
minimum level of DEBUG
21:58:01 INFO Log file for Review Board v1.5.2 (PID 20026)
Feb. 3, 2011
09:22:52 INFO Logging to /path/to/site/logs/reviewboard.log with a
minimum level of DEBUG
09:22:52 INFO Log file for Review Board v1.5.2 (PID 25530)
09:23:00 INFO Logging to /path/to/site/logs/reviewboard.log with a
minimum level of DEBUG
09:23:00 INFO Log file for Review Board v1.5.2 (PID 25529)
09:23:00 INFO Logging to /path/to/site/logs/reviewboard.log with a
minimum level of DEBUG
09:23:00 INFO Log file for Review Board v1.5.2 (PID 25531)
==

I wonder what went wrong !!!

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

2011-02-02 Thread Christian Hammond
I'd be happy for someone with more knowledge and expertise with LDAP to step
up and help get our LDAP configuration settings under control, provide
better names, maybe some docs. Anyone want to help with that?

Christian

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


On Fri, Jan 28, 2011 at 8:43 AM, Rob  wrote:

>
> I struggled a bit to make it work too, but here's what I finally used.
> I am running ReviewBoard on CentOS 5.2 under Apache/mod_python/Python
> 2.5.1/linux64.  (The Python ldap module, linking to openldap libs I
> believe, is responsible for the actual connection.)
>
>
>
> LDAP server: ldap://serverhostname.example.com:389
> LDAP base DN: dc=example,dc=com
> E-Mail Domain: 
> E-mail LDAP attribute: mail
> Left "Use TLS" unchecked
> User Mask: (&(objectclass=User) (mailNickname=%s))
>   - in our case, mailNickname is always the account name. I think
> 'sAMAccountName' is commonplace too. Basically extracts just the
> userid of the record.
>
> Our server requires a user to bind & connect first, before doing the
> query. This is what "Anonymous User Mask" refers to (hint to RB
> authors: try renaming this field to something else?)
> For example, if 'jdoe' is the user I want to use for all lookups, on
> OU OrgUnit, you would put in:
>
> Anonymous User Mask: cn=jdoe,ou=OrgUnit,dc=example,dc=com
> Anonymous Password: **
>  -- just the password
>
>
>
> On Jan 28, 2:47 am, David  wrote:
> > Hi,
> >
> > I am trying to get reviewboard authentificate through our LDAP
> > infrastructure, but I cannot make it work (got "the specified object
> > does not exist").
> >
> > I don't know much about LDAP unfortunately, so I am not sure where the
> > error lies. We got trac connecting to LDAP, but at the apache level,
> > as followed:
> >
> >   AuthName "Company Name"
> >   AuthLDAPURL "ldap://x.x.x.x:389/ou=people,dc=x,dc=y,dc=z";
> >   AuthLDAPBindDN "cn=admin,dc=x,dc=y,dc=z"
> >   AuthLDAPBindPassword xx
> >
> > FWIW, I could not make it work using the python ldap library either:
> >
> >   l = ldap.open("x.x.x.x:389")
> >   username = "cn=admin,dc=x,dc=y,dc=z"
> >   password = "x"
> >
> >   l.simple_bind(username, password) # fails with (2, 'No such file or
> > directory')
>
> --
> 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: Error uploading new diff: fatal: Not a git repository: 'None'

2011-02-02 Thread Christian Hammond
Having Review Board manage the clone means adding new pieces of
infrastructure for scheduling changes. At that point, you may as well use
crontab.

We don't want Review Board to do the pulls on demand, because you may end up
with two requests happening at once, each causing a pull and generating
conflicts.

So it's something we basically need admins to handle themselves. The very
easiest way is to get gitweb or something going.

We're considering rolling our own little thing to stick on a server with a
Git repository that Review Board will be able to know about and talk to in
an effort to simplify a lot of this, but we're not there yet.

Christian

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


On Wed, Feb 2, 2011 at 1:47 PM, Christopher Orr  wrote:

> Thanks for the confirmation.
>
> Is there any chance of an option that just allows the full local clone
> to be done over git (if the user says that's fine)?
> Or would that be too strenuous on Review Board, as it would
> (presumably) have to call "git clone" any time someone hits "Upload
> diff"?
>
> Chris
>
>
> On Feb 2, 10:18 pm, Christian Hammond  wrote:
> > Yeah, unfortunately, Git provides no way to access individual files from
> a
> > remote repository without a full local clone, which is why the only two
> > options are having that clone or accessing over gitweb or a similar
> service.
> >
> > We should definitely do better validation to make sure you can never
> enter a
> > remote URL without the raw file mask.
> >
> > Christian
> >
> > --
> > Christian Hammond - chip...@chipx86.com
> > Review Board -http://www.reviewboard.org
> > VMware, Inc. -http://www.vmware.com
> >
> > On Wed, Feb 2, 2011 at 11:42 AM, Stephen Gallagher <
> >
> >
> >
> >
> >
> >
> >
> > step...@gallagherhome.com> wrote:
> > > On 02/02/2011 08:12 AM, Christopher Orr wrote:
> > > > I just reproduced this while trying to use RB 1.5.2 with a custom
> > > > remote repository (git+ssh://).
> > > > By trial-and-error, it seems the 'None' error occurs if the "Raw file
> > > > URL mask" field is empty.
> >
> > > > Is it correct to say there's no way to set up a git repository in
> > > > Review Board, if the git server is remote and you have no web-based
> > > > access to it?
> >
> > > In that situation, I think what you would want to do is clone the git
> > > repository locally and use a cron job to keep it up to date with the
> > > remote repository. That's probably the only way around this.
> >
> > > Or, if you have control of the remote repository, add a post-commit
> hook
> > > that notifies your clone to update itself (this would be less wasteful
> > > of network resources).
> >
> > > --
> > > 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
> 
> > > 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: Error uploading new diff: fatal: Not a git repository: 'None'

2011-02-02 Thread Christopher Orr
On Feb 2, 10:47 pm, Christopher Orr  wrote:
> Is there any chance of an option that just allows the full local clone
> to be done over git (if the user says that's fine)?
> Or would that be too strenuous on Review Board, as it would
> (presumably) have to call "git clone" any time someone hits "Upload
> diff"?

Oops, I meant "git pull", not a full "clone" each time.

-- 
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: Error uploading new diff: fatal: Not a git repository: 'None'

2011-02-02 Thread Christopher Orr
Thanks for the confirmation.

Is there any chance of an option that just allows the full local clone
to be done over git (if the user says that's fine)?
Or would that be too strenuous on Review Board, as it would
(presumably) have to call "git clone" any time someone hits "Upload
diff"?

Chris


On Feb 2, 10:18 pm, Christian Hammond  wrote:
> Yeah, unfortunately, Git provides no way to access individual files from a
> remote repository without a full local clone, which is why the only two
> options are having that clone or accessing over gitweb or a similar service.
>
> We should definitely do better validation to make sure you can never enter a
> remote URL without the raw file mask.
>
> Christian
>
> --
> Christian Hammond - chip...@chipx86.com
> Review Board -http://www.reviewboard.org
> VMware, Inc. -http://www.vmware.com
>
> On Wed, Feb 2, 2011 at 11:42 AM, Stephen Gallagher <
>
>
>
>
>
>
>
> step...@gallagherhome.com> wrote:
> > On 02/02/2011 08:12 AM, Christopher Orr wrote:
> > > I just reproduced this while trying to use RB 1.5.2 with a custom
> > > remote repository (git+ssh://).
> > > By trial-and-error, it seems the 'None' error occurs if the "Raw file
> > > URL mask" field is empty.
>
> > > Is it correct to say there's no way to set up a git repository in
> > > Review Board, if the git server is remote and you have no web-based
> > > access to it?
>
> > In that situation, I think what you would want to do is clone the git
> > repository locally and use a cron job to keep it up to date with the
> > remote repository. That's probably the only way around this.
>
> > Or, if you have control of the remote repository, add a post-commit hook
> > that notifies your clone to update itself (this would be less wasteful
> > of network resources).
>
> > --
> > 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 > 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


Re: Finding review request id in UI

2011-02-02 Thread Christian Hammond
We will likely be making it possible to type in a review request ID and
immediately get the review request in an auto-complete dropdown in the
search box.

There's no way to change the default columns for users.

Christian

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


On Wed, Feb 2, 2011 at 6:25 AM, Henry Yei  wrote:

> Thanks for the tip. I'm still a little unfamiliar with the UI itself and
> completely missed that. is there a way to configure the default visible
> columns for all users?
>
> I wonder if  1.6 include the review ID in the search index?
>
>
> On Wed, Feb 2, 2011 at 6:20 AM, Scott Quesnelle  > wrote:
>
>> You can see the ReviewID on the dashboard if you add that column, at least
>> in 1.0 you can.
>>
>> Scott
>>
>> On Tue, Feb 1, 2011 at 4:24 PM, Henry Yei  wrote:
>>
>>> Hi, I'm starting to roll out ReviewBoard into our development process
>>> and am considering forcing a valid completed reviewboard request
>>> before a successful commit.
>>>
>>> Is there an option to show the ID in the UI where we can show the
>>> Review ID more prominently? It looks like the id is only reported when
>>> created via the postreview tool and if you inspect the URL.
>>>
>>>
>>>
>>> --
>>> 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
>>
>
>  --
> 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: Error uploading new diff: fatal: Not a git repository: 'None'

2011-02-02 Thread Christian Hammond
Yeah, unfortunately, Git provides no way to access individual files from a
remote repository without a full local clone, which is why the only two
options are having that clone or accessing over gitweb or a similar service.

We should definitely do better validation to make sure you can never enter a
remote URL without the raw file mask.

Christian

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


On Wed, Feb 2, 2011 at 11:42 AM, Stephen Gallagher <
step...@gallagherhome.com> wrote:

> On 02/02/2011 08:12 AM, Christopher Orr wrote:
> > I just reproduced this while trying to use RB 1.5.2 with a custom
> > remote repository (git+ssh://).
> > By trial-and-error, it seems the 'None' error occurs if the "Raw file
> > URL mask" field is empty.
> >
> > Is it correct to say there's no way to set up a git repository in
> > Review Board, if the git server is remote and you have no web-based
> > access to it?
>
> In that situation, I think what you would want to do is clone the git
> repository locally and use a cron job to keep it up to date with the
> remote repository. That's probably the only way around this.
>
> Or, if you have control of the remote repository, add a post-commit hook
> that notifies your clone to update itself (this would be less wasteful
> of network resources).
>
> --
> 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: Finding review request id in UI

2011-02-02 Thread Henry Yei
Thanks for the tip. I'm still a little unfamiliar with the UI itself and
completely missed that. is there a way to configure the default visible
columns for all users?

I wonder if  1.6 include the review ID in the search index?

On Wed, Feb 2, 2011 at 6:20 AM, Scott Quesnelle
wrote:

> You can see the ReviewID on the dashboard if you add that column, at least
> in 1.0 you can.
>
> Scott
>
> On Tue, Feb 1, 2011 at 4:24 PM, Henry Yei  wrote:
>
>> Hi, I'm starting to roll out ReviewBoard into our development process
>> and am considering forcing a valid completed reviewboard request
>> before a successful commit.
>>
>> Is there an option to show the ID in the UI where we can show the
>> Review ID more prominently? It looks like the id is only reported when
>> created via the postreview tool and if you inspect the URL.
>>
>>
>>
>> --
>> 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
>

-- 
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: Unable to login to RB Site as any user

2011-02-02 Thread Christian Hammond
Authentication is supposed to fall through to the local database when you
can't access through LDAP/AD. So, something is going horribly wrong.

The only way to reset your authentication is to do:

1) Run rb-site manage /path/to/site shell
2) Type:
from djblets.siteconfig.models import SiteConfiguration
siteconfig = SiteConfiguration.objects.get_current()
siteconfig.set('auth_backend', 'builtin')
siteconfig.save()

You may then have to restart Apache.

>From there, you should be able to log back in as your admin user, turn on
logging, and try to figure out where it's going wrong.

Christian

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


On Tue, Feb 1, 2011 at 2:41 AM, Prashant  wrote:

> I am unable to login locally as "admin" user. I created a new super-
> user, but that also does not help. I created the new super-user as
>
> $ rb-site manage /path/to/site createsuperuser
>
> Is there a configuration file which I can hand-edit which I can refer
> and reflect any changes ?
>
> --
> 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: Error uploading new diff: fatal: Not a git repository: 'None'

2011-02-02 Thread Stephen Gallagher
On 02/02/2011 08:12 AM, Christopher Orr wrote:
> I just reproduced this while trying to use RB 1.5.2 with a custom
> remote repository (git+ssh://).
> By trial-and-error, it seems the 'None' error occurs if the "Raw file
> URL mask" field is empty.
>
> Is it correct to say there's no way to set up a git repository in
> Review Board, if the git server is remote and you have no web-based
> access to it?

In that situation, I think what you would want to do is clone the git
repository locally and use a cron job to keep it up to date with the
remote repository. That's probably the only way around this.

Or, if you have control of the remote repository, add a post-commit hook
that notifies your clone to update itself (this would be less wasteful
of network resources).

-- 
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: Unable to login to RB Site as any user

2011-02-02 Thread Prashant
Any help would be great !!!

-- 
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: Finding review request id in UI

2011-02-02 Thread Scott Quesnelle
You can see the ReviewID on the dashboard if you add that column, at least
in 1.0 you can.

Scott

On Tue, Feb 1, 2011 at 4:24 PM, Henry Yei  wrote:

> Hi, I'm starting to roll out ReviewBoard into our development process
> and am considering forcing a valid completed reviewboard request
> before a successful commit.
>
> Is there an option to show the ID in the UI where we can show the
> Review ID more prominently? It looks like the id is only reported when
> created via the postreview tool and if you inspect the URL.
>
>
>
> --
> 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: Error uploading new diff: fatal: Not a git repository: 'None'

2011-02-02 Thread Christopher Orr
I just reproduced this while trying to use RB 1.5.2 with a custom
remote repository (git+ssh://).
By trial-and-error, it seems the 'None' error occurs if the "Raw file
URL mask" field is empty.

Is it correct to say there's no way to set up a git repository in
Review Board, if the git server is remote and you have no web-based
access to it?

Regards,
Chris


On Jan 26, 6:02 am, Christian Hammond  wrote:
> Honestly, I have no idea where None is coming from.
>
> Christian
>
> --
> Christian Hammond - chip...@chipx86.com
> Review Board -http://www.reviewboard.org
> VMware, Inc. -http://www.vmware.com
>
> On Tue, Jan 25, 2011 at 8:25 AM, mhoydis  wrote:
> > Sure.  I think the notable clues here are...
>
> > >>> Attempting to create review request on git@server:my_project.git for
> > None
>
> > and...
>
> > >>> Error data: {u'fields': {u'path': [u"fatal: Not a git repository:
> > 'None'\n"]}, u'stat': u'fail', u'err': {u'msg': u'One or more fields had
> > errors', u'code': 105}, u'deprecated': {u'in_version': u'1.5'}}
>
> > and...
>
> > ERROR:root:Error uploading new diff: fatal: Not a git repository:
> > 'None'
>
> > -
>
> > What value is "None" referring to, here?
>
> > -Michael
>
> > On Jan 24, 7:11 pm, Christian Hammond  wrote:
> > > Hi Michael,
>
> > > Would you mind (privately, if you like) showing me the repository
> > > configuration on the server?
>
> > > Christian
>
> > > --
> > > Christian Hammond - chip...@chipx86.com
> > > Review Board -http://www.reviewboard.org
> > > VMware, Inc. -http://www.vmware.com
>
> > > On Mon, Jan 24, 2011 at 2:58 PM, mhoydis 
> > wrote:
> > > > Trying to use post-review with our custom git setup.  My repository is
> > > > configured in ReviewBoard with the path being
> > > > git@server:my_project.git.  I've setup the SSH key in ReviewBoard to
> > > > use that git URL, and confirmed that's working.   ReviewBoard 1.6
> > > > alpha 0 (dev)
>
> > > > I'm running this command on my Mac desktop:
> > > > git config reviewboard.urlhttp://reviewboard.mydomain.com
> > > > post-review --parent=aa1c05d4bab33156cd3feaeb8ea6ed669eb92eee --
> > > > revision-range=aa1c05d4bab33156cd3feaeb8ea6ed669eb92eee:
> > > > 1015d188c7d28c3b543b1e528ab34e8ee2a62cdf --guess-summary --guess-
> > > > description --publish --debug
>
> > > > -
>
> > > > This is the error I'm getting from post-review on my Mac desktop:
>
> > > > >>> svn info
> > > > >>> git rev-parse --git-dir
> > > > >>> git symbolic-ref -q HEAD
> > > > >>> git svn info
> > > > >>> git svn --version
> > > > >>> git config --get svn-remote.svn.url
> > > > >>> git config --get branch.master.merge
> > > > >>> git config --get branch.master.remote
> > > > >>> git config remote.origin.url
> > > > >>> repository info: Path: git@server:my_project.git, Base path: ,
> > > > Supports changesets: False
> > > > >>> git config --get reviewboard.url
> > > > >>> git log --pretty=format:%s
>
> > aa1c05d4bab33156cd3feaeb8ea6ed669eb92eee..1015d188c7d28c3b543b1e528ab34e8ee2a62cdf
> > > > >>> git log --pretty=format:%s%n%n%b
>
> > aa1c05d4bab33156cd3feaeb8ea6ed669eb92eee..1015d188c7d28c3b543b1e528ab34e8ee2a62cdf
> > > > >>> git diff --no-color --full-index
>
> > aa1c05d4bab33156cd3feaeb8ea6ed669eb92eee..1015d188c7d28c3b543b1e528ab34e8ee2a62cdf
> > > > >>> Looking for 'reviewboard.mydomain.com /' cookie in
> > > > /Users/myuser/.post-review-cookies.txt
> > > > >>> Loaded valid cookie -- no login required
> > > > >>> Attempting to create review request on git@server:my_project.git
> > for
> > > > None
> > > > >>> HTTP POSTing to
> > > >http://reviewboard.mydomain.com/api/json/reviewrequests/new/:
> > > > {'repository_path': 'git@server:my_project.git'}
> > > > >>> Review request created
> > > > >>> Attempting to set field 'summary' to 'Blah Blah #3135 - Blah blah
> > blah
> > > > yadayadaydada   * blH, BAH, bah, New(template) added   * blah written
> > for
> > > > model, controller(blah, hey), and New hey   * Refactored component and
> > blah
> > > > authorization specs into seperate files   * Added Administration
> > namespace'
> > > > for review request '48'
> > > > >>> HTTP POSTing to
> > > >http://reviewboard.mydomain.com/api/json/reviewrequests/48/draft/set/:
> > > > {'summary': 'Blah Blah #3135 - Blah blah blah yadayadaydada   * blH,
> > BAH,
> > > > bah, New(template) added   * blah written for model, controller(blah,
> > hey),
> > > > and New hey   * Refactored component and blah authorization specs into
> > > > seperate files   * Added Administration namespace'}
> > > > >>> Attempting to set field 'description' to 'Blah Blah #3135 - Blah
> > blah
> > > > blah yadayadaydada   * blH, BAH, bah, New(template) added   * blah
> > written
> > > > for model, controller(blah, hey), and New hey   * Refactored component
> > and
> > > > blah authorization specs into seperate files   * Added Administration
> > > > namespace' for review request '48'
> > > > >>> HTTP POSTing to
> > > >http://reviewboard.mydom