Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package linuxrc-devtools for 
openSUSE:Factory checked in at 2025-04-08 17:51:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/linuxrc-devtools (Old)
 and      /work/SRC/openSUSE:Factory/.linuxrc-devtools.new.1907 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "linuxrc-devtools"

Tue Apr  8 17:51:37 2025 rev:19 rq:1267773 version:1.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/linuxrc-devtools/linuxrc-devtools.changes        
2024-10-15 14:58:55.985999041 +0200
+++ 
/work/SRC/openSUSE:Factory/.linuxrc-devtools.new.1907/linuxrc-devtools.changes  
    2025-04-08 17:52:20.749298871 +0200
@@ -1,0 +2,7 @@
+Mon Apr 7 17:52:00 UTC 2025 - wfe...@opensuse.org
+
+- merge gh#openSUSE/linuxrc-devtools#35
+- adjust to osc api change
+- 1.5
+
+--------------------------------------------------------------------

Old:
----
  linuxrc-devtools-1.4.tar.xz

New:
----
  linuxrc-devtools-1.5.tar.xz

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

Other differences:
------------------
++++++ linuxrc-devtools.spec ++++++
--- /var/tmp/diff_new_pack.f9pIOp/_old  2025-04-08 17:52:21.229318990 +0200
+++ /var/tmp/diff_new_pack.f9pIOp/_new  2025-04-08 17:52:21.233319159 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package linuxrc-devtools
 #
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:           linuxrc-devtools
-Version:        1.4
+Version:        1.5
 Release:        0
 Source:         %{name}-%{version}.tar.xz
 

++++++ linuxrc-devtools-1.4.tar.xz -> linuxrc-devtools-1.5.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-devtools-1.4/VERSION 
new/linuxrc-devtools-1.5/VERSION
--- old/linuxrc-devtools-1.4/VERSION    2024-10-14 12:37:41.000000000 +0200
+++ new/linuxrc-devtools-1.5/VERSION    2025-04-07 19:52:00.000000000 +0200
@@ -1 +1 @@
-1.4
+1.5
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-devtools-1.4/changelog 
new/linuxrc-devtools-1.5/changelog
--- old/linuxrc-devtools-1.4/changelog  2024-10-14 12:37:41.000000000 +0200
+++ new/linuxrc-devtools-1.5/changelog  2025-04-07 19:52:00.000000000 +0200
@@ -1,3 +1,7 @@
+2025-04-07:    1.5
+       - merge gh#openSUSE/linuxrc-devtools#35
+       - adjust to osc api change
+
 2024-10-14:    1.4
        - merge gh#openSUSE/linuxrc-devtools#34
        - do case-insensitive matches when de-duplicating log lines
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-devtools-1.4/tobs 
new/linuxrc-devtools-1.5/tobs
--- old/linuxrc-devtools-1.4/tobs       2024-10-14 12:37:41.000000000 +0200
+++ new/linuxrc-devtools-1.5/tobs       2025-04-07 19:52:00.000000000 +0200
@@ -760,41 +760,44 @@
       if(open my $p, "osc -A https://$sr->{api} r --csv 
$sr->{prefix}$config->{to_prj} $config->{package} |") {
         # sample line:
         #
-        # openSUSE_Factory|x86_64|unpublished|False|succeeded|
+        # old: openSUSE_Factory|x86_64|unpublished|False|succeeded|
+        # new: 
"openSUSE_Factory","x86_64","hwinfo","unpublished","False","succeeded",""
         #
-        # field 0, 1, 2: not relevant
-        # field 3: False or True; if True, state is going to change
-        # field 4: status
-        # field 5: sometimes a 6th field is added with the real state
+        # field 0, 1, 2, 3: not relevant
+        # field 4: False or True; if True, state is going to change
+        # field 5: status
+        # field 6: sometimes a 7th field is added with the real state
         #
         while (<$p>) {
           chomp;
-          my @i = split /\|/;
+          my @i = split /,/;
+          s/^"|"$//g for @i;
+
           if(
-            $i[3] eq "False" &&
+            $i[4] eq "False" &&
             (
-              $i[4] eq "succeeded" ||
-              $i[4] eq "finished" && $i[5] eq "succeeded"
+              $i[5] eq "succeeded" ||
+              $i[5] eq "finished" && $i[6] eq "succeeded"
             )
           ) {
             $ok = 1;
           }
           elsif(
-            $i[3] eq "False" &&
+            $i[4] eq "False" &&
             (
-              $i[4] eq "failed" ||
-              $i[4] eq "unresolvable" ||
-              $i[4] eq "broken" ||
-              $i[4] eq "finished" && $i[5] eq "failed"
+              $i[5] eq "failed" ||
+              $i[5] eq "unresolvable" ||
+              $i[5] eq "broken" ||
+              $i[5] eq "finished" && $i[6] eq "failed"
             )
           ) {
             $failed = 1;
           }
           elsif(
-            $i[3] eq "False" &&
+            $i[4] eq "False" &&
             !(
-              $i[4] eq "excluded" ||
-              $i[4] eq "disabled"
+              $i[5] eq "excluded" ||
+              $i[5] eq "disabled"
             )
           ) {
             $building = 1;

Reply via email to