aptly - Debian repository management tool https://www.aptly.info/
 
 
 
 
Go to file
Andrey Smirnov 14bd443d4d Disable support for aptly task for now. #96 2014-10-03 12:52:46 +04:00
aptly Version bump to 0.8. 2014-10-03 12:20:21 +04:00
cmd Disable support for aptly task for now. #96 2014-10-03 12:52:46 +04:00
console Progress during publishing. 2014-03-07 17:24:45 +04:00
database Don't panic on double re-open/close, ignore it. #45 #114 2014-10-03 01:20:26 +04:00
deb Marking RemoteRepo as being updated, with worker PID, checking for locks. #45 #114 2014-10-03 01:32:19 +04:00
files Fix style and add comments. #90 2014-08-05 14:50:15 +04:00
http Abort downloader on shutdown, don't wait for downloads to finish. #45 #114 2014-10-03 01:31:38 +04:00
man Update man page. #45 #114 2014-10-03 11:06:14 +04:00
query Introduce regexp query matching. 2014-07-15 19:00:06 +04:00
s3 Introduce plusWorkaround: generate copy of file with '+' -> ' ' to workaround S3/apt bug. #98 2014-10-01 21:32:56 +04:00
system Disable support for aptly task for now. #96 2014-10-03 12:52:46 +04:00
utils Introduce plusWorkaround: generate copy of file with '+' -> ' ' to workaround S3/apt bug. #98 2014-10-01 21:32:56 +04:00
.gitignore A bit of simplification for Makefile. 2014-03-11 12:13:46 +04:00
.travis.yml Another way to install boto. 2014-10-01 18:17:55 +04:00
AUTHORS Add Vincent Batoufflet to list of authors. 2014-08-29 00:53:56 +04:00
Gomfile Update goleveldb to the latest version. 2014-10-03 01:19:36 +04:00
LICENSE Add 2014 to LICENSE file. 2014-01-30 11:59:19 +04:00
Makefile Another way to install boto. 2014-10-01 18:17:55 +04:00
README.rst .udebs are supported now. #108 2014-09-30 21:53:19 +04:00
main.go Refactoring: remove context switching, another way to catch panics, colored output. #96 2014-08-25 22:05:02 +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.

.. image:: http://www.aptly.info/img/aptly_logo.png
    :target: http://www.aptly.info/

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:

* translations are 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/>`_.