helpSavane - Support: sr #1498, Subversion Configuration

 
 
Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

sr #1498: Subversion Configuration

Submitted by:  Colin Turner <ct1972>
Submitted on:  Tue 27 Feb 2007 02:02:10 PM UTC  
 
Category: Installation/ConfigurationPriority: 5 - Normal
Status: NonePrivacy: Public
Assigned to: NoneOpen/Closed: Open
Release: 

Mon 13 Aug 2007 05:11:29 AM UTC, comment #1:

Seems no one has answered this.

I had the same issue and I finally used svnserve to allow checkout's of the code. I also use it to allow writes. The only draw back was that the passwords had to manually be added for this to work.

Scott Grayban <sgrayban>
Tue 27 Feb 2007 02:02:10 PM UTC, original submission:

I'm looking for a bit more guidance on SVN configuration.

Specifically:

  • I can't get the restricted shell to work with ssh+svn at all;
  • I'm not sure how to configure svn access like gna.

When I try to perform an svn checkout with a member with the sv restricted shell I get :

colin@einstein:~/test$ svn co svn+ssh://colin@foss.ulster.ac.uk/svn/uuwaf/trunk uuwaf
You tried to execute: svnserve -t

and scp causes similar problems...

I have installed a file as follows

foss:/etc# cat /etc/membersh-conf.pl
#!/usr/bin/perl
#
# Sample membersh conf (restricted shell)
#
# $use_cvs = "1";
# $bin_cvs = "/usr/bin/cvs";
#
$use_scp = "1";
$bin_scp = "/usr/bin/scp";
$regexp_scp = "^scp .*-t (/upload)|(/var/ftp)";

$use_sftp = "1";
$bin_sftp = "/usr/lib/sftp-server";
$regexp_sftp = "^(/usr/lib/ssh/sftp-server|/usr/lib/sftp-server|/usr/libexec/sftp-server)";
#
$use_rsync = "1";
$bin_rsync = "/usr/bin/rsync";
$regexp_rsync = "^rsync --server";
$regexp_dir_rsync = "^(/upload)|(/var/ftp)";

$use_svn = "1";
$bin_svn = "/usr/bin/svnserve";
$regexp_svn = "^/usr/bin/svnserve -t .*"

but no regular expression for $regexp_svn seems to allow this to work. There are similar issues with scp.

Any ideas? The file in the current trunk isn't really helpful.

Secondly, I can, with a full shell use the ssh+svn method of reading and writing to svn. I wanted to implement the two other methods of read only access, just as gna.org does.

i.e.

svn co svn://foss.ulster.ac.uk/svn/opus/trunk <project>
svn co http://foss.ulster.ac.uk/svn/opus/trunk <project>

I'm concentrating on the latter for now. Can I do this without giving write access to the web user to the database files? I'm having trouble working out how...

Could an example apache config be posted please?

CT.

Colin Turner <ct1972>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by sgrayban (Posted a comment)
  • -unavailable- added by ct1972 (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup