Skip to content

twistor/Drupal.org-Git-Daemons

 
 

Repository files navigation

Drupal.org Git Daemons

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.

BeanstalkD Repository Manager

Requirements:

To run this Daemon you must have the python 2.6 or higher and have beanstalkc installed.

Installing beanstalkdRepositoryManager and its dependencdies

Install and start beanstalkd

Beanstalk can easily be built from source. Once you have beanstalkd, start it with the following command: [path to your compiled beantaslk]/beanstalkd -l 127.0.0.1 -p 11300

Install beanstalkc

All install instructions are Ubuntu / Debian focused.

  • Ensure that you have easy_install installed (on debian/ubuntu apt-get install python-dev python-setuptools).
  • Install beanstalkc's YAML dependency: easy_install PyYAML.
  • Run git clone https://github.com/earl/beanstalkc.git
  • Move into the beanstalkc directory cd beanstalkc
  • Run the installer python setup.py install
  • Copy and configure the configuration file cp drupaldaemons.cnf.default drupaldaemons.cnf and nano drupaldaemons.cnf

Configure the daemon

Configure the daemon in the drupaldaemons.cnf to properly point to a local directory on your system and at your drupal site where Project Git Auth is properly installed.

Starting the repo manager

Once you have beanstalk started run ./beanstalkdRepositoryManager.py from inside this repository.

Install and configure the Project Git Auth module

Drupal Git SSH Daemon

Requirements:

Installing Twisted

All install instructions are Ubuntu / Debian focused.

  • Ensure that you have easy_install installed (on debian/ubuntu apt-get install python-dev python-setuptools).
  • On Ubuntu, apt-get install python-twisted
  • Install zope
  • Download Twisted 10.1.0 wget http://tmrc.mit.edu/mirror/twisted/Twisted/10.1/Twisted-10.1.0.tar.bz2
  • Untar Twisted tar -xvf Twisted-10.1.0.tar.bz2
  • Move into the Twisted directory cd Twisted-10.1.0
  • Run the Twisted installer pyton setup.py install
  • Copy and configure the configuration file cp drupaldaemons.cnf.default drupaldaemons.cnf

Configure the daemon

Configure the daemon in the drupaldaemons.cnf to properly point to a local directory on your system and at your drupal site where Project Git Auth is properly installed.

Starting the daemon

From inside this repository, Start the daemon by typing ./drupalGitSSHDaemon.py

About

Proof of concept Daemons created to prototype Drupal.org's forthcoming git infrastructure and project module integration.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published