summaryrefslogtreecommitdiff
path: root/testing2x
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2014-06-18 21:33:20 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2014-06-18 21:33:20 -0400
commitaae3b0a2490d65832547f29327f9e8828442a48d (patch)
tree29b554ba243e1d97e3104c6c18d9838d6c4fc250 /testing2x
parentd433fbd1da44acdf3dd50abce428fe57912f9fa7 (diff)
cleanup:
- move some config into config.local.* - `mv createrepos db-init` - `mv {,db-}check-package-libraries.py` - `mv `list_nonfree_in_db.py db-list-nonfree.py` - `rm abslibre`: To be replaced by XBS+update abs tarballs script - `rm create-repo mkrepo`: Both did the same thing, just fancy `mkdir` - `rm `testing2x`: Just use db-move.
Diffstat (limited to 'testing2x')
-rwxr-xr-xtesting2x59
1 files changed, 0 insertions, 59 deletions
diff --git a/testing2x b/testing2x
deleted file mode 100755
index b76438b..0000000
--- a/testing2x
+++ /dev/null
@@ -1,59 +0,0 @@
-#!/bin/bash
-
-. "$(dirname "$(readlink -e "$0")")/config"
-. "$(dirname "$(readlink -e "$0")")/db-functions"
-
-if [ $# -lt 1 ]; then
- msg "usage: %s <pkgname|pkgbase> ..." "${0##*/}"
- exit 1
-fi
-
-# Lock everything to reduce possibility of interfering task between the different repo-updates
-script_lock
-for repo in "${TESTING_REPO}" "${STABLE_REPOS[@]}"; do
- for pkgarch in "${ARCHES[@]}"; do
- repo_lock "${repo}" "${pkgarch}" || exit 1
- done
-done
-
-declare -A pkgs
-
-for pkgbase in "$@"; do
- if [ ! -d "${WORKDIR}/${pkgbase}" ]; then
- found_source=false
- for pkgarch in "${ARCHES[@]}" 'any'; do
- xbsrepo_from="$(xbs releasepath "${pkgbase}" "${TESTING_REPO}" "${pkgarch}")"
- if [ -r "${xbsrepo_from}/PKGBUILD" ]; then
- found_source=true
- break
- fi
- done
- "${found_source}" || die "%s not found in [%s]" "${pkgbase}" "${TESTING_REPO}"
- found_target=false
- for pkgarch in "${ARCHES[@]}" 'any'; do
- for repo in "${STABLE_REPOS[@]}"; do
- xbsrepo_to="$(xbs releasepath "${pkgbase}" "${repo}" "${pkgarch}")"
- if [ -r "${xbsrepo_to}/PKGBUILD" ]; then
- found_target=true
- pkgs[${repo}]+="${pkgbase} "
- break 2
- fi
- done
- done
- "${found_target}" || die "%s not found in any of these repos: %s" "${pkgbase}" "${STABLE_REPOS[*]}"
- fi
-done
-
-for pkgarch in "${ARCHES[@]}"; do
- repo_unlock "${TESTING_REPO}" "${pkgarch}"
-done
-for repo in "${STABLE_REPOS[@]}"; do
- for pkgarch in "${ARCHES[@]}"; do
- repo_unlock "${repo}" "${pkgarch}"
- done
- if [ -n "${pkgs[${repo}]}" ]; then
- "$(dirname "$(readlink -e "$0")")/db-move" ${TESTING_REPO} "${repo}" ${pkgs[${repo}]}
- fi
-done
-
-script_unlock