Bitbucket is a code hosting site with unlimited public and private repositories. We're also free for small teams!

Close
Draft aims to be a simple continuous integration system.

Design goals:
- Requires Python 2.6
- No external packages
- Simple setup using wsgi
- Configuration is a python module
- No seperate process to run builds, everything happens via forks from one 
  process
- Build framework not included.  Draft simply runs a shell command.  If the
  command has a non zero exit code, then the build is considered failed. stdout
  and stderr are saved for each build.
- No web interface required. Use the command line interface if that's all you 
  need
- History of each build is kept on the filesystem in a directory, easily 
  introspected by hand or programatically

Possible future goals:
- A beautiful web interface
- Sending email on failure
- Assocaite build artifacts with the build such as code coverage reports
- Documentation
- Notifications to build are send via an http POST, in json format or via a
  command line call

Anti-goals:
- Scale to large numbers of builds
- Builds on remote machines.  Use ssh if you must.
- Require a web interface
- Require more than typing in build commands to configure

INSTALL:
Draft requires a python module for configuration.  Draft looks in
DRAFT_SETTINGS environment variable for a module name, then the
default of 'settings'.  Note the module must be in your python path.

The settings module has one required parameter, 'builds' a list of
dictionaries containing keys 'name' and 'command'.  See
settings_example.py

There's an optional STATUS_DIR, a path to a draft-writeable directory
which will be created if it doesn't exist.  Defaults to './var'.

Recent activity

Nothing to see here, move along.

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.