devuan's apt repo merger
git clone git://
Log | Files | Refs | README | LICENSE

commit 972453027fcf40b23f5603c8111fe0a268ce558d
parent a0b382bf60dfba2066a795a91fba4ad3b7339f2f
Author: parazyd <>
Date:   Wed, 28 Jun 2017 20:39:38 +0200

add helper script to populate suite aliases/symlinks

Diffstat: | 13+++++++++++--
Acontrib/ | 28++++++++++++++++++++++++++++
2 files changed, 39 insertions(+), 2 deletions(-)

diff --git a/ b/ @@ -41,8 +41,17 @@ Copy `lib/` to `lib/` and edit `lib/` to your needs, and then run ``. This will download the repositories we will merge afterwards. When this is done, you can run `` which will perform the actual merge, and finally -sign the Release files needed. To perform incremental updates, run -`` with a cron job in your desired intervals. +sign the Release files needed. The first time this is done, it is +advisable to run the script found in `contrib/` so +it can fill in the needed symlinks to the different suites. Make sure +you set the correct path in the script. + +To perform incremental updates, run `` with a cron job +in your desired intervals. Edit the script to set the correct paths. + +**NOTE:** in the current testing phase, `` contains a while +loop in order to be ran in tmux to catch unhandled exceptions and fix +the codebase. An `nginx` configuration for the amprolla server can be found in `contrib`. diff --git a/contrib/ b/contrib/ @@ -0,0 +1,28 @@ +#!/bin/sh +# helper script to be ran once after the initial mass merge in order +# to populate the structure with the needed symlinks + +# make sure these correlate to lib/ +REPO_ROOT=/srv/amprolla + +REPOS=" + backports + proposed-updates + security + updates +" + +cd "$REPO_ROOT"/merged-volatile/dists + +for i in $REPOS; do + ln -snfv "ascii-$i" "testing-$i" + ln -snfv "jessie-$i" "stable-$i" +done + +ln -snfv "ascii" "testing" +ln -snfv "jessie" "stable" +ln -snfv "unstable" "ceres" +ln -snfv "jessie" "1.0" +ln -snfv "ascii" "2.0" + +cd - >/dev/null