Metadata-Version: 2.0
Name: depot
Version: 0.0.12
Summary: Manage package repositories in the cloud.
Home-page: http://github.com/coderanger/depot
Author: Noah Kantrowitz
Author-email: noah@coderanger.net
License: Apache 2.0
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Requires-Dist: apache-libcloud (>=0.14.0)
Requires-Dist: docopt
Requires-Dist: six
Requires-Dist: lockfile
Requires-Dist: arpy
Requires-Dist: python-gnupg
Requires-Dist: defusedxml
Requires-Dist: lxml

Depot
=====

.. image:: https://travis-ci.org/coderanger/depot.png?branch=master   :target: https://travis-ci.org/coderanger/depot

Used to push, it is a replacement for reprepro+s3cmd sync and whatnot.

It does incremental updates of a repo, so you don't need to keep a full local copy of the repo anymore.

You just feed it each package as they are made and it updates all the various metadata files as needed.

Usage
-----

::

  Usage: depot [options] <package> [<package> ...]

  -h --help                    show this help message and exit
  --version                    show program's version number and exit
  -s URI --storage=URI         URI for storage provider, checks $DEPOT_STORAGE or local://
  -c NAME --codename=NAME      Debian distribution codename [default: lucid]
  --component=NAME             Debian component name [default: main]
  -a ARCH --architecture=ARCH  package architecture if not specified in package
  -k KEYID --gpg-key=KEYID     GPG key ID to use for signing
  --no-sign                    do not sign this upload
  --no-public                  do not make cloud files public-readable

Example
-------

::

  depot -s s3://apt.example.com -c precise -k 6791B14F mypackage.deb

Storage Location
----------------

Storage locations are given as URIs like local:///srv/repo or s3://key:secret@bucket. Any scheme supported
by libcloud should work, but only local and s3 have been tested so far.

S3 Credentials
--------------

You can pass your AWS access key ID and secret access key as the username and password in the storage URI,
or if not present depot will check the $AWS_ACCESS_KEY_ID and $AWS_SECRET_ACCESS_KEY environment variables.


