Re: Delete users from sql, auth_user

2012-12-18 Thread Ben Copeland
Hello, I import users from active directory using ldap. I do this because users are not populated in reviewboard from AD. We add and remove many users from our system, so it is easier if this process was linked via a sync method. So if users are deleted, added or have a name change reviewboard

Re: negative outgoing review

2012-12-18 Thread satish singh
Thanks a lot David, it worked. -Satish On Monday, 17 December 2012 11:07:57 UTC+5:30, David Trowbridge wrote: > > Satish, > > If you'd like to backport it, > https://github.com/reviewboard/reviewboard/commit/84c42014dafd8be04a2dc34bc0fea56663777176was > my change to fix the last issue. That s

Re: 500 while adding repository

2012-12-18 Thread Shib S
On Tuesday, 18 December 2012 00:42:39 UTC+5:30, Christian Hammond wrote: > > Ah, from the original traceback it looked like the kind of issue caused by > missing SCMTools, but it's actually a lack of an SSH key. > > I'll get a hotfix out that you can upgrade to, but a workaround for now is > to f

Re: 500 while adding repository

2012-12-18 Thread Christian Hammond
You should also be able to upgrade to 1.7.0.1, which fixes this problem. We'll put out a few patch releases for 1.7 before the next 1.7.1, as we discover things. I expect we'll have a few of these, since it's such a big release and, well, unforeseen problems appear in the wild :) Christian -- C

Re: Not able to add git repository

2012-12-18 Thread Shib S
On console... [prod@myserver ~]$ ps -eaf | grep httpd root 28868 1 0 06:25 ?00:00:00 /usr/sbin/httpd prod 28870 28868 0 06:25 ?00:00:01 /usr/sbin/httpd prod 28871 28868 0 06:25 ?00:00:00 /usr/sbin/httpd prod 28872 28868 0 06:25 ?00:00:00 /usr/

Re: Not able to add git repository

2012-12-18 Thread Christian Hammond
Hmm, that's a bit hard to read. Can you take a screenshot of the browser window, console and all? It's almost 4AM here, so I'll be sleeping momentarily, but can look into it more in the morning. Christian On Dec 18, 2012, at 3:45 AM, Shib S wrote: > On console... > [prod@myserver ~]$ ps -ea

Re: 500 while adding repository

2012-12-18 Thread Shib S
Thanks Christian. Appreciated. Upgraded to 1.7.0.1. On Tuesday, 18 December 2012 16:49:38 UTC+5:30, Christian Hammond wrote: > > You should also be able to upgrade to 1.7.0.1, which fixes this problem. > > We'll put out a few patch releases for 1.7 before the next 1.7.1, as we > discover things.

Re: Not able to add git repository

2012-12-18 Thread Christian Hammond
Okay, I'll try to reproduce this tomorrow and see if I can fix it. What you can try for now is to take the Firebug inspector, click on the "I trust this host" button, and remove the "disabled" attribute. See if that works as a workaround. Christian On Dec 18, 2012, at 3:47 AM, Shibashish wro

Re: Not able to add git repository

2012-12-18 Thread Shibashish
This does enable the buttons, but on clicking them, nothing happens. Should i downgrade and use 1.6 instead? ShiB. while ( ! ( succeed = try() ) ); On Tue, Dec 18, 2012 at 5:20 PM, Christian Hammond wrote: > Okay, I'll try to reproduce this tomorrow and see if I can fix it. > > What you can t

Re: Not able to add git repository

2012-12-18 Thread Christian Hammond
You can work around this by replacing your $SITEDIR/data/.ssh/known_hosts file with one that already authorizes github.com. If you downgrade, you'll have to use a backup of your database from before the upgrade, or a fresh install. You will run into problems if you try to use your 1.7 database.

Re: Not able to add git repository

2012-12-18 Thread Christian Hammond
Actually, hold on. How are you configuring GitHub? Are you using the GitHub hosting service support in the form, or adding paths manually? Christian On Dec 18, 2012, at 3:47 AM, Christian Hammond wrote: > Hmm, that's a bit hard to read. Can you take a screenshot of the browser > window, cons

Re: Not able to add git repository

2012-12-18 Thread Shibashish
Yes, using Github. I am adding the service details in the form. ShiB. while ( ! ( succeed = try() ) ); On Tue, Dec 18, 2012 at 5:38 PM, Christian Hammond wrote: > Actually, hold on. How are you configuring GitHub? Are you using the > GitHub hosting service support in the form, or adding paths

Re: Not able to add git repository

2012-12-18 Thread Shibashish
Was able to submit the form after a web-developer helped me. Saw that $SITEDIR/data/.ssh/known_hosts was updated. This seems to be working now, thanks Chris ! ShiB. while ( ! ( succeed = try() ) ); On Tue, Dec 18, 2012 at 5:39 PM, Shibashish wrote: > Yes, using Github. I am adding the service

Re: Static media still broken in 1.7 after updating Apache configuration

2012-12-18 Thread Ivan Gavryliuk
Same problem here, but Location helped! On Tuesday, 18 December 2012 06:35:26 UTC, Christian Hammond wrote: > > Excellent! Glad it works. I'll update the instructions to be clear about > that. > > Christian > > -- > Christian Hammond - chi...@chipx86.com > Review Board - http://www.reviewboard.

Re: New comment moderation in effect

2012-12-18 Thread Liam Reimers
Hi... how long does it typically take to get moderated? I'm pretty stuck. -- 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

Re: New comment moderation in effect

2012-12-18 Thread Christian Hammond
It requires that one of us is awake and available to moderate it. Just give it time. We'll need to be awake/available to respond anyway. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Tue, Dec 18, 2012 at

Re: Cannot add a remote SVN repo on 1.6.15 (Regression?)

2012-12-18 Thread Christian Hammond
Hi, What version were you using before that worked? Nothing has changed with SSH in a few releases. Did anything else change? Subversion version? This sounds more like the server dropped the connection during our access. I wouldn't be able to tell you why. You'll probably need to add the environ

Re: Static media still broken in 1.7 after updating Apache configuration

2012-12-18 Thread Jeff
Christian, Love ReviewBoard but upgrading to 1.7 was a real pain. First I had to modify the database backend to django.db.backends.postgresql_psycopg2 http://stackoverflow.com/questions/1965/problems-with-psycopg2-installation-python-path I'm far from a power python user so it took quite a

Re: Cannot add a remote SVN repo on 1.6.15 (Regression?)

2012-12-18 Thread Liam Reimers
Hi, thanks for the response. This is a fresh installation, there was no previously working version. $ svn --version svn, version 1.6.18 (r1303927) compiled Aug 4 2012, 19:46:53 $ python --version Python 2.7.1 $ cd src $ ls mod_wsgi-3.4 mod_wsgi-3.4.tar.gz pysvn-1.7.6 pysvn-1.7.6.tar.gz $ ssh

Re: Cannot add a remote SVN repo on 1.6.15 (Regression?)

2012-12-18 Thread Liam Reimers
Well, this is interesting... $ cat /var/log/reviewboard/rbssh-61048.log 12-18 13:56 root DEBUG['/usr/bin/rbssh', '', 'svnserve', '-t'] 12-18 13:56 root DEBUGPID 61048 12-18 13:56 root DEBUG!!! , _www, ['svnserve', '-t'] Does this mean it's t

Re: New comment moderation in effect

2012-12-18 Thread Liam Reimers
Yeah, sorry about the noise; my post had actually already been moderated, but it was pre-coffee and I didn't see it until after I posted this. I deleted my post right away but I suppose you can still see it :) Anyway, sorry about that and thanks :) -- Want to help the Review Board project? Don

Re: Cannot add a remote SVN repo on 1.6.15 (Regression?)

2012-12-18 Thread Christian Hammond
That looks like the culprit. We're telling SVN of the username, but that's not being passed to rbssh. What you can do is change the path to be svn+ssh://username@blah, and then set Mirror Path to be the one without the username@ (in order to be able to look it up properly). See if that works. Ch

Re: Static media still broken in 1.7 after updating Apache configuration

2012-12-18 Thread Christian Hammond
Hi Jeff, I'm really sorry about that and I wish it could have been smoother. The static media change was forced on us by Django. The upgrade script couldn't make the necessary changes, due to both not knowing the right details during upgrade and the variety of server configurations. I tried to

Re: Cannot add a remote SVN repo on 1.6.15 (Regression?)

2012-12-18 Thread Liam Reimers
Hmm... did that, and it seems like it should work but it got the same error in the reviewboard.log and this in the rbssh log: 12-18 14:16 root DEBUG['/usr/bin/rbssh', '@', 'svnserve', '-t'] 12-18 14:16 root DEBUGPID 61223 12-18 14:16 root DEBUG

Re: Cannot add a remote SVN repo on 1.6.15 (Regression?)

2012-12-18 Thread Christian Hammond
Is there anything else in those logs? I'd like to see the entire thing to get more of a complete picture. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Tue, Dec 18, 2012 at 2:49 PM, Liam Reimers wrote: >

Re: Cannot add a remote SVN repo on 1.6.15 (Regression?)

2012-12-18 Thread Liam Reimers
That is the entirety of the rbssh log, here is the relevant section of the reviewboard.log: 2012-12-18 14:16:28,154 - DEBUG - SVNTool: Attempting ssh connection with host: , username: 2012-12-18 14:16:28,159 - DEBUG - starting thread (client mode): 0xcbde990L 2012-12-18 14:16:28,170 - INFO - Co

Re: Cannot add a remote SVN repo on 1.6.15 (Regression?)

2012-12-18 Thread Christian Hammond
I'm not really sure off-hand. One thing I want to check is that the root of your entire SVN repo is /svn/devtech, and not /svn. We need the root of the repo, rather than a subdir inside of it. Though, I haven't seen that break in this particular way. Can you also try running: HOME=/path/to/s

Re: Cannot add a remote SVN repo on 1.6.15 (Regression?)

2012-12-18 Thread Liam Reimers
Yes, /svn is the folder where all the repo roots live on this server. /svn/devtech is the root of this particular repository. $ sudo HOME=/Library/Server/Web/Data/Sites//data SVN_SSH=rbssh svn info svn+ssh://@/svn/devtech Path: devtech URL: svn+ssh://@/svn/devtech Repository Root: svn+ssh://@/sv

Re: Cannot add a remote SVN repo on 1.6.15 (Regression?)

2012-12-18 Thread Christian Hammond
Hi Liam, I'm really not sure what to say. It's strange that it works in the case of running it locally, but not when run inside Apache. We haven't tested any production installs running on MacOS X (we recommend Linux for hosting), so maybe it's related to something there, or maybe it's just so

Re: Delete users from sql, auth_user

2012-12-18 Thread Eric Johnson
Hi Ben, I've resorted to a similar approach to automatically updating the database with users. However, unlike you,it appears, I take a more conservative approach, and never *delete* users. Rather, I mark them as inactive. That way, you don't have to worry about foreign key constraints. Er