From 0ba5ebb6003921502b76e73febd88954bb3ab430 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 6 Oct 2023 12:23:47 +0200 Subject: [PATCH] Sync from SUSE:ALP:Source:Standard:1.0 release-compare revision 6d4332f436383c08d2133d2c60c0356d --- .gitattributes | 23 ++++ _service | 18 +++ release-compare-0.9.1.obscpio | 3 + release-compare.changes | 215 ++++++++++++++++++++++++++++++++++ release-compare.obsinfo | 4 + release-compare.spec | 57 +++++++++ 6 files changed, 320 insertions(+) create mode 100644 .gitattributes create mode 100644 _service create mode 100644 release-compare-0.9.1.obscpio create mode 100644 release-compare.changes create mode 100644 release-compare.obsinfo create mode 100644 release-compare.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..fecc750 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/_service b/_service new file mode 100644 index 0000000..1b0cd5e --- /dev/null +++ b/_service @@ -0,0 +1,18 @@ + + + https://github.com/openSUSE/release-compare.git + git + + 0.9.1 + 0.9.1 + + release-compare.spec + + + + + + xz + *.tar + + diff --git a/release-compare-0.9.1.obscpio b/release-compare-0.9.1.obscpio new file mode 100644 index 0000000..915dd89 --- /dev/null +++ b/release-compare-0.9.1.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:519d2644c78c3aef71e2c15b83a96788a35e544570af09666f2e0d8bc5e4605d +size 79371 diff --git a/release-compare.changes b/release-compare.changes new file mode 100644 index 0000000..030290d --- /dev/null +++ b/release-compare.changes @@ -0,0 +1,215 @@ +------------------------------------------------------------------- +Tue Jun 13 10:28:08 UTC 2023 - Joachim Gleissner + +- 0.9.1 + * Capture package version changes + * Fix version match regular epxpression + * Convert (back) to single file script + * Add runtime dependency on setuptools to spec file + +------------------------------------------------------------------- +Fri May 26 15:05:28 UTC 2023 - Joachim Gleissner + +- 0.9.0 + * Re-write of create_changelog in python + * Support for JSON output + * Support for handling image config changelog (image history) as + produced by keg OBS source service (JSON and YAML formats supported) + * Support for including full package list in change log + * Parse version number for selecting most recent old obsgendiff + (avoids mismatches) + * Add configuration options via _release_compare in package source + +------------------------------------------------------------------- +Tue May 17 14:53:30 UTC 2022 - Joachim Gleissner + +- 0.5.6 + * better obsgendiff version string guess + +------------------------------------------------------------------- +Tue Apr 27 10:27:46 UTC 2021 - Joachim Gleissner + +- 0.5.5 + * Use package versions for change log (yaml) generation + +------------------------------------------------------------------- +Mon Feb 8 13:33:27 UTC 2021 - Joachim Gleissner + +- 0.5.4 + * fix CVE regex + +------------------------------------------------------------------- +Wed Feb 3 19:17:25 UTC 2021 - Adrian Schröter + +- 0.5.3 + * fix regex for CVE scan + * fix glob for old obsgendiff file name expansion + +------------------------------------------------------------------- +Tue Feb 2 08:12:14 UTC 2021 - Adrian Schröter + +- update to version 0.5.2 + * escape backslashes in YAML string + +------------------------------------------------------------------- +Mon Feb 1 13:06:15 UTC 2021 - Adrian Schröter + +- update to version 0.5.1 + * Handle packages info without license tag correctly + * fix potential diff format issue + +------------------------------------------------------------------- +Wed Dec 16 13:08:26 UTC 2020 - Joachim Gleissner + +- create list of package version changes in YAML output + + +------------------------------------------------------------------- +Thu Dec 10 15:00:48 UTC 2020 - Adrian Schröter + +- update to version 0.5.0 + * exports changes also as YAML file (provided by Joachim Gleissner) + +------------------------------------------------------------------- +Tue Nov 10 10:13:59 UTC 2020 - Adrian Schröter + +- update to version 0.4.1 + * support short rpm structures for appliance server side builds + +------------------------------------------------------------------- +Mon Sep 28 12:43:23 UTC 2020 - Adrian Schröter + +- update to version 0.4.0 + * requires new build script! + * move script into obsgendiff.d directory + * minor output improvement + +------------------------------------------------------------------- +Fri Sep 25 15:09:43 UTC 2020 - Adrian Schröter + +- update to version 0.3.15 + * allow to run further plugins by providing executables + in /usr/lib/build/obsgendiff.d + NOTE: we may move this functionality into build script + +------------------------------------------------------------------- +Fri Sep 25 14:30:53 UTC 2020 - Adrian Schröter + +- update to version 0.3.14 + * Pick newest obsgendiff archive if multiple exists + in maintenance_release projects + +------------------------------------------------------------------- +Wed Sep 23 15:46:56 UTC 2020 - Adrian Schröter + +- update to version 0.3.13 + * strip package name containers from incident projects + * drop wrong and needless stripping of package names + +------------------------------------------------------------------- +Thu Sep 17 11:41:01 UTC 2020 - Adrian Schröter + +- update to version 0.3.12 + * get right package container name from disturl + +------------------------------------------------------------------- +Wed Sep 16 12:27:11 UTC 2020 - Adrian Schröter + +- update to version 0.3.11 + * relax report parsing + (either single or double quotes might be used depending on + the build stage) + * hide author (and email) lines in diff + +------------------------------------------------------------------- +Tue Sep 15 15:01:25 UTC 2020 - Adrian Schröter + +- update to version 0.3.10 + * fixed escaping in sed statement + +------------------------------------------------------------------- +Mon Sep 14 18:23:44 UTC 2020 - Adrian Schröter + +- update to version 0.3.9 + * fix one more subtile difference in kiwi appliance builds + +------------------------------------------------------------------- +Mon Sep 14 12:40:02 UTC 2020 - Adrian Schröter + +- update to version 0.3.8 + * fix parsing of kiwi appliance packages files + +------------------------------------------------------------------- +Mon Sep 14 08:03:58 UTC 2020 - Adrian Schröter + +- update to version 0.3.7 + * update for missing Build numbers in media + (eg openSUSE ftp tree builds) + +------------------------------------------------------------------- +Fri Sep 11 13:12:29 UTC 2020 - Adrian Schröter + +- update to version 0.3.6 + * fix touching used rpms + +------------------------------------------------------------------- +Thu Sep 10 11:08:09 UTC 2020 - Adrian Schröter + +- update to version 0.3.5 + * List added/removed rpm binary names, but diff changes + via src rpm names + * syntax fix + +------------------------------------------------------------------- +Wed Sep 9 11:58:07 UTC 2020 - Adrian Schröter + +- update to version 0.3.4 + * avoid double Changelog txt suffix + * guess file names need to work with -Snapshot file names on factory + * work on source rpm name base only + * strip "first" lines of changes to hide the email adresses + +------------------------------------------------------------------- +Wed Sep 2 12:59:41 UTC 2020 - Adrian Schröter + +- update to version 0.3.3 + * beautify diff of import packages + +------------------------------------------------------------------- +Wed Sep 2 10:32:52 UTC 2020 - Adrian Schröter + +- update to version 0.3.2 + * handling changed version of a medium + +------------------------------------------------------------------- +Tue Sep 1 08:57:42 UTC 2020 - Adrian Schröter + +- update to version 0.3.1 + * added support for Dockerfile builds +- use git repo as resource + +------------------------------------------------------------------- +Mon Aug 31 09:11:03 UTC 2020 - Adrian Schröter + +- support also plain kiwi builds + +------------------------------------------------------------------- +Wed Aug 26 13:44:48 UTC 2020 - Adrian Schröter + +- write changelogs in UTF-8 encoding + +------------------------------------------------------------------- +Tue Aug 25 07:34:24 UTC 2020 - Adrian Schröter + +- speedup it a lot to avoid timeout errors + +------------------------------------------------------------------- +Wed Aug 19 09:13:35 UTC 2020 - Adrian Schröter + +- running based on .report instead of .packages files + +------------------------------------------------------------------- +Mon Feb 3 14:11:03 UTC 2020 - Adrian Schröter + +- initial demo package + diff --git a/release-compare.obsinfo b/release-compare.obsinfo new file mode 100644 index 0000000..7557511 --- /dev/null +++ b/release-compare.obsinfo @@ -0,0 +1,4 @@ +name: release-compare +version: 0.9.1 +mtime: 1686651015 +commit: a860541bc2416c01743629d0e37969762ba4a350 diff --git a/release-compare.spec b/release-compare.spec new file mode 100644 index 0000000..e8d3c41 --- /dev/null +++ b/release-compare.spec @@ -0,0 +1,57 @@ +# +# spec file for package release-compare +# +# Copyright (c) 2023 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: release-compare +Summary: Release Compare Script +License: GPL-3.0-or-later +Group: Development/Tools/Building +URL: https://github.com/openSUSE/release-compare +Version: 0.9.1 +Release: 0 +Source: %name-%version.tar.xz +BuildArch: noarch +Requires: python3-PyYAML +Requires: python3-setuptools +BuildRequires: python3-PyYAML +BuildRequires: python3-pytest +BuildRequires: python3-setuptools + +%description +This package contains scripts to create changelog files relative +to last released result. + +Note: you need to use a releasetarget definition in your OBS repository + to get this working. And the release target needs to have published binaries. + +%prep +%setup -q + +%build + +%install +make DESTDIR=%{buildroot} PREFIX=%{_prefix} + +%check +pytest + +%files +%license LICENSE +%doc README.rst +/usr/lib/build + +%changelog