scripts.mit.edu

MIT SIPB Script Services for Athena

FAQ → General Questions

Can I serve Subversion or Git repositories on scripts.mit.edu?

Yes, scripts supports virtual hosting for Subversion and Git repositories. To use this service, create a folder named ~/Scripts/git or ~/Scripts/svn:

athena% add scripts
athena% signup-minimal
athena% mkdir -p ~/Scripts/git
athena% mkdir -p ~/Scripts/svn

Then either place your repository in that directory or create a symbolic link to your repository:

athena% ln -s ~/cool-repo.git ~/Scripts/git/

Make sure that your repository is readable by scripts, including all its subdirectories. For example, run:

athena% add consult
athena% fsr sa ~/Scripts/repository/ daemon.scripts read

If you are using git, you need to make sure that your repository is marked as exportable:

athena% touch ~/Scripts/git/cool-repo.git/git-daemon-export-ok

scripts currently doesn’t support pushing via the git protocol. Subversion does support unencrypted commits, which you can configure with the files in the conf/ subdirectory of your repository. For this to work, scripts must also have write access to your repository, e.g.:

athena% athrun consult fsr sa ~/Scripts/repository/ daemon.scripts write

Users can checkout the repository using:

git clone git://lockername.scripts.mit.edu/cool-repo.git
svn co svn://lockername.scripts.mit.edu/repo
Previous:
Next:
© 2004-2009, the SIPB scripts.mit.edu project.
These pages may be reused under either the GFDL 1.2 or CC-BY-SA 3.0.
Questions? Contact scripts@mit.edu.

You are currently connected to cats-whiskers.mit.edu.

Other projects by the scripts.mit.edu creators:
MIT's Linux SSH server: Linerva | Athena on Ubuntu: Debathena | Linux security: Ksplice