Hello community, here is the log from the commit of package obs-service-source_validator for openSUSE:Factory checked in at 2017-08-06 11:29:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/obs-service-source_validator (Old) and /work/SRC/openSUSE:Factory/.obs-service-source_validator.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "obs-service-source_validator" Sun Aug 6 11:29:00 2017 rev:37 rq:512828 version:0.6+git20170719.d4384e5 Changes: -------- --- /work/SRC/openSUSE:Factory/obs-service-source_validator/obs-service-source_validator.changes 2017-01-24 10:29:10.446364650 +0100 +++ /work/SRC/openSUSE:Factory/.obs-service-source_validator.new/obs-service-source_validator.changes 2017-08-06 11:29:03.104009979 +0200 @@ -1,0 +2,18 @@ +Wed Jul 19 09:08:06 UTC 2017 - tchva...@suse.com + +- Update to version 0.6+git20170719.d4384e5: + * Don't complain about Debian manpages files missing in *.spec + * Add README.md file + * Fix service run mode check for localonly + * Add 80-multibuild_xor_multispec: only multibuild OR multispec is supported + * extract GPG_OPTIONS variable for multiple runs + * For signature verification, use trust model "always" + +------------------------------------------------------------------- +Sat Jul 15 12:43:06 UTC 2017 - tchva...@suse.com + +- Update to version 0.6+git20170715.607b861: + * - support obspcio also in osc case + * Remove provides and obsoletes from the spec + +------------------------------------------------------------------- Old: ---- obs-service-source_validator-0.6+git20170111.82ea590.tar.bz2 New: ---- obs-service-source_validator-0.6+git20170719.d4384e5.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ obs-service-source_validator.spec ++++++ --- /var/tmp/diff_new_pack.8dh3V2/_old 2017-08-06 11:29:04.575802629 +0200 +++ /var/tmp/diff_new_pack.8dh3V2/_new 2017-08-06 11:29:04.575802629 +0200 @@ -20,7 +20,8 @@ Summary: An OBS source service: running all the osc source-validator checks License: GPL-2.0+ Group: Development/Tools/Building -Version: 0.6+git20170111.82ea590 +Url: https://github.com/openSUSE/obs-service-source_validator +Version: 0.6+git20170719.d4384e5 Release: 0 # use osc service dr to update Source: %{name}-%{version}.tar.bz2 @@ -51,6 +52,7 @@ %setup -q %build +: %install %makeinstall ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.8dh3V2/_old 2017-08-06 11:29:04.735780091 +0200 +++ /var/tmp/diff_new_pack.8dh3V2/_new 2017-08-06 11:29:04.735780091 +0200 @@ -1,4 +1,4 @@ <servicedata> <service name="tar_scm"> <param name="url">git://github.com/openSUSE/obs-service-source_validator.git</param> - <param name="changesrevision">e11c2948adf7a3ab41525203b83564587df602c7</param></service></servicedata> \ No newline at end of file + <param name="changesrevision">080473b4ecd78ef7d7e36f1de0a14a7aa245d76d</param></service></servicedata> \ No newline at end of file ++++++ debian.dsc ++++++ --- /var/tmp/diff_new_pack.8dh3V2/_old 2017-08-06 11:29:04.803770512 +0200 +++ /var/tmp/diff_new_pack.8dh3V2/_new 2017-08-06 11:29:04.807769948 +0200 @@ -1,6 +1,6 @@ Format: 1.0 Source: obs-service-source-validator -Version: 0.6+git20170111.82ea590 +Version: 0.6+git20170719.d4384e5-0 Binary: obs-service-source-validator Maintainer: Hib Eris <h...@hiberis.nl> Architecture: all ++++++ obs-service-source_validator-0.6+git20170111.82ea590.tar.bz2 -> obs-service-source_validator-0.6+git20170719.d4384e5.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/obs-service-source_validator-0.6+git20170111.82ea590/20-files-present-and-referenced new/obs-service-source_validator-0.6+git20170719.d4384e5/20-files-present-and-referenced --- old/obs-service-source_validator-0.6+git20170111.82ea590/20-files-present-and-referenced 2017-01-11 14:23:16.000000000 +0100 +++ new/obs-service-source_validator-0.6+git20170719.d4384e5/20-files-present-and-referenced 2017-07-19 10:52:31.000000000 +0200 @@ -117,6 +117,8 @@ /^Icon/d /^Recommends/d /^Supplements/d + /^Provides/d + /^Obsoletes/d /^Suggests/d /^Enhances/d /^\([Ss]ource\|[Pp]atch\)[0-9]*:[ ]*/{ @@ -204,9 +206,9 @@ xmllint --format $i > $TMPDIR/_service if egrep -q "service .*mode=." $TMPDIR/_service \ - && ! egrep -q "service .*mode=.(disabled|localrun|buildtime|explicit)" \ + && ! egrep -q "service .*mode=.(disabled|buildtime|explicit|localonly" \ $TMPDIR/_service; then - echo "(W) openSUSE: projects only allow 'disabled', 'buildtime', 'explicit' or 'localrun' services." + echo "(W) openSUSE: projects only allow 'disabled', 'buildtime', 'explicit' or 'localonly' services." fi fi @@ -221,6 +223,10 @@ if test -f "$DESTINATIONDIR/$file"; then return 0 fi + if test -f "$DESTINATIONDIR/${file/\.tar\.*/}.obscpio"; then + # assume it will generated on builtime based of the archive + return 0 + fi if grep -qsFx "$file" "$DESTINATIONDIR/_to_be_added"; then return 0 fi @@ -248,14 +254,15 @@ # if [ -f $DIR_TO_CHECK/*.keyring 2>/dev/null ]; then - gpg -q --no-default-keyring --keyring $TMPDIR/.checkifvalidsourcedir-gpg-keyring --import $DIR_TO_CHECK/*.keyring + GPG_OPTIONS="-q --no-default-keyring --keyring $TMPDIR/.checkifvalidsourcedir-gpg-keyring --trust-model always" + gpg $GPG_OPTIONS --import $DIR_TO_CHECK/*.keyring for i in $DIR_TO_CHECK/*.sig $DIR_TO_CHECK/*.sign $DIR_TO_CHECK/*.asc; do if [ -f "$i" ]; then validatefn=${i%.asc} validatefn=${validatefn%.sig} validatefn=${validatefn%.sign} if [ -f "$validatefn" ]; then - gpg -q --no-default-keyring --keyring $TMPDIR/.checkifvalidsourcedir-gpg-keyring --verify "$i" || { + gpg $GPG_OPTIONS --verify "$i" || { echo "(E) signature $i does not validate" RETURN=2 } @@ -263,7 +270,7 @@ if [ -f "$validatefn.gz" ]; then TMPFILE=`mktemp` zcat "$validatefn.gz" > $TMPFILE - gpg -q --no-default-keyring --keyring $TMPDIR/.checkifvalidsourcedir-gpg-keyring --verify "$i" "$TMPFILE" || { + gpg $GPG_OPTIONS --verify "$i" "$TMPFILE" || { echo "(E) signature $i does not validate" RETURN=2 } @@ -272,7 +279,7 @@ if [ -f "$validatefn.bz2" ]; then TMPFILE=`mktemp` bzcat "$validatefn.bz2" > $TMPFILE - gpg -q --no-default-keyring --keyring $TMPDIR/.checkifvalidsourcedir-gpg-keyring --verify "$i" "$TMPFILE" || { + gpg $GPG_OPTIONS --verify "$i" "$TMPFILE" || { echo "(E) signature $i does not validate" RETURN=2 } @@ -281,7 +288,7 @@ if [ -f "$validatefn.xz" ]; then TMPFILE=`mktemp` xzcat "$validatefn.xz" > $TMPFILE - gpg -q --no-default-keyring --keyring $TMPDIR/.checkifvalidsourcedir-gpg-keyring --verify "$i" "$TMPFILE" || { + gpg $GPG_OPTIONS --verify "$i" "$TMPFILE" || { echo "(E) signature $i does not validate" RETURN=2 } @@ -417,6 +424,7 @@ debian.compat | \ debian.control | \ debian.copyright | \ + debian.manpages | \ debian.postinst | \ debian.postrm | \ debian.preinst | \ @@ -432,6 +440,7 @@ debian.*.init | \ debian.*.install | \ debian.*.logrotate | \ + debian.*.manpages | \ debian.*.postinst | \ debian.*.postrm | \ debian.*.preinst | \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/obs-service-source_validator-0.6+git20170111.82ea590/80-multibuild_xor_multispec new/obs-service-source_validator-0.6+git20170719.d4384e5/80-multibuild_xor_multispec --- old/obs-service-source_validator-0.6+git20170111.82ea590/80-multibuild_xor_multispec 1970-01-01 01:00:00.000000000 +0100 +++ new/obs-service-source_validator-0.6+git20170719.d4384e5/80-multibuild_xor_multispec 2017-07-19 10:52:31.000000000 +0200 @@ -0,0 +1,21 @@ +#!/bin/bash + +test "$1" = "--verbose" && { VERBOSE=true ; shift ; } +test "$1" = "--batchmode" && { BATCHMODE=true ; shift ; } +DIR_TO_CHECK=$1 +DESTINATIONDIR=$2 +test -n "$DIR_TO_CHECK" || DIR_TO_CHECK=`pwd` +HELPERS_DIR="/usr/lib/obs/service/source_validators/helpers" +$HELPERS_DIR/check_input_filename "$DIR_TO_CHECK" || exit 1 +test -z "$DESTINATIONDIR" -a -d "$DIR_TO_CHECK/.osc" && DESTINATIONDIR="$DIR_TO_CHECK/.osc" + + +RETURN=0 + +if [ -f "$DIR_TO_CHECK/_multibuild" -a $(ls -1 "$DIR_TO_CHECK/"*.spec | wc -l) -gt 1 ]; then + echo "ERROR: we support EITHER _multibuild OR multiple spec files. Do not add both" + RETURN=1 +fi + +exit $RETURN + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/obs-service-source_validator-0.6+git20170111.82ea590/README.md new/obs-service-source_validator-0.6+git20170719.d4384e5/README.md --- old/obs-service-source_validator-0.6+git20170111.82ea590/README.md 1970-01-01 01:00:00.000000000 +0100 +++ new/obs-service-source_validator-0.6+git20170719.d4384e5/README.md 2017-07-19 10:52:31.000000000 +0200 @@ -0,0 +1,6 @@ +# source_validator (OBS source service) + +This is an [Open Build Service](http://openbuildservice.org/) source service. This service runs all checks as required by openSUSE:Factory project. This can be used to guarantee that all checks succeed also on the service side. This plugin can be used via project wide defined services. + +This is the git repository for [openSUSE:Tools/obs-service-source_validator](https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-source_validator). The authoritative source is https://github.com/openSUSE/obs-service-source_validator +