aptly - Debian repository management tool https://www.aptly.info/
 
 
 
 
Go to file
Andrey Smirnov 7a4feebe6f Version bump to 0.9.5. 2015-03-13 13:26:39 +03:00
api Add -force-drop to `aptly publish drop`, `?force=1` to `DELETE publish/...` to drop 2015-03-11 22:02:11 +03:00
aptly Version bump to 0.9.5. 2015-03-13 13:26:39 +03:00
cmd Add -force-drop to `aptly publish drop`, `?force=1` to `DELETE publish/...` to drop 2015-03-11 22:02:11 +03:00
console More sophisticated color codes stripper. #217 2015-03-11 00:15:56 +03:00
context Fix bug with aptly locking up on swift published storage lookup. #191 2015-02-22 13:42:06 +03:00
database Upgrade gocheck 2014-11-05 13:27:15 -06:00
deb Fix unit-tests. #153 2015-03-11 23:29:07 +03:00
files Lock down package pool to make sure that we have no concurrent access. #116 2015-02-28 22:10:21 +03:00
http gofmt -s 2015-02-22 14:29:09 +03:00
man Regenerate man page. #153 2015-03-11 22:20:43 +03:00
query gofmt -s 2015-02-22 14:29:09 +03:00
s3 gofmt -s 2015-02-22 14:29:09 +03:00
swift gofmt -s 2015-02-22 14:29:09 +03:00
system Version bump to 0.9.5. 2015-03-13 13:26:39 +03:00
utils Style fixes from go vet. 2015-02-22 14:36:14 +03:00
.gitignore A bit of simplification for Makefile. 2014-03-11 12:13:46 +04:00
.travis.yml Update Brightbox Orbit credentials. 2015-02-21 22:26:20 +03:00
AUTHORS Merge branch 'sbadia-swift' 2015-02-21 01:08:48 +03:00
Gomfile Update dependency on ssh/terminal. 2015-02-28 23:00:45 +03:00
LICENSE Add 2014 to LICENSE file. 2014-01-30 11:59:19 +04:00
Makefile Recommend graphviz for Debian packages. 2015-03-03 22:04:10 +03:00
README.rst Simpler apt-key command. #202 2015-02-22 17:41:15 +03: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:: https://badges.gitter.im/Join Chat.svg
    :target: https://gitter.im/smira/aptly?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge

.. image:: http://goreportcard.com/badge/gojp/goreportcard
    :target: http://goreportcard.com/report/gojp/goreportcard

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
* REST API for remote access
* 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::

    $ apt-key adv --keyserver keys.gnupg.net --recv-keys E083A3782A194991

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.

If you would like to use nightly builds (unstable), please use following repository::

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

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