Drupal.org-Git-Daemons is a project mainly written in Python, it's free.
Proof of concept Daemons created to prototype Drupal.org's forthcoming git infrastructure and project module integration.
This project is a proof of concept and intellectual excercise to demonstrate the use of SSH daemons and beanstalkd to maintain git repositories mapped to project module projects.
All install instructions are Ubuntu / Debian focused.
apt-get install python-twisted
apt-get install python-dev python-setuptools
).wget http://tmrc.mit.edu/mirror/twisted/Twisted/10.1/Twisted-10.1.0.tar.bz2
tar -xvf Twisted-10.1.0.tar.bz2
cd Twisted-10.1.0
pyton setup.py install
cp drupaldaemons.cnf.default /etc/drupaldaemons.cnf
For testing, the daemon can be started by moving into the root of this repository and typing ./drupalGitSSHDaemon.py
For a proper deployment, twistd should be used to run the daemon. If you have installed twisted via packages for your ditribution, you should have one init.d script that manages all of your twisted services. All you have to do is add the following line to the twistd configuration (usually located in /etc/conf.d/twistd
). Replace [uid] and [gid] with the user and group you would like to use to run the daemon and replace the path with the path where you checked out this repository. Don't forget to ensure that the user and group you are using have write access to the folder you specified in your config file.
TWISTD_OPTS="--uid [uid] --gid [gid] -y /usr/local/bin/Drupal.org-Git-Daemons/drupalGitSSHDaemon.tac"
Next, run sudo /etc/init.d/twistd restart
The former beanstalkd repository manager has been deprecated in favor of the Versioncontrol Git Repository Module now included in the VersionControl Git Backend.