aptly - Debian repository management tool https://www.aptly.info/
 
 
 
 
Go to file
Andrey Smirnov 625a38c578 aptly version 0.7 2014-07-29 00:33:53 +04:00
aptly aptly version 0.7 2014-07-29 00:33:53 +04:00
cmd Update command usage. 2014-07-28 19:17:21 +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 Allow saving snapshot without package refs loaded. #63 2014-07-26 17:09:47 +04:00
files Separate out LocalPublishedStorage interface. #15 2014-07-18 17:44:54 +04:00
http Use idiomatic chan struct{} when there's nothing to send. 2014-07-24 01:25:59 +04:00
man Update man page: S3, package queries. 2014-07-28 19:17:10 +04:00
query Introduce regexp query matching. 2014-07-15 19:00:06 +04:00
s3 Implementation of Rename method for S3 PublishedStorage. #15 2014-07-26 01:11:23 +04:00
system aptly version 0.7 2014-07-29 00:33:53 +04:00
utils Rename config option to endpoint. #15 2014-07-28 15:01:51 +04:00
.gitignore A bit of simplification for Makefile. 2014-03-11 12:13:46 +04:00
.travis.yml Build under go1.3 as well. #72 2014-06-27 23:39:32 +04:00
AUTHORS Add Simon Aquino to authors. #67 2014-06-27 23:49:05 +04:00
Gomfile Update goamz to fixed version with signing & encoding. #15 2014-07-28 23:41:59 +04:00
LICENSE Add 2014 to LICENSE file. 2014-01-30 11:59:19 +04:00
Makefile Add Recommends: dependency on bzip2. #84 2014-07-26 01:44:30 +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/>`_.