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 2025-05-15 17:02:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/obs-service-source_validator (Old)
 and      /work/SRC/openSUSE:Factory/.obs-service-source_validator.new.30101 
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "obs-service-source_validator"

Thu May 15 17:02:59 2025 rev:85 rq:1277691 version:0.41

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/obs-service-source_validator/obs-service-source_validator.changes
        2025-05-14 17:02:42.351004447 +0200
+++ 
/work/SRC/openSUSE:Factory/.obs-service-source_validator.new.30101/obs-service-source_validator.changes
     2025-05-15 17:03:05.330513872 +0200
@@ -1,0 +2,7 @@
+Thu May 15 10:41:18 UTC 2025 - Dirk Müller <dmuel...@suse.com>
+
+- Update to version 0.41:
+  * helpers/check_dates_in_changes: Handle invalid dates gracefully
+  * helpers/check_dates_in_changes: Only look at the first line of entries
+
+-------------------------------------------------------------------

Old:
----
  obs-service-source_validator-0.40.tar.xz

New:
----
  obs-service-source_validator-0.41.tar.xz

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

Other differences:
------------------
++++++ obs-service-source_validator.spec ++++++
--- /var/tmp/diff_new_pack.aa99RK/_old  2025-05-15 17:03:07.366599345 +0200
+++ /var/tmp/diff_new_pack.aa99RK/_new  2025-05-15 17:03:07.378599849 +0200
@@ -23,7 +23,7 @@
 %endif
 
 Name:           obs-service-source_validator
-Version:        0.40
+Version:        0.41
 Release:        0
 Summary:        An OBS source service: running all the osc source-validator 
checks
 License:        GPL-2.0-or-later

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.aa99RK/_old  2025-05-15 17:03:07.634610596 +0200
+++ /var/tmp/diff_new_pack.aa99RK/_new  2025-05-15 17:03:07.666611939 +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">c67c5f78b674e730002ce30715d3a3508033801e</param></service></servicedata>
+              <param 
name="changesrevision">e90e51d713db8342fcefac147523ddb9333b4d2c</param></service></servicedata>
 (No newline at EOF)
 

++++++ debian.dsc ++++++
--- /var/tmp/diff_new_pack.aa99RK/_old  2025-05-15 17:03:07.794617313 +0200
+++ /var/tmp/diff_new_pack.aa99RK/_new  2025-05-15 17:03:07.822618488 +0200
@@ -1,6 +1,6 @@
 Format: 1.0
 Source: obs-service-source-validator
-Version: 0.40-0
+Version: 0.41-0
 Binary: obs-service-source-validator
 Maintainer: Hib Eris <h...@hiberis.nl>
 Architecture: all

++++++ obs-service-source_validator-0.40.tar.xz -> 
obs-service-source_validator-0.41.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/obs-service-source_validator-0.40/helpers/check_dates_in_changes 
new/obs-service-source_validator-0.41/helpers/check_dates_in_changes
--- old/obs-service-source_validator-0.40/helpers/check_dates_in_changes        
2025-05-14 13:21:02.000000000 +0200
+++ new/obs-service-source_validator-0.41/helpers/check_dates_in_changes        
2025-05-15 12:40:41.000000000 +0200
@@ -20,9 +20,15 @@
 
     while read LINE ; do
         case "$LINE" in
-         removed*) ;;
-         *@*@*) ;;
-          *-*@*)
+          --------------*)
+            # Next line is the changelog entry header
+            read LINE
+          ;;
+          *)
+            continue
+          ;;
+        esac
+
             DATESTR=""
             LINE=${LINE#\*}
             for i in $LINE ; do
@@ -53,14 +59,15 @@
                                TROUBLE_FOUND=true
                                ;;
                        esac
-            DATE=`date +%s --date "$DATESTR" 2> /dev/null`
+            if ! DATE=`date +%s --date "$DATESTR"`; then
+                  TROUBLE_FOUND=true
+                  continue
+            fi
             test $? -gt 0 -o -z "$DATE" -o "$LAST_IS_YEAR" != true -o "$DATE" 
-gt "$now" && {
                 echo "$CHANGES"
                 echo "ERROR: INVALID DATE \"$DATESTR\" "
                 TROUBLE_FOUND=true
             }
-          ;;
-        esac
     done < "$CHANGES"
 done
 if test $TROUBLE_FOUND = false ; then

Reply via email to