The officially official Devuan Forum!

You are not logged in.

#1 2019-05-23 16:53:28

spartrekus
Member
Registered: 2017-04-30
Posts: 132  

How install SVN Subversion server on DEVUAN ?

Hello,

What would be the easiest method to get a running SVN Subversion server ?

Major commands would be to have few users maybe 5 users, that that checkout and commit their files.
A quota shall be given, with about 50 Megabytes (only).

The idea is just to commit and to work on few TeX (latex) documents together, using SVN Subversion under (Unix) / Linux, and Mac.

Looking forward to hearing you.

Best regards,
Sp.

Offline

#2 2019-05-24 09:10:35

ToxicExMachina
Member
Registered: 2019-03-11
Posts: 210  

Re: How install SVN Subversion server on DEVUAN ?

Do you want subversion VCS or general task is to make remote repo and git will be ok too?

Offline

#3 2019-05-25 19:47:11

spartrekus
Member
Registered: 2017-04-30
Posts: 132  

Re: How install SVN Subversion server on DEVUAN ?

ToxicExMachina wrote:

Do you want subversion VCS or general task is to make remote repo and git will be ok too?

Just regular checkout via svn and commit over svn too.

svn checkout ip/text

Offline

#4 2019-05-25 23:49:25

ralph.ronnquist
Administrator
From: Clifton Hill, Victoria, AUS
Registered: 2016-11-30
Posts: 1,106  

Re: How install SVN Subversion server on DEVUAN ?

Random search result: https://blog.markshead.com/79/setting-up-svn-over-ssh/

I don't use svn myself, but apparently it's just a case of setting up a shared directory over ssh. The client side (on linux) would refer to that using the format

svn co svn+ssh://<path to repo>

(Windows clients would be the same but different)

The random search result doesn't suggest the server side need additional, particular software.

Limiting the repository size may need some more;. e.g., to mount a partition as the directory. Or perhaps even bind mount a loop-back mounted file with a file system in.

hth

Online

#5 2019-06-03 15:30:49

spartrekus
Member
Registered: 2017-04-30
Posts: 132  

Re: How install SVN Subversion server on DEVUAN ?

mkdir svn-repo
chgrp -R svn svn-repo
cd svn-repo
svnadmin create
chmod -R 770 .
chmod g+s db

it might be to setup, but to install the server (like apache)?

Offline

#6 2019-06-03 22:52:05

ralph.ronnquist
Administrator
From: Clifton Hill, Victoria, AUS
Registered: 2016-11-30
Posts: 1,106  

Re: How install SVN Subversion server on DEVUAN ?

Hm, do you mean you want a Web interface for browsing the remote repositories?

I would believe the "normal" command line access would simply draw upon ssh. Perhaps this "random" page
http://www.startupcto.com/server-tech/s … ing-up-svn
can assist you. Those instructions are for CentOS, but to me it looked like you'll only need some rather thin sanity glasses to make good use of them. I'm not actually familiar with the needs of svn, but at a first glance, you merely need to install the subversion package, which includes the svnserve program that a svn+ssh: client operation will want to run. And then of course maintain the "s" bit on the repository directories.

Though I can see that there exist some "apache-subversion" packages in the distribution, so there probably are ways of having a set up through an apache server as well. I suppose svn has been around long enough to attract a plethora of round-about ways to achieve the thing; perhaps many with useful bells and whistles.

Online

#7 2019-06-05 05:21:41

ToxicExMachina
Member
Registered: 2019-03-11
Posts: 210  

Re: How install SVN Subversion server on DEVUAN ?

The easiest way is gitea or gogs for git (download and run it at server side).

However, if you want subversion, you can install FUSE (version for OS X is here: https://osxfuse.github.io/), mount remote repository as filesystem (for example, sshfs), then use suitable GUI for SVN and work with repository as local one. You don't need server for that. It's not the best way but it's fast, easy and dirty.

Offline

Board footer