Skip to content

cvangysel/gitexd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Extensible Git Daemon

Extensible Git Daemon (gitexd) is an event-driven, customizable and extensible solution developed in Python for the purpose of a bachelor thesis at the University of Antwerp. It provides users with a basic daemon that exposes repositories through the Secure Shell and the Hypertext Transport Transfer Protocol.

The logic that the daemon uses to

  • route requested repositories to the local file system,
  • authenticate users,
  • authorize users,
  • handle errors,
  • and to invoke everything above

is customizable by the user of the daemon and thus allows for pretty advanced uses.

If you are looking for an implementation example, see the Drupal.org implementation.

Requirements

Using the daemon

Starting the daemon can be done as simply as the following code snippet:

config = ConfigParser.ConfigParser()
config.readfp(open(‘gitexd.cfg’))

pluginPackages = {
    IAuth: gitexd.plugins,
    IRepositoryRouter: gitexd.plugins
}

factory = Factory(config, pluginPackages)

ssh = reactor.listenTCP(22, factory.createSSHFactory())
http = reactor.listenTCP(80, factory.createHTTPFactory())

See the documentation for more information.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published