项目作者: parazyd

项目描述 :
Repository merger for apt-based distros
高级语言: Python
项目地址: git://github.com/parazyd/amprolla.git
创建时间: 2017-04-10T15:00:09Z
项目社区:https://github.com/parazyd/amprolla

开源协议:GNU Affero General Public License v3.0

下载


amprolla

amprolla is an apt repository merger originally intended for use with
the Devuan infrastructure. This version is the
third iteration of the software. The original version of amprolla was
not performing well in terms of speed, and the second version was never
finished - therefore this version has emerged.

amprolla is a tool that will merge a number of different apt-based
repositories into one, while giving control over (not) including given
packages, architectures, or any specific package metadata. Upon completing
the merge, amprolla will generate and optionally create GnuPG signatures
of the according Release files.

Dependencies

amprolla requires Python 3, the lowest version it’s been tested on was
Python 3.4. It also requires the python-requests library.

Devuan/Debian

  1. rsync gnupg2 python3-requests

Gentoo:

  1. net-misc/rsync app-crypt/gnupg dev-python/requests

Basic usage

Copy lib/config.def.py to lib/config.py and edit lib/config.py to
your needs, and then run amprolla_init.py. This will download the
repositories we will merge afterwards. When this is done, you can run
amprolla_merge.py which will perform the actual merge, and finally
sign the Release files needed. The first time this is done, it is
advisable to run the script found in contrib/populate_aliases.sh so
it can fill in the needed symlinks to the different suites. Make sure
you set the correct paths and names in the script.

To perform incremental updates, run orchestrate.sh with a cron job
in your desired intervals. Edit the script to set the correct paths.

nginx and lighttpd configurations can be found in contrib.

More documentation should be found in the doc directory.