NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
nexus2
Apr 05, 2009Follower
Subversion ( SVN ) Add-on
Hello, Super-Poussin removed the SVN add-on and I was hoping someone (or Super-Poussin) could please update it and bring it back. What was outdated with the old one anyway? I ask because I really do...
efalsken
Dec 06, 2009Aspirant
stevepiercy wrote: @efalsken: Were you trying to answer my questions? I was able to create the repo using websvn as I stated. Creating the repo is not my issue. To verify I looked at the last line in /opt/subversion/<myrepo>/db/fsfs.conf:
enable-rep-sharing = false
Again, my questions are (1) how to access the repo from a client and (2) how to add files to the existing repo.
Is this a basic svn 101 RTFM kind of question? Actually, yes, it is. Reference:
http://svnbook.red-bean.com/en/1.5/svn.tour.importing.html
To add files to a repo's /trunk and to get rid of PROPFIND errors cited above:
- Connect to your ReadyNAS from your computer
- copy a directory of files <dir> to any location <loc> on your ReadyNAS.
- ssh to ReadyNAS
- cd <loc>
- svn import <dir> file:///opt/subversion/<myrepo>/trunk -m "Initial commit"
Subclipse and any other client now can interact with the repo.
Hopefully this helps for any other svn import newb.
I didn't have any problems with the initial checkin. But I did have a problem with the WebSVN when looking at an empty repository, or if I had no repositories created yet. On my ReadyNAS, I can log in as any user to gain access to the SVN repository. I added the following lines to /etc/frontview/apache/addons/subversion.conf: Inside the <location> tag.
<Location /svn>
DAV svn
SVNParentPath /opt/subversion
SVNListParentPath On
# Limit write permission to list of valid users.
<LimitExcept GET PROPFIND OPTIONS REPORT>
AuthType Basic
AuthName "ReadyNAS SVN"
Require valid-user
</LimitExcept>
</Location>
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!