aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/setup-and-run-repoman.sh')
-rwxr-xr-xscripts/setup-and-run-repoman.sh30
1 files changed, 0 insertions, 30 deletions
diff --git a/scripts/setup-and-run-repoman.sh b/scripts/setup-and-run-repoman.sh
deleted file mode 100755
index e2e10c78e..000000000
--- a/scripts/setup-and-run-repoman.sh
+++ /dev/null
@@ -1,30 +0,0 @@
-#! /usr/bin/env bash
-# Maintainer: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
-#
-# 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