All Projects → adfinis-sygroup → pyaptly

adfinis-sygroup / pyaptly

Licence: AGPL-3.0 license
Automates the creation and managment of aptly mirrors and snapshots based on yml input files.

Programming Languages

python
139335 projects - #7 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to pyaptly

Data
Extended implementation of ArrayObject - useful collection for any config in your system (write, read, store, change, validate, convert to other format and etc).
Stars: ✭ 77 (+352.94%)
Mutual labels:  yml
Setup Miniconda
Set up your GitHub Actions workflow with conda via miniconda
Stars: ✭ 222 (+1205.88%)
Mutual labels:  yml
ansible-role-aptly
Install aptly debian respository manager and enable the REST API
Stars: ✭ 37 (+117.65%)
Mutual labels:  aptly
Yq
Command-line YAML, XML, TOML processor - jq wrapper for YAML/XML/TOML documents
Stars: ✭ 1,688 (+9829.41%)
Mutual labels:  yml
Sshkeydistribut0r
A tool to automate key distribution with user authorization
Stars: ✭ 153 (+800%)
Mutual labels:  yml
ymlx
Command-line YAML processor
Stars: ✭ 77 (+352.94%)
Mutual labels:  yml
React
Smart Server Performance
Stars: ✭ 65 (+282.35%)
Mutual labels:  yml
resume
Simple and clean resume in Jekyll
Stars: ✭ 40 (+135.29%)
Mutual labels:  yml
Neph
A modern command line job processor, similar with make command
Stars: ✭ 174 (+923.53%)
Mutual labels:  yml
simple-ansible-inventory
A simple, clean and easily readable Ansible inventory
Stars: ✭ 25 (+47.06%)
Mutual labels:  yml
Localappveyor
Run your AppVeyor builds, locally
Stars: ✭ 112 (+558.82%)
Mutual labels:  yml
Yaml Expander
Expands internal property references in a yaml file.
Stars: ✭ 137 (+705.88%)
Mutual labels:  yml
publiccode.yml
A metadata standard for public software
Stars: ✭ 97 (+470.59%)
Mutual labels:  yml
Taffy
Test Automation Framework Based On Nosetests. ✨🍰✨
Stars: ✭ 94 (+452.94%)
Mutual labels:  yml
docker-compose-search
command line utility to search docker-compose projects
Stars: ✭ 32 (+88.24%)
Mutual labels:  yml
Cfn Sphere
AWS CloudFormation stack management tool
Stars: ✭ 76 (+347.06%)
Mutual labels:  yml
api-spec
API Specififications
Stars: ✭ 30 (+76.47%)
Mutual labels:  yml
wordpress-bundle
Use Wordpress and Symfony together using a Symfony bundle
Stars: ✭ 30 (+76.47%)
Mutual labels:  yml
swagger-aggregate
Spring Boot app to aggregate multiple service's Swagger api-docs
Stars: ✭ 23 (+35.29%)
Mutual labels:  yml
php-serializer
Serialize PHP variables, including objects, in any format. Support to unserialize it too.
Stars: ✭ 47 (+176.47%)
Mutual labels:  yml

Pyaptly

Automates the creation and managment of aptly mirrors and snapshots based on yml input files.

pypi travis coverage [1]

Read the Docs

[1]Coverage enforced by tests (on travis)

Example commands

Initialize a new aptly server.

pyaptly -c mirrors.yml mirror create
pyaptly -c mirrors.yml mirror update
pyaptly -c mirrors.yml snapshot create
pyaptly -c mirrors.yml publish create

Update mirrors and snapshots and switch publish endpoints with automatic-update: true to the new snapshots.

pyaptly -c mirrors.yml mirror update
pyaptly -c mirrors.yml snapshot create
pyaptly -c mirrors.yml publish create
pyaptly -c mirrors.yml publish update

Manually trigger a switch to the new snapshots for the publish endpoint ubuntu/stable.

pyaptly -c mirrors.yml publish update ubuntu/stable

Install Debian/Ubuntu

Sources:

deb http://aptly.adfinis-sygroup.ch/adsy-public/debian wheezy main

deb http://aptly.adfinis-sygroup.ch/adsy-public/debian jessie main

deb http://aptly.adfinis-sygroup.ch/adsy-public/ubuntu trusty main

deb http://aptly.adfinis-sygroup.ch/adsy-public/ubuntu vivid main

deb http://aptly.adfinis-sygroup.ch/adsy-public/ubuntu xenial main

Install:

wget -O - http://aptly.adfinis-sygroup.ch/aptly.asc | apt-key add -
apt-get update
apt-get install python-pyaptly

Testing

Automatic

git submodule update --init --recursive
make test-local

Manual. There is a safety check in tests. They won't work if you don't set $HOME.

git submodule update --init --recursive
source testenv
py.test -x

or

git submodule update --init --recursive
export HOME="$(pwd)"
export PATH="$HOME/aptly_0.9.6_linux_amd64/:$PATH"
py.test -x

Vagrant Box

The box provisions aptly, nginx and two repos which can be used for tests:

aptly mirror create mirro-fakerepo01 http://localhost/fakerepo01 main
aptly mirror create mirro-fakerepo02 http://localhost/fakerepo02 main
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].