Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Java
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
sshjgit-advice
sshjgit-core
sshjgit-runtime
sshjgit-testsupport
sshjgit-xstream
.gitignore
README
pom.xml

README

This project aims to be a very flexible git repo server, and should require no
specific infrastructure. All authentication and authorization is delegated to
Apache Shiro, which itself is very flexible.

Before building this project, you currently have to build Shiro from source
yourself. See http://incubator.apache.org/shiro/download.html

TODO and GOTCHAS:

If a user pushes to a git repo path which does not already have a git repo in
it, a git repo is automatically created there (given permissions check out).
That is likely not the desired behavior for all installations.

The Main class example is mildly useful on its own. A proper server config and
deployment mechanism is needed.

USING

If you want to try the server, build and boot it up. Then:

mkdir repo
cd repo
git init
touch README
git add README
git commit -m 'first commit'
git remote add origin ssh://USERNAME@localhost:2222/repo.git
git push origin master

Something went wrong with that request. Please try again.