Go to file
Frédéric Péters 58d6eab803 add support for a local_settings.py file 2015-08-19 12:29:23 +02:00
eobuilder add support for a local_settings.py file 2015-08-19 12:29:23 +02:00
.gitignore add support for a local_settings.py file 2015-08-19 12:29:23 +02:00
MANIFEST.in initial python import 2014-01-31 18:16:59 +01:00
Makefile Add jessie support 2015-02-25 17:31:03 +01:00
README.rst return a specific exit code in case of unsupported module type 2015-08-19 11:36:31 +02:00
dput.cf dput.cf: add DEFAULT section and add wip repositories 2015-04-28 17:35:20 +02:00
eobuilder-ctl move init() function to module space 2015-08-19 11:52:32 +02:00
eobuilder.cron eobuilder-ctl: debug smart cleanning 2014-02-26 22:01:47 +01:00
eobuilder.sh python version: update Makefile to install python 2014-02-13 18:04:49 +01:00
gitconfig Initial import from admin sys repository 2013-08-08 18:24:29 +02:00
pbuilderrc Add jessie support 2015-02-25 17:31:03 +01:00
setup.py integrate new changelog management (#3453) 2015-05-15 16:02:19 +02:00

README.rst

=======
README
=======

Requirements
------------

Use must use a Debian OS. You need to install make.

Installation
------------

Install eobuilder::

    sudo make install

Install chroots (if you want i386 - amd64 wheezy and squeeze)::

    sudo make chroots

Configuration
-------------

Generate a ssh key for eobuilder user or use an existing one.
Configure your Debian repository to allow this key.

You need to add thes line into your sudoers::

    eobuilder       ALL=  SETENV:NOPASSWD:/usr/sbin/cowbuilder

Quick start
------------

Example with python-entrouvert::

    su eobuilder -p -c "eobuilder -a amd64 -d squeeze,wheezy wcs"
    su eobuilder -p -c "eobuilder -a amd64 -d wheezy auquotidien"
    su eobuilder -p -c "eobuilder -a i386,amd64 -d squeeze lasso"
    su eobuilder -p -c "eobuilder -c deb"

Do note it will fail the SSH host key verification unless the proper
known_hosts file has been installed, or created by manually connecting
to the git server.

Packaging
---------

To make your git repository compatible with eobuilder you need to add a Debian branch
with a debian folder.
You can also use debian-DIST branches.

EO Builder supports 3 types of sources at the moment :

Python
    You need at least a setup.py which supports options :
    --name, --version, --fullname, sdist --formats=bztar and clean --all
    Example: http://repos.entrouvert.org/portail-citoyen-announces.git

Autotools
    You need at least an autogen.sh and a configure.ac files. You also need a script to Generate
    version numbers like : http://repos.entrouvert.org/lasso.git/tree/tools/git-version-gen
    Example: http://repos.entrouvert.org/lasso.git

Makefile
    You need to have a Makefile file with a least the following targets :
    version, name, fullname and dist-bzip2 targets


Exit Codes
----------

- 0: success
- 1: unspecified error
- 2: unsupported project type