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-03-18 16:42:18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/openSUSE-release-tools (Old) and /work/SRC/openSUSE:Factory/.openSUSE-release-tools.new.25692 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "openSUSE-release-tools" Fri Mar 18 16:42:18 2022 rev:403 rq:962600 version:20220318.33072b30 Changes: -------- --- /work/SRC/openSUSE:Factory/openSUSE-release-tools/openSUSE-release-tools.changes 2022-03-17 17:02:12.725718129 +0100 +++ /work/SRC/openSUSE:Factory/.openSUSE-release-tools.new.25692/openSUSE-release-tools.changes 2022-03-18 16:42:29.521196607 +0100 @@ -1,0 +2,18 @@ +Fri Mar 18 07:03:48 UTC 2022 - opensuse-releaset...@opensuse.org + +- Update to version 20220318.33072b30: + * gocd: Don't evaluate a repo as succeeded if all are disabled + +------------------------------------------------------------------- +Thu Mar 17 13:03:58 UTC 2022 - opensuse-releaset...@opensuse.org + +- Update to version 20220317.76c89fd3: + * pkglistgen: Fix packages disapparing in comments + +------------------------------------------------------------------- +Thu Mar 17 11:04:35 UTC 2022 - opensuse-releaset...@opensuse.org + +- Update to version 20220317.42b3f302: + * CI: adapt miniobs to use the ruby OBS was built with (3.1) + +------------------------------------------------------------------- Old: ---- openSUSE-release-tools-20220317.518f6f90.obscpio New: ---- openSUSE-release-tools-20220318.33072b30.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ openSUSE-release-tools.spec ++++++ --- /var/tmp/diff_new_pack.54zkxz/_old 2022-03-18 16:42:30.185197082 +0100 +++ /var/tmp/diff_new_pack.54zkxz/_new 2022-03-18 16:42:30.193197088 +0100 @@ -20,7 +20,7 @@ %define source_dir openSUSE-release-tools %define announcer_filename factory-package-news Name: openSUSE-release-tools -Version: 20220317.518f6f90 +Version: 20220318.33072b30 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.54zkxz/_old 2022-03-18 16:42:30.237197119 +0100 +++ /var/tmp/diff_new_pack.54zkxz/_new 2022-03-18 16:42:30.241197122 +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">bceaa53e13d4167b6e480bf502d27a0b3e5a8405</param> + <param name="changesrevision">e6d0b75a9df40dea2c0b05d09c5c7840be0a43c2</param> </service> </servicedata> ++++++ openSUSE-release-tools-20220317.518f6f90.obscpio -> openSUSE-release-tools-20220318.33072b30.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openSUSE-release-tools-20220317.518f6f90/dist/ci/docker-compose.yml new/openSUSE-release-tools-20220318.33072b30/dist/ci/docker-compose.yml --- old/openSUSE-release-tools-20220317.518f6f90/dist/ci/docker-compose.yml 2022-03-17 11:27:45.000000000 +0100 +++ new/openSUSE-release-tools-20220318.33072b30/dist/ci/docker-compose.yml 2022-03-18 08:03:09.000000000 +0100 @@ -20,9 +20,9 @@ <<: *obs command: > chroot --userspec=wwwrun / /bin/bash -c "cd /srv/www/obs/api && - RAILS_ENV=production rake ts:rebuild && + RAILS_ENV=production ./bin/rake ts:rebuild && RAILS_ENV=production ./script/delayed_job.api.rb --queues=staging,quick start && - /usr/bin/bundle exec rails s -e production" + ./bin/bundle exec rails s -e production" depends_on: - db - cache diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openSUSE-release-tools-20220317.518f6f90/gocd/verify-repo-built-successful.py new/openSUSE-release-tools-20220318.33072b30/gocd/verify-repo-built-successful.py --- old/openSUSE-release-tools-20220317.518f6f90/gocd/verify-repo-built-successful.py 2022-03-17 11:27:45.000000000 +0100 +++ new/openSUSE-release-tools-20220318.33072b30/gocd/verify-repo-built-successful.py 2022-03-18 08:03:09.000000000 +0100 @@ -40,10 +40,16 @@ url = makeurl(apiurl, ['build', args.project, '_result'], {'view': 'summary', 'repository': args.repository}) root = ET.parse(http_GET(url)).getroot() + counts = {'succeeded': 0, 'disabled': 0, 'excluded': 0} for count in root.findall('.//statuscount'): if int(count.get('count', 0)) == 0: continue if count.get('code') in ['succeeded', 'excluded', 'disabled']: + counts[count.get('code')] = int(count.get('count')) continue logger.error('Repository {}/{} has {} packages'.format(args.project, args.repository, count.get('code'))) sys.exit(1) + + if counts['disabled'] > counts['succeeded']: + logger.error('Repository {}/{} has more disabled packages than succeeded'.format(args.project, args.repository)) + sys.exit(1) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openSUSE-release-tools-20220317.518f6f90/pkglistgen/tool.py new/openSUSE-release-tools-20220318.33072b30/pkglistgen/tool.py --- old/openSUSE-release-tools-20220317.518f6f90/pkglistgen/tool.py 2022-03-17 11:27:45.000000000 +0100 +++ new/openSUSE-release-tools-20220318.33072b30/pkglistgen/tool.py 2022-03-18 08:03:09.000000000 +0100 @@ -531,15 +531,32 @@ if not old_file and not new_file: return None + removed = dict() + for pkg in old_file: + old_groups = old_file[pkg] + if new_file.get(pkg): + continue + removekey = ','.join(old_groups) + removed.setdefault(removekey, []) + removed[removekey].append(pkg) + + report = '' + for rm in sorted(removed.keys()): + report += f"**Remove from {rm}**\n\n```\n" + paragraph = ', '.join(removed[rm]) + report += "\n".join(textwrap.wrap(paragraph, width=90, break_long_words=False, break_on_hyphens=False)) + report += "\n```\n\n" + moved = dict() for pkg in old_file: old_groups = old_file[pkg] - new_groups = new_file.get(pkg, []) + new_groups = new_file.get(pkg) + if not new_groups: + continue movekey = ','.join(old_groups) + ' to ' + ','.join(new_groups) moved.setdefault(movekey, []) moved[movekey].append(pkg) - report = '' for move in sorted(moved.keys()): report += f"**Move from {move}**\n\n```\n" paragraph = ', '.join(moved[move]) @@ -736,8 +753,6 @@ release_dir = os.path.join(cache_dir, release) oldrepos_dir = os.path.join(cache_dir, oldrepos) - # FOR DEBUG ret = self.handle_package_diff(project, f"{group_dir}/summary-staging.txt", f"{product_dir}/summary-staging.txt") - self.input_dir = group_dir self.output_dir = product_dir @@ -748,10 +763,12 @@ checkout_package(api.apiurl, project, package, expand_link=True, prj_dir=cache_dir, outdir=os.path.join(cache_dir, package)) + # print('RET', self.handle_package_diff(project, f"{group_dir}/summary-staging.txt", f"{product_dir}/summary-staging.txt")) + file_utils.unlink_all_except(release_dir, ['weakremovers.inc']) if not only_release_packages: file_utils.unlink_all_except(product_dir) - ignore_list = ['supportstatus.txt', 'reference-unsorted.yml', 'reference-summary.yml', 'package-groups.changes'] + ignore_list = ['supportstatus.txt', 'summary-staging.txt', 'package-groups.changes'] ignore_list += self.group_input_files() file_utils.copy_directory_contents(group_dir, product_dir, ignore_list) file_utils.change_extension(product_dir, '.spec.in', '.spec') @@ -825,7 +842,6 @@ file_utils.multibuild_from_glob(product_dir, '*.kiwi') self.build_stub(product_dir, 'kiwi') - # new way reference_summary = os.path.join(group_dir, f'summary-{scope}.txt') if os.path.isfile(reference_summary): summary_file = os.path.join(product_dir, f'summary-{scope}.txt') ++++++ openSUSE-release-tools.obsinfo ++++++ --- /var/tmp/diff_new_pack.54zkxz/_old 2022-03-18 16:42:30.813197532 +0100 +++ /var/tmp/diff_new_pack.54zkxz/_new 2022-03-18 16:42:30.817197535 +0100 @@ -1,5 +1,5 @@ name: openSUSE-release-tools -version: 20220317.518f6f90 -mtime: 1647512865 -commit: 518f6f90f5537792d1b7dcba236d23115f43cff9 +version: 20220318.33072b30 +mtime: 1647586989 +commit: 33072b302349e497454a966aa72aaafd305e8dbc