Subversion client in FREENAS?

Status
Not open for further replies.

boostman

Cadet
Joined
Aug 5, 2014
Messages
7
tried searching for this for many days and found hardly anything on running a subversion client on a FREENAS box.

Currently running 9.2.1.5
Proc: Intel(R) Xeon(R) CPU E31230 @ 3.20GHz
Memory: 16335MB

I see that it is possible to install subversion within a jail but this is not what my users are after. Since their files are stored within their home directories they want to be able to launch a svn client so that the files are local to them.

Currently svn runs on another server in our setup and there is a noticeable performance hit with their files being access through NFS as opposed to having it on the svn server.

I have not tested the performance running it in a jail would have but was able to get svn 1.6.23 installed in a jail to match what they are currently using.

I'm rather new to svn and FREENAS so any guidance on this would be appreciated.
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
I'm sorry but FreeNAS is not designed for *anything* to be installed on it. In short, if you can't run it in a jail you can't (and shouldn't) be running it on FreeNAS' base install. There's a whole laundry list of reasons for this, but even if you did get it working if you upgraded FreeNAS it would wipe out everything and you'd be back at square one.

What you *can* do is mount a dataset or folder from outside the jail inside the jail. That will allow it to store the files outside the jail in their home directory while the svn client is inside the jail. It will take a bit of work to setup, but I don't see why it couldn't work.

I'm not sure which svn client you are referring to when you mention 1.6.23, but here's what is available from pkg-ng repos as of today that has the phrase 'svn' in it:

Code:
# pkg search svn
bzr-svn-1.2.2_1
cvs2svn-2.4.0_4
hidesvn-1.2
kdesvn-1.6.0_2
mod_dav_svn-1.8.9_5
mygui-3.2.1.svn20140422
p5-App-SVN-Bisect-1.1
p5-Log-Accounting-SVN-0.01_10
p5-SVN-ACL-0.02_5
p5-SVN-Access-0.09
p5-SVN-Agent-0.04_2
p5-SVN-Dump-0.06
p5-SVN-Dumpfile-0.13.107_2
p5-SVN-Hook-0.28
p5-SVN-Hooks-1.25
p5-SVN-Log-0.03_5
p5-SVN-Look-0.41
p5-SVN-Mirror-0.75_2
p5-SVN-Notify-2.84
p5-SVN-Notify-Config-0.0911_3,1
p5-SVN-Notify-Filter-AuthZMail-1.01_2
p5-SVN-Notify-Filter-EmailFlatFileDB-1.01
p5-SVN-Notify-Filter-Markdown-0.05
p5-SVN-Notify-Filter-Watchers-0.10
p5-SVN-Notify-Mirror-0.040,1
p5-SVN-Notify-Snapshot-0.04
p5-SVN-S4-1.055
p5-SVN-Simple-0.28_2
p5-SVN-Statistics-0.041_7
p5-SVN-Web-0.63
p5-WWW-OpenSVN-0.1.3
pear-VersionControl_SVN-0.5.1
pecl-svn-1.0.2
psvn-emacs24-20120326.212349_2
py27-hgsvn-0.2.5
pysvn-1.7.8
qsvn-0.8.1_6
rapidsvn-0.12.1_2
rsvndump-0.6
ssvnc-1.0.29
statsvn-0.7.0_2
svn2cl-0.14
svn2git-1.0.10
svn_load_dirs-1.8.4
svndelta-1.0.6_4
svnkit-1.3.0
svnmailer-py27-1.1.0.d.r1373_5
svntrac-2.0.1_1
svnup-1.05
websvn-2.3.3
 

Whattteva

Wizard
Joined
Mar 5, 2013
Messages
1,824
I can't vouch if the client will work, but I can vouch for working SVN repository in the jail with no issues so I don't see any reason why the same can't be done with the client.
 

boostman

Cadet
Joined
Aug 5, 2014
Messages
7
Yeah I realize that there should be nothing installed within FREENAS that isn't already there, and that it would be wiped with an upgrade/reboot.

the 1.6.23 is actually subversion not the client as I was not aware they just wanted to be able to use the client. Not using svn myself this is still rather new to me so I am trying to understand how they use it to better figure out how to get it working best for them.

I will look into setting up the dataset outside of the jail and see how that works for them.

Thanks for the response cyberjock.

Anyone else have any insight or actually running subversion client in a jail like is suggested?
 
Status
Not open for further replies.
Top