git » repo-mgmt.git » main » tree

[main] / process-new-pkgs.sh

#!/bin/bash
set -e

order_up() {
./orderize.py >> order
nano order
mv $1 /tmp/old
touch $1
if [[ -n "$(git status --porcelain | grep order)" ]]; then
	git add order
	git commit -m "new packages (auto)"
fi
./git-it-up.sh
}

mkdir -p /tmp/old

# Note: we only handle base and kde5, not core
cd /sources/base-pkgbuilds
order_up armv7h-built-order
cd /sources/kde5-pkgbuilds
order_up built-order

cd /sources/repo-mgmt

( ./export-gits.sh )
( ./push-gits.sh )