Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package openSUSE-release-tools for 
openSUSE:Factory checked in at 2023-09-12 21:03:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/openSUSE-release-tools (Old)
 and      /work/SRC/openSUSE:Factory/.openSUSE-release-tools.new.1766 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "openSUSE-release-tools"

Tue Sep 12 21:03:49 2023 rev:501 rq:1110540 version:20230912.75e93b7

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/openSUSE-release-tools/openSUSE-release-tools.changes
    2023-08-31 13:52:13.466176635 +0200
+++ 
/work/SRC/openSUSE:Factory/.openSUSE-release-tools.new.1766/openSUSE-release-tools.changes
  2023-09-12 21:05:00.596726787 +0200
@@ -1,0 +2,6 @@
+Tue Sep 12 09:28:01 UTC 2023 - opensuse-releaset...@opensuse.org
+
+- Update to version 20230912.75e93b7:
+  * Attempt to publish BCI repos more often
+
+-------------------------------------------------------------------

Old:
----
  openSUSE-release-tools-20230829.44bcd82.obscpio

New:
----
  openSUSE-release-tools-20230912.75e93b7.obscpio

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

Other differences:
------------------
++++++ openSUSE-release-tools.spec ++++++
--- /var/tmp/diff_new_pack.HOhFpv/_old  2023-09-12 21:05:02.208784288 +0200
+++ /var/tmp/diff_new_pack.HOhFpv/_new  2023-09-12 21:05:02.208784288 +0200
@@ -20,7 +20,7 @@
 %define source_dir openSUSE-release-tools
 %define announcer_filename factory-package-news
 Name:           openSUSE-release-tools
-Version:        20230829.44bcd82
+Version:        20230912.75e93b7
 Release:        0
 Summary:        Tools to aid in staging and release work for openSUSE/SUSE
 License:        GPL-2.0-or-later AND MIT

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.HOhFpv/_old  2023-09-12 21:05:02.244785572 +0200
+++ /var/tmp/diff_new_pack.HOhFpv/_new  2023-09-12 21:05:02.244785572 +0200
@@ -1,7 +1,7 @@
 <servicedata>
   <service name="tar_scm">
     <param 
name="url">https://github.com/openSUSE/openSUSE-release-tools.git</param>
-    <param 
name="changesrevision">44bcd829043b8a062d627c050e6ac47e9b9e15a5</param>
+    <param 
name="changesrevision">75e93b714fd6ebb9a9af31eda1058dfc82abc436</param>
   </service>
 </servicedata>
 

++++++ openSUSE-release-tools-20230829.44bcd82.obscpio -> 
openSUSE-release-tools-20230912.75e93b7.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/openSUSE-release-tools-20230829.44bcd82/gocd/bci.gocd.yaml 
new/openSUSE-release-tools-20230912.75e93b7/gocd/bci.gocd.yaml
--- old/openSUSE-release-tools-20230829.44bcd82/gocd/bci.gocd.yaml      
2023-08-29 11:57:17.000000000 +0200
+++ new/openSUSE-release-tools-20230912.75e93b7/gocd/bci.gocd.yaml      
2023-09-12 11:26:33.000000000 +0200
@@ -131,7 +131,7 @@
     group: BCI
     lock_behavior: unlockWhenFinished
     timer:
-      spec: 0 23 9 ? * *
+      spec: 0 23 * ? * *
       only_on_changes: false
     materials:
       git:
@@ -239,7 +239,7 @@
     group: BCI
     lock_behavior: unlockWhenFinished
     timer:
-      spec: 0 23 9 ? * *
+      spec: 0 23 * ? * *
       only_on_changes: false
     materials:
       git:
@@ -347,7 +347,7 @@
     group: BCI
     lock_behavior: unlockWhenFinished
     timer:
-      spec: 0 23 9 ? * *
+      spec: 0 23 * ? * *
       only_on_changes: false
     materials:
       git:
@@ -455,7 +455,7 @@
     group: BCI
     lock_behavior: unlockWhenFinished
     timer:
-      spec: 0 23 9 ? * *
+      spec: 0 23 * ? * *
       only_on_changes: false
     materials:
       git:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/openSUSE-release-tools-20230829.44bcd82/gocd/bci.gocd.yaml.erb 
new/openSUSE-release-tools-20230912.75e93b7/gocd/bci.gocd.yaml.erb
--- old/openSUSE-release-tools-20230829.44bcd82/gocd/bci.gocd.yaml.erb  
2023-08-29 11:57:17.000000000 +0200
+++ new/openSUSE-release-tools-20230912.75e93b7/gocd/bci.gocd.yaml.erb  
2023-09-12 11:26:33.000000000 +0200
@@ -131,7 +131,7 @@
     group: BCI
     lock_behavior: unlockWhenFinished
     timer:
-      spec: 0 23 9 ? * *
+      spec: 0 23 * ? * *
       only_on_changes: false
     materials:
       git:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/openSUSE-release-tools-20230829.44bcd82/gocd/bci_repo_publish.py 
new/openSUSE-release-tools-20230912.75e93b7/gocd/bci_repo_publish.py
--- old/openSUSE-release-tools-20230829.44bcd82/gocd/bci_repo_publish.py        
2023-08-29 11:57:17.000000000 +0200
+++ new/openSUSE-release-tools-20230912.75e93b7/gocd/bci_repo_publish.py        
2023-09-12 11:26:33.000000000 +0200
@@ -120,6 +120,14 @@
             self.logger.info('Current build already published, nothing to do.')
             return
 
+        # If the last published build is less than a day old, don't publish
+        newest_published_mtime = max([int(pkg['published_mtime']) for pkg in 
packages])
+        published_build_age_hours = int(time.time() - newest_published_mtime) 
// (60 * 60)
+        if published_build_age_hours < 24:
+            self.logger.info('Current published build less than a day old '
+                             f'({published_build_age_hours}h).')
+            return
+
         # Check openQA results
         openqa_passed = True
         for pkg in packages:

++++++ openSUSE-release-tools.obsinfo ++++++
--- /var/tmp/diff_new_pack.HOhFpv/_old  2023-09-12 21:05:02.996812396 +0200
+++ /var/tmp/diff_new_pack.HOhFpv/_new  2023-09-12 21:05:03.000812539 +0200
@@ -1,5 +1,5 @@
 name: openSUSE-release-tools
-version: 20230829.44bcd82
-mtime: 1693303037
-commit: 44bcd829043b8a062d627c050e6ac47e9b9e15a5
+version: 20230912.75e93b7
+mtime: 1694510793
+commit: 75e93b714fd6ebb9a9af31eda1058dfc82abc436
 

Reply via email to