forked from pool/obs-service-replace_using_package_version
Accepting request 1035064 from home:dcassany:branches:Virtualization:containers
- Update to version 1668085498.ab6de1e: * Bump version: 0.0.4 → 0.0.5 * Remove the rpm signkeys in the CI environment * Adapt tests to mock subprocess.check_output * Ignore stderr on successful command executions OBS-URL: https://build.opensuse.org/request/show/1035064 OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/obs-service-replace_using_package_version?expand=0&rev=13
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
<servicedata>
|
<servicedata>
|
||||||
<service name="tar_scm">
|
<service name="tar_scm">
|
||||||
<param name="url">https://github.com/openSUSE/obs-service-replace_using_package_version.git</param>
|
<param name="url">https://github.com/openSUSE/obs-service-replace_using_package_version.git</param>
|
||||||
<param name="changesrevision">d72b7bab8fc56d90baf809d614d84edb45c19807</param></service></servicedata>
|
<param name="changesrevision">ab6de1ec8beb3631af0039074430a3d0cbf59eb6</param></service></servicedata>
|
@@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 10 13:11:18 UTC 2022 - containers@suse.com
|
||||||
|
|
||||||
|
- Update to version 1668085498.ab6de1e:
|
||||||
|
* Bump version: 0.0.4 → 0.0.5
|
||||||
|
* Remove the rpm signkeys in the CI environment
|
||||||
|
* Adapt tests to mock subprocess.check_output
|
||||||
|
* Ignore stderr on successful command executions
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Nov 09 10:11:30 UTC 2022 - containers@suse.com
|
Wed Nov 09 10:11:30 UTC 2022 - containers@suse.com
|
||||||
|
|
||||||
|
@@ -19,7 +19,7 @@
|
|||||||
%define service replace_using_package_version
|
%define service replace_using_package_version
|
||||||
|
|
||||||
Name: obs-service-%{service}
|
Name: obs-service-%{service}
|
||||||
Version: 0.0.4
|
Version: 0.0.5
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: An OBS service: Replaces a regex with the version value of a package
|
Summary: An OBS service: Replaces a regex with the version value of a package
|
||||||
License: GPL-3.0-or-later
|
License: GPL-3.0-or-later
|
||||||
|
@@ -189,7 +189,7 @@ def find_match_in_version(regexpr, version):
|
|||||||
|
|
||||||
|
|
||||||
def run_command(command: List[str]) -> str:
|
def run_command(command: List[str]) -> str:
|
||||||
return subprocess.check_output(command, stderr=subprocess.STDOUT).decode()
|
return subprocess.check_output(command).decode()
|
||||||
|
|
||||||
|
|
||||||
def get_pkg_name_from_rpm(rpm_file):
|
def get_pkg_name_from_rpm(rpm_file):
|
||||||
|
Reference in New Issue
Block a user