aptly - Debian repository management tool https://www.aptly.info/
 
 
 
 
Go to file
Andrey Smirnov 9d02f057c6 Version bump: 0.7.1. 2014-08-06 02:24:43 +04:00
aptly Version bump: 0.7.1. 2014-08-06 02:24:43 +04:00
cmd Add -force-overwrite flag to publish update, switch, snapshot and repo commands. #90 2014-08-05 17:01:18 +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 Workaround for broken time.Time encoding in msgpack with go < 1.2. #89 2014-08-06 01:56:13 +04:00
files Fix style and add comments. #90 2014-08-05 14:50:15 +04:00
http Use idiomatic chan struct{} when there's nothing to send. 2014-07-24 01:25:59 +04:00
man Man page update: -force-overwrite flag. #90 2014-08-06 02:04:25 +04:00
query Introduce regexp query matching. 2014-07-15 19:00:06 +04:00
s3 Add 'force' to LinkFromPool method: overwrite file even if exists and different content. #90 2014-08-05 14:50:06 +04:00
system Version bump: 0.7.1. 2014-08-06 02:24:43 +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 Drop support for go1.1 2014-08-05 15:26:41 +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 Remove Makefile part specific for go1.1 2014-08-05 15:59:32 +04:00
README.rst Merge branch 'patch-1' of https://github.com/guilhem/aptly 2014-08-05 17:01:55 +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

.. image:: http://gobuild.io/badge/github.com/smira/aptly/download.png
    :target: http://gobuild.io/github.com/smira/aptly


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.2+ 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/>`_.