Git Product home page Git Product logo

alpine-svn's Introduction

alpine-svn

Description:

Docker image for Subversion with WebDAV on Alpine Linux. This image has 'Auto-versioning' turned on (SVNAutoversioning on) for PUTs grom non subversion clients.

Building it (it is not up on Dockerhub)

git clone [email protected]:paul-hammant/alpine-svn.git
cd alpine-svn
docker build -t paul-hammant/alpine-svn .

Running it

Starting container with docker command:

docker run -d -P paul-hammant/alpine-svn

The container start with the default account: davsvn (password: davsvn) and the default repository: testrepo

docker run -d -e SVN_REPO=repo -P paul-hammant/alpine-svn

The container start with the default account: davsvn (password: davsvn) and the specified repository: repo

docker run -d -e DAV_SVN_USER=user -e DAV_SVN_PASS=pass -P paul-hammant/alpine-svn

The container start with the specified account: user (password: pass) and the default repository: testrepo

docker run -d -e DAV_SVN_USER=user -e DAV_SVN_PASS=pass -e SVN_REPO=repo -P paul-hammant/alpine-svn

The container start with the specified account: user (password: pass) and the specified repository: repo

Host storage

Docker allocates an expanding sorage file to the container. The default for that is 50GB.

Using it

Quick and dirty, note the server address:

docker ps

Then, in a new directory elsewhere:

svn co --username davsvn --password davsvn http://0.0.0.0:32772/svn/testrepo
cd testrepo
# add/chg/commit as usual

And the magic (do in a new directory)

echo "hello" > .greeting
curl -u davsvn:davsvn -X PUT -T .greeting http://0.0.0.0:32772/svn/testrepo/greeting.txt

Whereupon you can svn up back in the checkout to see it.

Commit messages suck:

`Autoversioning commit:  a non-deltaV client made a change to`

It would be nice if MOD_DAV_SVN could accept a header for a custom message. Source for that log message is here. There is also a ticket for that change SVN-4454, that is presently marked as 'Won't Fix'.

Refer http://svnbook.red-bean.com/en/1.7/svn.webdav.autoversioning.html for canonical SVNAutoversioning info.

alpine-svn's People

Contributors

pikado avatar paul-hammant avatar

Watchers

Rafael Corvalao avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.