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...
WhoCares_
Sep 13, 2009Mentor
Ok, I just finished creating the latest version for SVN support on the ReadyNAS. For the moment these Addons are Sparc-only (Duo, NV, NV+, 1100, X6), versions for the Intel based systems are in the making.
The first Addon is Subversion (currently at 1.6.5-readynas-1.1.1 by my naming scheme). This version provides all the SVN command line utilities and also enables web access though the SVN Apache modules to repositories located on your ReadyNAS.
To create repositories on the ReadyNAS you can use either the command sequence:
(Note that you have to use /opt/subversion as the base name, otherwise web access won't work. Please also note that the last line of the command sequence above is neccessary because of a bug in the SQLite version shipped with the ReadyNAS.)
The other way to create a repository would be to use the second Addon I built:
WebSVN (currently at 2.1.1-readynas-0.9.2) will give you a nice looking web interface to the repositories on your ReadyNAS. In addition it'll allow you to create new repositories through the web interface if you're logged in to the Frontview admin panel.
The use of WebSVN requires PHP to be installed *first*. I recommend using the PHP_1.1.bin which for some obscure reason isn't listed in the 3rd-Party Addons section.
Both addons should be fairly stable since I use them without problems. Still, it's a "Works for me, might break for you" deal.
Words of Warning:
Both addons make use of some additional Apache configuration files. Thus, if installation of one of the addons fails, there's a chance that Apache is no longer able to start, leaving you with a ReadyNAS that no longer gives you access through Frontview. To prepare for this, please activate SSH access to your NAS (using the ToggleSSH Addon and enable SSH access for the root user with the EnableRootSSH Addon.
Some Screenshots:
View of the repositories through the SVN addon:

Sam view using WebSVN:

Preparing to create a repo using WebSVN:

New repo is created and shows up in the list:

Looking inside we see that WebSVN already created the "branches", "tags" and "trunk" dir:

Tidbit from the command line:

The first Addon is Subversion (currently at 1.6.5-readynas-1.1.1 by my naming scheme). This version provides all the SVN command line utilities and also enables web access though the SVN Apache modules to repositories located on your ReadyNAS.
To create repositories on the ReadyNAS you can use either the command sequence:
svnadmin create /opt/subversion/<name of your repository>
chown -R admin:admin /opt/subversion/*
echo "enable-rep-sharing = false" >> /opt/subversion/<name of your repository>/db/fsfs.conf
(Note that you have to use /opt/subversion as the base name, otherwise web access won't work. Please also note that the last line of the command sequence above is neccessary because of a bug in the SQLite version shipped with the ReadyNAS.)
The other way to create a repository would be to use the second Addon I built:
WebSVN (currently at 2.1.1-readynas-0.9.2) will give you a nice looking web interface to the repositories on your ReadyNAS. In addition it'll allow you to create new repositories through the web interface if you're logged in to the Frontview admin panel.
The use of WebSVN requires PHP to be installed *first*. I recommend using the PHP_1.1.bin which for some obscure reason isn't listed in the 3rd-Party Addons section.
Both addons should be fairly stable since I use them without problems. Still, it's a "Works for me, might break for you" deal.
Words of Warning:
Both addons make use of some additional Apache configuration files. Thus, if installation of one of the addons fails, there's a chance that Apache is no longer able to start, leaving you with a ReadyNAS that no longer gives you access through Frontview. To prepare for this, please activate SSH access to your NAS (using the ToggleSSH Addon and enable SSH access for the root user with the EnableRootSSH Addon.
Some Screenshots:
View of the repositories through the SVN addon:

Sam view using WebSVN:

Preparing to create a repo using WebSVN:

New repo is created and shows up in the list:

Looking inside we see that WebSVN already created the "branches", "tags" and "trunk" dir:

Tidbit from the command line:

Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!