[ARVADOS-DEV] updated: 23391a8d819238b3b9f934c93331a0d96a8dec85
Git user
git at public.curoverse.com
Wed Mar 16 03:44:52 EDT 2016
Summary of changes:
discards 01f929c1fa3ff468a74281e065ee5ca28c370149 (commit)
via 23391a8d819238b3b9f934c93331a0d96a8dec85 (commit)
This update added new revisions after undoing existing revisions. That is
to say, the old revision is not a strict subset of the new revision. This
situation occurs when you --force push a change and generate a repository
containing something like this:
* -- * -- B -- O -- O -- O (01f929c1fa3ff468a74281e065ee5ca28c370149)
\
N -- N -- N (23391a8d819238b3b9f934c93331a0d96a8dec85)
When this happens we assume that you've already had alert emails for all
of the O revisions, and so we here report only the revisions in the N
branch from the common base, B.
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 23391a8d819238b3b9f934c93331a0d96a8dec85
Author: Tom Clegg <tom at curoverse.com>
Date: Wed Mar 16 03:43:06 2016 -0400
Fix backports dir search for PACKAGE="llfuse==0.41.1". refs #8345
diff --git a/jenkins/run-library.sh b/jenkins/run-library.sh
index c2e9b40..bc76dd6 100755
--- a/jenkins/run-library.sh
+++ b/jenkins/run-library.sh
@@ -244,10 +244,6 @@ fpm_build () {
# that will take precedence, as desired.
COMMAND_ARR+=(--iteration "$(default_iteration "$PACKAGE" "$VERSION")")
- # 'dir' type packages are provided in the form /path/to/source=/path/to/dest
- # so strip off the 2nd part to check for fpm-info below.
- PACKAGE_DIR=$(echo $PACKAGE | sed 's/\/=.*//')
-
# Append --depends X and other arguments specified by fpm-info.sh in
# the package source dir. These are added last so they can override
# the arguments added by this script.
@@ -255,19 +251,19 @@ fpm_build () {
declare -a build_depends=()
declare -a fpm_depends=()
declare -a fpm_exclude=()
- FPM_INFO=""
- if [[ -d "$PACKAGE_DIR" ]]; then
- FPM_INFO="$PACKAGE_DIR/fpm-info.sh"
- elif [[ -e "${WORKSPACE}/backports/${PACKAGE_TYPE}-${PACKAGE}/fpm-info.sh" ]]; then
- FPM_INFO="${WORKSPACE}/backports/${PACKAGE_TYPE}-${PACKAGE}/fpm-info.sh"
- debug_echo "Found fpm-info.sh in backports: $FPM_INFO"
- elif [[ -e "${WORKSPACE}/backports/${PACKAGE_TYPE}-${PACKAGE_NAME}/fpm-info.sh" ]]; then
- FPM_INFO="${WORKSPACE}/backports/${PACKAGE_TYPE}-${PACKAGE_NAME}/fpm-info.sh"
- fi
- if [[ -e "$FPM_INFO" ]]; then
- debug_echo "Loading fpm overrides from $FPM_INFO"
- source "$FPM_INFO"
- fi
+ declare -a fpm_dirs=(
+ # source dir part of 'dir' package ("/source=/dest" => "/source"):
+ "${PACKAGE%%=/*}"
+ # backports ("llfuse==0.41.1" => "backports/python-llfuse")
+ "${WORKSPACE}/backports/${PACKAGE_TYPE}-${PACKAGE%%[<=>]*}")
+ for pkgdir in "${fpm_dirs[@]}"; do
+ fpminfo="$pkgdir/fpm-info.sh"
+ if [[ -e "$fpminfo" ]]; then
+ debug_echo "Loading fpm overrides from $fpminfo"
+ source "$fpminfo"
+ break
+ fi
+ done
for pkg in "${build_depends[@]}"; do
if [[ $TARGET =~ debian|ubuntu ]]; then
pkg_deb=$(ls "$WORKSPACE/packages/$TARGET/$pkg_"*.deb | sort -rg | awk 'NR==1')
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list