aptly - Debian repository management tool https://www.aptly.info/
 
 
 
 
Go to file
Andrey Smirnov b5d025f141 Version bump for 0.5.1. 2014-05-10 18:10:19 +04:00
aptly Version bump for 0.5.1. 2014-05-10 18:10:19 +04:00
cmd Fix support for flat format repositories in subdirectories with common pool. #47 2014-05-10 16:56:50 +04:00
console Progress during publishing. 2014-03-07 17:24:45 +04:00
database Fix ugly bug. #25 2014-04-05 16:20:04 +04:00
deb Fix pool directory for packages with version in Source: field. #44 2014-05-10 17:25:44 +04:00
files Use progress when printing. #8 2014-04-22 17:19:10 +04:00
http Bring back automatic HTTP_PROXY setting from environment. #46 2014-05-10 13:27:01 +04:00
man Fix support for flat format repositories in subdirectories with common pool. #47 2014-05-10 16:56:50 +04:00
system Version bump for 0.5.1. 2014-05-10 18:10:19 +04:00
utils GPG may suddenly decide to re-validate its trustdb, resulting in any 2014-03-25 18:42:03 +04:00
.gitignore A bit of simplification for Makefile. 2014-03-11 12:13:46 +04:00
.travis.yml Stop building on 1.2. 2014-04-03 00:57:39 +04:00
Gomfile Fix "production" libraries in Gomfile with exact SHA. 2014-05-10 18:08:12 +04:00
LICENSE Add 2014 to LICENSE file. 2014-01-30 11:59:19 +04:00
Makefile Add target to build "all-in-one" source tarball for Debian. 2014-05-10 18:06:23 +04:00
README.rst Fix gom invocation. #28 2014-04-13 23:10:53 +04:00
main.go Rework fatal mechanism, open config on demand. 2014-04-06 21:05:06 +04:00
mem.gp gnuplot script. 2014-03-03 20:59:37 +04:00

README.rst

=====
aptly
=====

.. image:: https://travis-ci.org/smira/aptly.png?branch=master
    :target: https://travis-ci.org/smira/aptly

.. image:: https://coveralls.io/repos/smira/aptly/badge.png?branch=HEAD
    :target: https://coveralls.io/r/smira/aptly?branch=HEAD

Aptly is a swiss army knife for Debian repository management.

Documentation is available at `http://www.aptly.info/ <http://www.aptly.info/>`_. For support use
mailing list `aptly-discuss <https://groups.google.com/forum/#!forum/aptly-discuss>`_.

Aptly features: ("+" means planned features)

* make mirrors of remote Debian/Ubuntu repositories, limiting by components/architectures
* take snapshots of mirrors at any point in time, fixing state of repository at some moment of time
* publish snapshot as Debian repository, ready to be consumed by apt
* controlled update of one or more packages in snapshot from upstream mirror, tracking dependencies
* merge two or more snapshots into one
* filter repository by search query, pulling dependencies when required (+)
* publish self-made packages as Debian repositories (+)
* mirror repositories "as-is" (without resigning with user's key) (+)
* support for yum repositories (+)

Current limitations:

* debian-installer and translations not supported yet

Download
--------

To install aptly on Debian/Ubuntu, add new repository to /etc/apt/sources.list::

    deb http://repo.aptly.info/ squeeze main

And import key that is used to sign the release::

    $ gpg --keyserver keys.gnupg.net --recv-keys 2A194991
    $ gpg -a --export 2A194991 | sudo apt-key add -

After that you can install aptly as any other software package::

    $ apt-get update
    $ apt-get install aptly

Don't worry about squeeze part in repo name: aptly package should work on Debian squeeze+,
Ubuntu 10.0+. Package contains aptly binary, man page and bash completion.

Binary executables (depends almost only on libc) are available for download from `Bintray <http://dl.bintray.com/smira/aptly/>`_.

If you have Go environment set up, you can build aptly from source by running (go 1.1+ required)::

    go get -u github.com/mattn/gom
    mkdir -p $GOPATH/src/github.com/smira/aptly
    git clone https://github.com/smira/aptly $GOPATH/src/github.com/smira/aptly
    cd $GOPATH/src/github.com/smira/aptly
    gom -production install
    gom build -o $GOPATH/bin/aptly

Aptly is using `gom <https://github.com/mattn/gom>`_ to fix external dependencies, so regular ``go get github.com/smira/aptly``
should work as well, but might fail or produce different result (if external libraries got updated).

If you don't have Go installed (or older version), you can easily install Go using `gvm <https://github.com/moovweb/gvm/>`_.