You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+28-8Lines changed: 28 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,19 +1,38 @@
1
1
# serve-svn
2
-
## Very simple container to run WebSVN viewer and provide access to svn utilities and svnserve.
2
+
## Very simple container to run WebSVN viewer and provide access to svn utilities and protocol.
3
+
4
+
I am using this container on my Synology NAS to have access to old code - recently DSM 7.0 dropped svn support and I am to lazy to move old code to git.
5
+
6
+
Normally I run it in read only mode, viewer is fully functional and you could use svn:// protocol to list things:
For some reason Alpine's build of subversion does not have svntools and without `svnauthz`[WebSVN](https://websvnphp.github.io/) refuses to work. So I had to build my own. Setting up build environment is very simple. I
16
-
used [this](https://github.com/yuk7/AlpineWSL) to install Alpine 3.14 under WSL2 in Windows 10 and then followed [the official guide](https://wiki.alpinelinux.org/wiki/Creating_an_Alpine_package#Setup_your_system_and_account). Takes about 3 minutes to complete.
31
+
## Technicalities
32
+
33
+
For some reason Alpine's build of subversion does not have svntools and without `svnauthz`[WebSVN](https://websvnphp.github.io/) refuses to work. So I had to build my own.
34
+
Setting up build environment is very simple. I used [this](https://github.com/yuk7/AlpineWSL) to install Alpine 3.14 under WSL2 in Windows 10 (you could use Hyper-V or VirtualBox too)
35
+
and then followed [the official guide](https://wiki.alpinelinux.org/wiki/Creating_an_Alpine_package#Setup_your_system_and_account). Takes about 3 minutes to complete.
17
36
18
37
Building Subversion with `svnauthz` requires a simple patch:
19
38
@@ -35,6 +54,7 @@ Building Subversion with `svnauthz` requires a simple patch:
I am using this container on my Synology to have access to very old code - recently DSM 7.0 dropped svn support and I am to lazy to move old code to git.
57
+
## Credits
58
+
59
+
* Thanks to [Luca Florio](https://github.com/elleFlorio) with his [elleFlorio/svn-docker](https://github.com/elleFlorio/svn-docker) for inspiration.
0 commit comments