From c2c77fa25e0ca07a93ce6e47bb979a7843d5adaba8232458d475906beaf75022 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Mon, 3 Feb 2025 12:17:45 +0000 Subject: [PATCH] update OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-scm-bridge?expand=0&rev=32 --- .gitattributes | 23 +++++++ .gitignore | 1 + _service | 15 +++++ obs-scm-bridge-0.5.0.obscpio | 3 + obs-scm-bridge-0.5.1.obscpio | 3 + obs-scm-bridge-0.5.2.obscpio | 3 + obs-scm-bridge-0.5.4.obscpio | 3 + obs-scm-bridge-0.6.0.obscpio | 3 + obs-scm-bridge-0.6.1.obscpio | 3 + obs-scm-bridge.changes | 118 +++++++++++++++++++++++++++++++++++ obs-scm-bridge.obsinfo | 4 ++ obs-scm-bridge.spec | 63 +++++++++++++++++++ 12 files changed, 242 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 _service create mode 100644 obs-scm-bridge-0.5.0.obscpio create mode 100644 obs-scm-bridge-0.5.1.obscpio create mode 100644 obs-scm-bridge-0.5.2.obscpio create mode 100644 obs-scm-bridge-0.5.4.obscpio create mode 100644 obs-scm-bridge-0.6.0.obscpio create mode 100644 obs-scm-bridge-0.6.1.obscpio create mode 100644 obs-scm-bridge.changes create mode 100644 obs-scm-bridge.obsinfo create mode 100644 obs-scm-bridge.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /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/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..59f6138 --- /dev/null +++ b/_service @@ -0,0 +1,15 @@ + + + https://github.com/openSUSE/obs-scm-bridge + git + 0.6.1 + 0.6.1 + + + + + + *.tar + xz + + diff --git a/obs-scm-bridge-0.5.0.obscpio b/obs-scm-bridge-0.5.0.obscpio new file mode 100644 index 0000000..4a8479c --- /dev/null +++ b/obs-scm-bridge-0.5.0.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d38350094f54f4e5db5c19d817fee388ed63f0dcd777ad19b7c78fd417d3c408 +size 69643 diff --git a/obs-scm-bridge-0.5.1.obscpio b/obs-scm-bridge-0.5.1.obscpio new file mode 100644 index 0000000..2991b2a --- /dev/null +++ b/obs-scm-bridge-0.5.1.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9eb674d600b05f5935dc19a32a3d74eda0af5160b43c819a7970e3e161a21fb2 +size 84491 diff --git a/obs-scm-bridge-0.5.2.obscpio b/obs-scm-bridge-0.5.2.obscpio new file mode 100644 index 0000000..3fa077a --- /dev/null +++ b/obs-scm-bridge-0.5.2.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7756e24ad56b63b40881fae1e64d32c3bf029e9aedf8958eaf3e5ed387c8ea58 +size 85003 diff --git a/obs-scm-bridge-0.5.4.obscpio b/obs-scm-bridge-0.5.4.obscpio new file mode 100644 index 0000000..4cc4910 --- /dev/null +++ b/obs-scm-bridge-0.5.4.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:723f5252d459863486eba1f12382a7437dae269f775d8285e56d99058336a122 +size 86027 diff --git a/obs-scm-bridge-0.6.0.obscpio b/obs-scm-bridge-0.6.0.obscpio new file mode 100644 index 0000000..1e603ea --- /dev/null +++ b/obs-scm-bridge-0.6.0.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:aeca106d4e39360c75b6d1889742d95cd66a1895f37de61432961d5a9c2ec1a2 +size 89611 diff --git a/obs-scm-bridge-0.6.1.obscpio b/obs-scm-bridge-0.6.1.obscpio new file mode 100644 index 0000000..36a1295 --- /dev/null +++ b/obs-scm-bridge-0.6.1.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:423ea6ddd747263aa4f3f608814e8cfae8778eb61e7ea78f03675177ebbe37f7 +size 90635 diff --git a/obs-scm-bridge.changes b/obs-scm-bridge.changes new file mode 100644 index 0000000..e27015e --- /dev/null +++ b/obs-scm-bridge.changes @@ -0,0 +1,118 @@ +------------------------------------------------------------------- +Mon Feb 3 12:16:48 UTC 2025 - Adrian Schröter + +- 0.6.1 + * new noobsinfo query parameter + (can be used to hide git informations in sources, binaries + won't contain them either then). + +------------------------------------------------------------------- +Tue Jan 28 08:58:31 UTC 2025 - Adrian Schröter + +- 0.6.0 + * project mode: switching to to track package sources using + git sha sums instead of md5sum via download_assets + +------------------------------------------------------------------- +Wed Dec 4 07:04:33 UTC 2024 - Adrian Schröter + +- 0.5.4 + * fixed support of subdir parameter usage on project level + * Fix handling of projectscmsync in the package xml writers + +------------------------------------------------------------------- +Fri Nov 29 12:36:46 UTC 2024 - Adrian Schröter + +- 0.5.3 + * Switch to ssh url when using the bridge via osc + +------------------------------------------------------------------- +Thu Nov 14 08:43:28 UTC 2024 - Adrian Schröter + +- 0.5.2 + * Don't overwrite files from git, but complain instead with + an error. For example _scmsync.obsinfo file must not be part + of the git tree. boo#1230469 CVE-2024-22038 + +------------------------------------------------------------------- +Wed Oct 30 09:10:41 UTC 2024 - Adrian Schröter + +- 0.5.1 + * Don't generate _scmsync.obsinfo outside of OBS source server + import use case (eg. no more for osc co) + * Enforce python 3.11 requirement + * Fix export of _scmsync.obsinfo in project mode + * Fix submodule detection + * EXPERIMENTAL: support multiple package subdirs via _subdirs + file. This syntax will change! + (not documented on purpose therefore atm) + * Using git credential manager + * Report some errors as transient, so that OBS can re-try + +------------------------------------------------------------------- +Tue May 7 09:39:21 UTC 2024 - Adrian Schröter + +- 0.5.0 + project mode related enhancements: + * no more defining of bcntsynctag. We need to move this to package + spec files to avoid to have these always defined. + * QA hook to limit building a defined set of packages only + +------------------------------------------------------------------- +Tue Apr 23 17:14:53 UTC 2024 - Adrian Schröter + +- 0.4.3 + * support SHA256 submodules + * minor improvements + +------------------------------------------------------------------- +Wed Oct 18 15:20:51 UTC 2023 - Dirk Müller + +- readd git-lfs dependency + +------------------------------------------------------------------- +Fri Jun 2 06:59:02 UTC 2023 - Adrian Schröter + +- update to 0.4.2 + * various fixes to handle additional git meta informations right + +------------------------------------------------------------------- +Tue May 16 08:21:41 UTC 2023 - Adrian Schröter + +- update to 0.4.0 + * avoid export of .gitattributes file by default + * upstream osc is supported now + * export meta information of the git clone + * Add fallback code for a specific case + * Convert local links into symlinks in project git + +------------------------------------------------------------------- +Thu Jan 26 14:52:54 UTC 2023 - Adrian Schröter + +- update to 0.3.0 + * optimize cloning when combining subdir parameter + * solve release number handling when using multiple spec files + * Require git-lfs to be always present and allow to opt out of lfs fetching + * support local symlinks to git submodules + * support recursive submodule cloning + * Fix the scmsync entry for relative submodule urls + +------------------------------------------------------------------- +Tue Nov 8 12:44:07 UTC 2022 - Adrian Schröter + +- update to 0.2.1 + * fixed loss of branch informations in packages in project mode + +------------------------------------------------------------------- +Wed Jun 8 09:55:31 UTC 2022 - Adrian Schröter + +- update to version 0.2 + * no shallow clone when used with osc + * support for LFS fetch + * bugfixes (_config file export and path handling) + +------------------------------------------------------------------- +Thu Feb 17 10:01:46 UTC 2022 - Adrian Schröter + +- initial release of version 0.1 + diff --git a/obs-scm-bridge.obsinfo b/obs-scm-bridge.obsinfo new file mode 100644 index 0000000..efb88d8 --- /dev/null +++ b/obs-scm-bridge.obsinfo @@ -0,0 +1,4 @@ +name: obs-scm-bridge +version: 0.6.1 +mtime: 1738315139 +commit: 2445c3f5560a400d6abf8321ff746bcb47844d12 diff --git a/obs-scm-bridge.spec b/obs-scm-bridge.spec new file mode 100644 index 0000000..96fcb96 --- /dev/null +++ b/obs-scm-bridge.spec @@ -0,0 +1,63 @@ +# +# spec file for package obs-scm-bridge +# +# 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 +# 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/ +# + + +%if 0%{?fedora} || 0%{?rhel} +%define build_pkg_name obs-build +%else +%define build_pkg_name build +%endif +Name: obs-scm-bridge +Version: 0.6.1 +Release: 0 +Summary: A help service to work with git repositories in OBS +License: GPL-2.0-or-later +URL: https://github.com/openSUSE/obs-scm-bridge +Source0: %{name}-%{version}.tar.xz +Requires: %{build_pkg_name} >= 20211125 +# these are just recommends in build package, but we need it here +Requires: perl(Date::Parse) +Requires: perl(LWP::UserAgent) +Requires: perl(Net::SSL) +Requires: perl(Pod::Usage) +Requires: perl(Time::Zone) +Requires: perl(URI) +Requires: perl(XML::Parser) +Requires: perl(YAML::LibYAML) +Recommends: python3-packaging +BuildArch: noarch +%if 0%{?fedora} || 0%{?rhel} +Requires: git +%else +Requires: git-core +Requires: git-lfs +%endif + +%description + +%prep +%autosetup + +%build + +%install +%make_install + +%files +%{_prefix}/lib/obs/service + +%changelog