Accepting request 801854 from openSUSE:Tools

- handle oddly named ZIP archives
- touch watchdog every 15 instead of 57 minutes

OBS-URL: https://build.opensuse.org/request/show/801854
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/build-compare?expand=0&rev=114
This commit is contained in:
Dominique Leuenberger 2020-05-11 11:25:55 +00:00 committed by Git OBS Bridge
commit 03f37426f6
3 changed files with 13 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue May 5 05:05:05 UTC 2020 - olaf@aepfle.de
- handle oddly named ZIP archives
- touch watchdog every 15 instead of 57 minutes
-------------------------------------------------------------------
Tue Mar 31 09:09:09 UTC 2020 - olaf@aepfle.de

View File

@ -21,7 +21,7 @@ Summary: Build Result Compare Script
License: GPL-2.0+
Group: Development/Tools/Building
Url: https://github.com/openSUSE/build-compare
Version: 20200331T115051.28bf642
Version: 20200508T210136.9aadd6e
Release: 0
Source1: COPYING
Source2: same-build-result.sh

View File

@ -6,7 +6,7 @@
# Written by Michael Matz and Stephan Coolo
# Enhanced by Andreas Jaeger
declare -i watchdog_host_timeout_seconds='3600'
declare -i watchdog_touch_percent_prior_timeout='96'
declare -i watchdog_touch_percent_prior_timeout='25'
declare -i watchdog_next_touch_seconds=0
function watchdog_reset
@ -1047,6 +1047,11 @@ check_single_file()
return 1
fi
;;
Zip\ archive\ data,*)
if ! compare_archive "${file}" 'archive_zip' ; then
return 1
fi
;;
POSIX\ tar\ archive)
mv old/$file{,.tar}
mv new/$file{,.tar}