Skip to main content

APT repo management, buildd, etc.

Project description


This Django app implements everything you need to create APT repositories, buildd infrastructure as well as automatic package building.

It expects access to an OpenStack Compute cloud to perform builds and uses reprepro on the backend to manage the APT repositories, process incoming, etc.

Setting it up should be fairly simple.

You need Django, django-tastypie, django-celery, sbuild and devscripts installed.

These are the configuration options you need to add to your


The base URL by which your repositories will be reachable.

E.g. if set to, it’s assumed that your web server is configured to expose e.g. the “cisco” repository under


An argv to be executed in the schroot after mk-sbuild is done.

E.g. to avoid using a proxy for a, you can do something like:

POST_MK_SBUILD_CUSTOMISATION = [‘bash’, ‘-c’, ‘echo ' “DIRECT”;' > /etc/apt/apt.conf.d/99noproxy’]


The base URL of the repomgmt app. This is used to construct URLs where build nodes can fetch their puppet manifest.


A URL where the generated tarballs can be found. The tarballs generally land in /var/lib/schroot/tarballs, so you should configure a web server to serve that directory at this URL.


The base directory where the repositories should be kept. Each repository will be represented by a subdirectory here.

It is also expected that django-celery is already configured. This should be as simple as adding something like this near the end of your

INSTALLED_APPS += (“djcelery”, ) import djcelery djcelery.setup_loader()

BROKER_URL = ‘amqp://guest:guest@localhost:5672/’

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-repomgmt-0.1.1.tar.gz (106.4 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page