From 0fa19ebeb3276ab8c18640d581e984f15872f601 Mon Sep 17 00:00:00 2001 From: Andrew Ammerlaan Date: Mon, 4 Apr 2022 16:47:08 +0200 Subject: Drop repoman in favour of pkgcheck/pkgdev As per discussed in [1] [1] https://archives.gentoo.org/gentoo-dev/message/93df9e7a2ad9d8d33e0cc83b50556d51 Signed-off-by: Andrew Ammerlaan --- scripts/setup-and-run-repoman.sh | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100755 scripts/setup-and-run-repoman.sh (limited to 'scripts') diff --git a/scripts/setup-and-run-repoman.sh b/scripts/setup-and-run-repoman.sh deleted file mode 100755 index ad5e15a87..000000000 --- a/scripts/setup-and-run-repoman.sh +++ /dev/null @@ -1,31 +0,0 @@ -#! /usr/bin/env bash -# Maintainer: Andrew Ammerlaan -# Maintainer: James Beddek -# -# This sets up repoman and runs the latest version -# -# TODO: Force repoman to output in colour - -### Setup prerequisites -python3 -m pip install --upgrade pip -pip install lxml pyyaml -sudo groupadd -g 250 portage -sudo useradd -g portage -d /var/tmp/portage -s /bin/false -u 250 portage - -### Sync the portage repository -git clone https://github.com/gentoo/portage.git -cd portage - -# Get all versions, and read into array -mapfile -t RM_VERSIONS < <( git tag | grep portage | sort -uV ) - -# Select latests version (last element in array) -RM_VERS="${RM_VERSIONS[-1]}" - -# Checkout this version -git checkout tags/${RM_VERS} -b ${RM_VERS} - -cd .. - -### Run repoman -python3 portage/repoman/bin/repoman -dx full -- cgit v1.2.3-65-gdbad