From 78527f4218e1adcf6751ed5894d3dad0c18c7b1f Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Fri, 20 Mar 2015 22:22:21 +0100 Subject: reproducible: later manual scheduling is earlier in the queue now --- bin/reproducible_common.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh index 7f318e14..0737c729 100755 --- a/bin/reproducible_common.sh +++ b/bin/reproducible_common.sh @@ -77,7 +77,11 @@ META_PKGSET[14]="maint_pkg-perl-maintainers" schedule_packages() { # these packages are manually scheduled, so should have high priority, # so schedule them in the past, so they are picked earlier :) - DATE="2014-10-01 00:23" + # the current date is subtracted twice, so that later manual scheduling comes first + DAYS=$(echo "$(date +'%j')*2"|bc) + HOURS=$(echo "$(date +'%H')*2"|bc) + MINS=$(echo "$(date +'%M')*2"|bc) + DATE=$(date +'%Y-%m-%d %H:%M' -d "$DAYS day ago - $HOURS hours - $MINS minutes") TMPFILE=$(mktemp) ARTIFACTS=$1 shift -- cgit v1.2.3-70-g09d2