Re: Accessing https svn repo without cached credentials

2014-09-13 Thread David Trowbridge
Hi,

There's been an open bug about allowing to specify the SVN credentials in
the rbt command line/config file for some time. We'll get that fixed soon.

-David

On Wed, Sep 10, 2014 at 5:13 PM, Shade Alabsa shade34...@gmail.com wrote:

 I'm pretty sure my problem is already out there I just haven't been able
 to find a solution that works yet. Currently our SVN directory is set not
 to store any information and RBTools doesn't seem to get along with it.

 I'm using CentOS 6.4 with RBTools 0.6.2. I'm trying to post a post review
 and it doesn't seem to work. Below is what I get when I run rbt post

 [root@localhost ~]# rbt post -d --username USERNAME@DOMAIN 490:491
  RBTools 0.6.2
  Python 2.6.6 (r266:84292, Jan 22 2014, 09:42:36)
 [GCC 4.4.7 20120313 (Red Hat 4.4.7-4)]
  Running on
 Linux-2.6.32-431.23.3.el6.x86_64-x86_64-with-centos-6.5-Final
  Home = /root
  Current directory = /SVN/REPO
  Checking for a Subversion repository...
  Running: svn info https://svnsdev.ami.com/svn/ --non-interactive
  Command exited with rc 1: ['svn', 'info', 'https://SVN_REPO_URL',
 '--non-interactive']
 svn: OPTIONS of 'https://SVN_REPO_URL': 200 OK ('https://SVN_REPO_URL')
 ---
  Checking for a Git repository...
  Unable to execute git --help or git.cmd --help: skipping Git
  Checking for a Mercurial repository...
  Unable to execute hg --help: skipping Mercurial
  Checking for a CVS repository...
  Checking for a Perforce repository...
  Unable to execute p4 help: skipping Perforce
  Checking for a Plastic repository...
  Unable to execute cm version: skipping Plastic
  Checking for a ClearCase repository...
  Unable to execute cleartool help: skipping ClearCase
  Checking for a Bazaar repository...
  Unable to execute bzr help: skipping Bazaar
 ERROR: No supported repository could be accessed at the supplied url.
 [root@localhost ~]# rbt --version
 RBTools 0.6.2

 I thought that it would ask me for my SVN username and password, I could
 of swore I saw this happen elsewhere but now I can't find it. Somebody did
 edit the code by hand to initially prompt for the svn username and password
 and when the commands are execute they check if they are svn commands. If
 so they pass that information to it which is obviously not ideal since our
 password is out there for the world to see. I've also commented out the
 --non-interactive part to make it interactive but as the comment states it
 hangs there so I uncommented it again. Is there something we are missing
 that can fix this or should I just roll my own script with PySVN and
 RBTools? Thanks!

 Shade



  --
 Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
 ---
 Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
 ---
 Happy user? Let us know at http://www.reviewboard.org/users/
 ---
 You received this message because you are subscribed to the Google Groups
 reviewboard group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to reviewboard+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Accessing https svn repo without cached credentials

2014-09-10 Thread Shade Alabsa
I'm pretty sure my problem is already out there I just haven't been able to 
find a solution that works yet. Currently our SVN directory is set not to 
store any information and RBTools doesn't seem to get along with it.

I'm using CentOS 6.4 with RBTools 0.6.2. I'm trying to post a post review 
and it doesn't seem to work. Below is what I get when I run rbt post

[root@localhost ~]# rbt post -d --username USERNAME@DOMAIN 490:491
 RBTools 0.6.2
 Python 2.6.6 (r266:84292, Jan 22 2014, 09:42:36)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-4)]
 Running on Linux-2.6.32-431.23.3.el6.x86_64-x86_64-with-centos-6.5-Final
 Home = /root
 Current directory = /SVN/REPO
 Checking for a Subversion repository...
 Running: svn info https://svnsdev.ami.com/svn/ --non-interactive
 Command exited with rc 1: ['svn', 'info', 'https://SVN_REPO_URL', 
'--non-interactive']
svn: OPTIONS of 'https://SVN_REPO_URL': 200 OK ('https://SVN_REPO_URL')
---
 Checking for a Git repository...
 Unable to execute git --help or git.cmd --help: skipping Git
 Checking for a Mercurial repository...
 Unable to execute hg --help: skipping Mercurial
 Checking for a CVS repository...
 Checking for a Perforce repository...
 Unable to execute p4 help: skipping Perforce
 Checking for a Plastic repository...
 Unable to execute cm version: skipping Plastic
 Checking for a ClearCase repository...
 Unable to execute cleartool help: skipping ClearCase
 Checking for a Bazaar repository...
 Unable to execute bzr help: skipping Bazaar
ERROR: No supported repository could be accessed at the supplied url.
[root@localhost ~]# rbt --version
RBTools 0.6.2

I thought that it would ask me for my SVN username and password, I could of 
swore I saw this happen elsewhere but now I can't find it. Somebody did 
edit the code by hand to initially prompt for the svn username and password 
and when the commands are execute they check if they are svn commands. If 
so they pass that information to it which is obviously not ideal since our 
password is out there for the world to see. I've also commented out the 
--non-interactive part to make it interactive but as the comment states it 
hangs there so I uncommented it again. Is there something we are missing 
that can fix this or should I just roll my own script with PySVN and 
RBTools? Thanks!

Shade



-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.