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 2022-02-26 17:02:16 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/openSUSE-release-tools (Old) and /work/SRC/openSUSE:Factory/.openSUSE-release-tools.new.1958 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "openSUSE-release-tools" Sat Feb 26 17:02:16 2022 rev:385 rq:957712 version:20220225.65cf38f7 Changes: -------- --- /work/SRC/openSUSE:Factory/openSUSE-release-tools/openSUSE-release-tools.changes 2022-02-25 21:25:45.359645635 +0100 +++ /work/SRC/openSUSE:Factory/.openSUSE-release-tools.new.1958/openSUSE-release-tools.changes 2022-02-26 17:02:49.263542937 +0100 @@ -1,0 +2,6 @@ +Fri Feb 25 15:30:16 UTC 2022 - opensuse-releaset...@opensuse.org + +- Update to version 20220225.65cf38f7: + * freeze: Copy weakremovers.inc from target project to avoid bitrot + +------------------------------------------------------------------- Old: ---- openSUSE-release-tools-20220225.970e958e.obscpio New: ---- openSUSE-release-tools-20220225.65cf38f7.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ openSUSE-release-tools.spec ++++++ --- /var/tmp/diff_new_pack.UVPoUZ/_old 2022-02-26 17:02:49.939543044 +0100 +++ /var/tmp/diff_new_pack.UVPoUZ/_new 2022-02-26 17:02:49.943543044 +0100 @@ -20,7 +20,7 @@ %define source_dir openSUSE-release-tools %define announcer_filename factory-package-news Name: openSUSE-release-tools -Version: 20220225.970e958e +Version: 20220225.65cf38f7 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.UVPoUZ/_old 2022-02-26 17:02:49.979543050 +0100 +++ /var/tmp/diff_new_pack.UVPoUZ/_new 2022-02-26 17:02:49.979543050 +0100 @@ -1,7 +1,7 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/openSUSE/openSUSE-release-tools.git</param> - <param name="changesrevision">33da10611b820017520c16f3102776a8f5bc8a90</param> + <param name="changesrevision">bc5a437bb7fb364a3a999da7229b7186ac2ec21c</param> </service> </servicedata> ++++++ openSUSE-release-tools-20220225.970e958e.obscpio -> openSUSE-release-tools-20220225.65cf38f7.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openSUSE-release-tools-20220225.970e958e/osclib/freeze_command.py new/openSUSE-release-tools-20220225.65cf38f7/osclib/freeze_command.py --- old/openSUSE-release-tools-20220225.970e958e/osclib/freeze_command.py 2022-02-25 11:19:10.000000000 +0100 +++ new/openSUSE-release-tools-20220225.65cf38f7/osclib/freeze_command.py 2022-02-25 16:29:21.000000000 +0100 @@ -1,5 +1,7 @@ import time +from urllib.error import HTTPError from lxml import etree as ET +import osc.core MAX_FROZEN_AGE = 6.5 @@ -114,9 +116,10 @@ return self.set_links() - self.freeze_prjlinks() + self.copy_weakremovers() + build_status = self.api.get_flag_in_prj(prj, flag='build') # If there is not a bootstrap repository, there is not @@ -222,6 +225,19 @@ ET.SubElement(flink, 'package', {'name': package, 'srcmd5': si.get('srcmd5'), 'vrev': si.get('vrev')}) return package + def copy_weakremovers(self): + try: + targeturl = self.api.makeurl(['source', self.prj, '000release-packages', 'weakremovers.inc'], + {'comment': 'Update weakremovers.inc'}) + oldinc = osc.core.http_GET(targeturl).read() + except HTTPError: + # if it doesn't exist, don't update + return + sourceurl = self.api.makeurl(['source', self.api.project, '000release-packages', 'weakremovers.inc']) + inc = osc.core.http_GET(sourceurl).read() + if inc != oldinc: + osc.core.http_PUT(targeturl, data=inc) + def is_bootstrap(self): """Check if there is a bootstrap copy repository.""" url = self.api.makeurl(['source', self.prj, '_meta']) ++++++ openSUSE-release-tools.obsinfo ++++++ --- /var/tmp/diff_new_pack.UVPoUZ/_old 2022-02-26 17:02:50.599543149 +0100 +++ /var/tmp/diff_new_pack.UVPoUZ/_new 2022-02-26 17:02:50.603543149 +0100 @@ -1,5 +1,5 @@ name: openSUSE-release-tools -version: 20220225.970e958e -mtime: 1645784350 -commit: 970e958ea812ba1901154f24d6a1afabd043a279 +version: 20220225.65cf38f7 +mtime: 1645802961 +commit: 65cf38f740a4d9164bf032e5b5367012dbe77a13