David Cassany 2023-12-13 20:52:21 +00:00 committed by Git OBS Bridge
parent 9ea162b06e
commit d7ad98192d
5 changed files with 22 additions and 5 deletions

View File

@ -1,5 +1,5 @@
<services>
<service name="obs_scm" mode="disabled">
<service name="obs_scm" mode="manual">
<param name="url">https://github.com/openSUSE/obs-service-replace_using_package_version.git</param>
<param name="scm">git</param>
<param name="filename">replace_using_package_version</param>
@ -11,6 +11,6 @@
<param name="version">_none_</param>
<param name="changesgenerate">enable</param>
<param name="changesauthor">containers@suse.com</param>
<param name="revision">master</param>
<param name="revision">@PARENT_TAG@</param>
</service>
</services>

View File

@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/openSUSE/obs-service-replace_using_package_version.git</param>
<param name="changesrevision">eb96e8582f54b9e2c5c5259e379ced1e79cd642d</param></service></servicedata>
<param name="changesrevision">72fe58b8a7d29342985f4304dcf1c0c4d0b1c18c</param></service></servicedata>

View File

@ -1,3 +1,20 @@
-------------------------------------------------------------------
Wed Dec 13 20:47:44 UTC 2023 - containers@suse.com
- Update to version 1702495728.72fe58b:
* Bump version: 0.0.8 → 0.0.9
* Bump actions/setup-python from 4.8.0 to 5.0.0
* Bump actions/setup-python from 4.7.1 to 4.8.0
* Workaround integration test failures due to PEP 668 marker
* Bump actions/setup-python from 4.6.1 to 4.7.1
* Bump actions/checkout from 3 to 4
* Report the package name that is missing (#56)
* Bump pytest-container from 0.1.1 to 0.2.0
* Drop mock dependency, stdlib has it
* Bump actions/setup-python from 4.6.0 to 4.6.1
* Bump actions/setup-python from 4.5.0 to 4.6.0
* Bump version: 0.0.7 → 0.0.8
-------------------------------------------------------------------
Tue Apr 11 10:19:11 UTC 2023 - containers@suse.com

View File

@ -19,7 +19,7 @@
%define service replace_using_package_version
Name: obs-service-%{service}
Version: 0.0.7
Version: 0.0.9
Release: 0
Summary: An OBS service: Replaces a regex with the version value of a package
License: GPL-3.0-or-later

View File

@ -171,7 +171,7 @@ def find_package_version(package, rpm_dir):
version = find_package_version_in_obsinfo('.', package)
if version is None:
raise Exception('Package version not found')
raise Exception(f'Package {package} version not found')
return str(version)