Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package obs-service-source_validator for 
openSUSE:Factory checked in at 2022-03-28 16:58:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/obs-service-source_validator (Old)
 and      /work/SRC/openSUSE:Factory/.obs-service-source_validator.new.1900 
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "obs-service-source_validator"

Mon Mar 28 16:58:32 2022 rev:54 rq:964648 version:0.23

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/obs-service-source_validator/obs-service-source_validator.changes
        2022-02-06 23:53:55.794961222 +0100
+++ 
/work/SRC/openSUSE:Factory/.obs-service-source_validator.new.1900/obs-service-source_validator.changes
      2022-03-28 16:59:00.448842732 +0200
@@ -1,0 +2,8 @@
+Tue Mar 22 10:23:11 UTC 2022 - dmuel...@suse.com
+
+- Update to version 0.23:
+  * Allow mode=manual services
+  * spec_query: add elif support
+  * 45-stale-changes: Also read <package/> in _multibuild
+
+-------------------------------------------------------------------

Old:
----
  obs-service-source_validator-0.22.tar.bz2

New:
----
  obs-service-source_validator-0.23.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ obs-service-source_validator.spec ++++++
--- /var/tmp/diff_new_pack.pvqCmG/_old  2022-03-28 16:59:00.940843400 +0200
+++ /var/tmp/diff_new_pack.pvqCmG/_new  2022-03-28 16:59:00.944843405 +0200
@@ -21,7 +21,7 @@
 License:        GPL-2.0-or-later
 Group:          Development/Tools/Building
 URL:            https://github.com/openSUSE/obs-service-source_validator
-Version:        0.22
+Version:        0.23
 Release:        0
 # use osc service dr to update
 Source:         %{name}-%{version}.tar.bz2

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.pvqCmG/_old  2022-03-28 16:59:00.988843465 +0200
+++ /var/tmp/diff_new_pack.pvqCmG/_new  2022-03-28 16:59:00.992843471 +0200
@@ -3,6 +3,6 @@
             <param 
name="url">git://github.com/openSUSE/obs-service-source_validator.git</param>
           <param 
name="changesrevision">c68d7a28c4ecd88b179359b030098503e75adc0b</param></service><service
 name="tar_scm">
                 <param 
name="url">https://github.com/openSUSE/obs-service-source_validator.git</param>
-              <param 
name="changesrevision">cef379cd1fd909c84ea8d2d9281dd93d311b9eca</param></service></servicedata>
+              <param 
name="changesrevision">4665aeff78e5c3540300135f6ef9be785648ac3f</param></service></servicedata>
 (No newline at EOF)
 

++++++ debian.dsc ++++++
--- /var/tmp/diff_new_pack.pvqCmG/_old  2022-03-28 16:59:01.020843509 +0200
+++ /var/tmp/diff_new_pack.pvqCmG/_new  2022-03-28 16:59:01.024843514 +0200
@@ -1,6 +1,6 @@
 Format: 1.0
 Source: obs-service-source-validator
-Version: 0.22-0
+Version: 0.23-0
 Binary: obs-service-source-validator
 Maintainer: Hib Eris <h...@hiberis.nl>
 Architecture: all

++++++ obs-service-source_validator-0.22.tar.bz2 -> 
obs-service-source_validator-0.23.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/obs-service-source_validator-0.22/20-files-present-and-referenced 
new/obs-service-source_validator-0.23/20-files-present-and-referenced
--- old/obs-service-source_validator-0.22/20-files-present-and-referenced       
2022-02-03 17:18:45.000000000 +0100
+++ new/obs-service-source_validator-0.23/20-files-present-and-referenced       
2022-03-22 09:09:32.000000000 +0100
@@ -116,9 +116,9 @@
             xmllint --format "$i" > $TMPDIR/_service
 
             if egrep -q "service .*mode=." $TMPDIR/_service \
-                    && ! egrep -q "service 
.*mode=.(disabled|buildtime|explicit|localonly)" \
+                    && ! egrep -q "service 
.*mode=.(disabled|manual|buildtime|localonly)" \
                     $TMPDIR/_service; then
-                echo "(W) openSUSE: projects only allow 'disabled', 
'buildtime', 'explicit' or 'localonly' services."
+                echo "(W) openSUSE: projects only allow 'manual' or 
'buildtime' services (localonly/disabled are deprecated)."
             fi
         fi
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/obs-service-source_validator-0.22/45-stale-changes 
new/obs-service-source_validator-0.23/45-stale-changes
--- old/obs-service-source_validator-0.22/45-stale-changes      2022-02-03 
17:18:45.000000000 +0100
+++ new/obs-service-source_validator-0.23/45-stale-changes      2022-03-22 
09:09:32.000000000 +0100
@@ -23,7 +23,7 @@
   [ -e "$i" ] || return
   # PASS if we have trouble parsing the .spec file
   if [ -e "$DIR_TO_CHECK/_multibuild" ]; then
-    xmllint -xpath '/multibuild/flavor/text()' "$DIR_TO_CHECK/_multibuild" | 
while read flavor; do
+    xmllint -xpath '(/multibuild/flavor | /multibuild/package)/text()' 
"$DIR_TO_CHECK/_multibuild" | while read flavor; do
         $HELPERS_DIR/spec_query --specfile "$i" --print-subpacks --buildflavor 
$flavor | sed -e "s@ .*@@"
     done
   fi
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/obs-service-source_validator-0.22/helpers/spec_query 
new/obs-service-source_validator-0.23/helpers/spec_query
--- old/obs-service-source_validator-0.22/helpers/spec_query    2022-02-03 
17:18:45.000000000 +0100
+++ new/obs-service-source_validator-0.23/helpers/spec_query    2022-03-22 
09:09:32.000000000 +0100
@@ -43,6 +43,9 @@
     } elsif (/^\s*%if/) {
       unshift @ifs, { $st_if => $line };
       next;
+    } elsif (/^\s*%elif/) {
+      die($line . ": %elif without %if\n") unless @ifs;
+      next;
     } elsif (/^\s*%else/) {
       die($line . ": %else without %if\n") unless @ifs;
       if (exists $ifs[0]{$st_ifname}) {

Reply via email to