Accepting request 1141334 from home:jfehlig:branches:Virtualization
- Update to version 1.3.0 (jsc#PED-4981): * tests: add tests for live and defined support * doc: document live support and its options * cli: add live and defined parameters to modify command * callouts: add callout live event support * main: refactor jsonfile loading * main: refactor getting active devices * tests: add callout versioning tests * callouts: add warning for unknown supported actions and events * callouts: prevent repeating unsuccessful script searches * callouts: add versioning on callout scripts * callouts: make callout method reusable * callouts: add a check_result_fn to invoke_first_matching_script * Fix new clippy warnings * Cargo.toml: move tempfile to dev-dependencies * main: assemble active devices without overwriting * mdevctl.spec.in: Add systemd as build requirement * callout: ignore broken pipe on stdin * cli: improve lsmdev help * callouts: set script in callout on success only * main: fix file open error being suppressed * Fix clippy warning for useless vec * callouts: replace negated check and improve msgs * callouts: improve debug messages in get_attributes * callouts: match code format in Display for Event and Action * tests/callouts: make scripts cross distro compliant * actions: update release action to newer versions * Bump clap to 4.0 * Bump env_logger dependency to 0.9.0 * Fix deprecated github actions OBS-URL: https://build.opensuse.org/request/show/1141334 OBS-URL: https://build.opensuse.org/package/show/Virtualization/mdevctl?expand=0&rev=17
This commit is contained in:
parent
3477bf29e2
commit
8f2029ad9b
6
_service
6
_service
@ -1,7 +1,7 @@
|
|||||||
<services>
|
<services>
|
||||||
<service name="tar_scm" mode="disabled">
|
<service name="tar_scm" mode="disabled">
|
||||||
<param name="filename">mdevctl</param>
|
<param name="filename">mdevctl</param>
|
||||||
<param name="revision">v1.2.0</param>
|
<param name="revision">v1.3.0</param>
|
||||||
<param name="scm">git</param>
|
<param name="scm">git</param>
|
||||||
<param name="submodules">disable</param>
|
<param name="submodules">disable</param>
|
||||||
<param name="url">https://github.com/mdevctl/mdevctl</param>
|
<param name="url">https://github.com/mdevctl/mdevctl</param>
|
||||||
@ -15,11 +15,11 @@
|
|||||||
</service>
|
</service>
|
||||||
<service name="set_version" mode="disabled"/>
|
<service name="set_version" mode="disabled"/>
|
||||||
<service name="cargo_vendor" mode="disabled">
|
<service name="cargo_vendor" mode="disabled">
|
||||||
<param name="srcdir">mdevctl-1.2.0</param>
|
<param name="srcdir">mdevctl-1.3.0</param>
|
||||||
<param name="compression">zst</param>
|
<param name="compression">zst</param>
|
||||||
<param name="update">true</param>
|
<param name="update">true</param>
|
||||||
</service>
|
</service>
|
||||||
<service name="cargo_audit" mode="disabled">
|
<service name="cargo_audit" mode="disabled">
|
||||||
<param name="srcdir">mdevctl-1.2.0</param>
|
<param name="srcdir">mdevctl-1.3.0</param>
|
||||||
</service>
|
</service>
|
||||||
</services>
|
</services>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<servicedata>
|
<servicedata>
|
||||||
<service name="tar_scm">
|
<service name="tar_scm">
|
||||||
<param name="url">https://github.com/mdevctl/mdevctl</param>
|
<param name="url">https://github.com/mdevctl/mdevctl</param>
|
||||||
<param name="changesrevision">ec4b9a04ce15ad7dccef2dc99b20a53987eb16bc</param></service></servicedata>
|
<param name="changesrevision">54db334d834017e0f97641a0172ca91358d4cf59</param></service></servicedata>
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:e5b2bac4c31cabab99bce751a5b60cdab50514a19d0442bdb564105e8055309d
|
|
||||||
size 38884
|
|
BIN
mdevctl-1.3.0.tar.xz
(Stored with Git LFS)
Normal file
BIN
mdevctl-1.3.0.tar.xz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,3 +1,86 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 24 14:05:47 UTC 2024 - jfehlig@suse.com
|
||||||
|
|
||||||
|
- Update to version 1.3.0 (jsc#PED-4981):
|
||||||
|
* tests: add tests for live and defined support
|
||||||
|
* doc: document live support and its options
|
||||||
|
* cli: add live and defined parameters to modify command
|
||||||
|
* callouts: add callout live event support
|
||||||
|
* main: refactor jsonfile loading
|
||||||
|
* main: refactor getting active devices
|
||||||
|
* tests: add callout versioning tests
|
||||||
|
* callouts: add warning for unknown supported actions and events
|
||||||
|
* callouts: prevent repeating unsuccessful script searches
|
||||||
|
* callouts: add versioning on callout scripts
|
||||||
|
* callouts: make callout method reusable
|
||||||
|
* callouts: add a check_result_fn to invoke_first_matching_script
|
||||||
|
* Fix new clippy warnings
|
||||||
|
* Cargo.toml: move tempfile to dev-dependencies
|
||||||
|
* main: assemble active devices without overwriting
|
||||||
|
* mdevctl.spec.in: Add systemd as build requirement
|
||||||
|
* callout: ignore broken pipe on stdin
|
||||||
|
* cli: improve lsmdev help
|
||||||
|
* callouts: set script in callout on success only
|
||||||
|
* main: fix file open error being suppressed
|
||||||
|
* Fix clippy warning for useless vec
|
||||||
|
* callouts: replace negated check and improve msgs
|
||||||
|
* callouts: improve debug messages in get_attributes
|
||||||
|
* callouts: match code format in Display for Event and Action
|
||||||
|
* tests/callouts: make scripts cross distro compliant
|
||||||
|
* actions: update release action to newer versions
|
||||||
|
* Bump clap to 4.0
|
||||||
|
* Bump env_logger dependency to 0.9.0
|
||||||
|
* Fix deprecated github actions
|
||||||
|
* cli: change modify parameter relationships
|
||||||
|
* tests: use printf over echo
|
||||||
|
* tests: add callout constructor panic tests
|
||||||
|
* callouts: add MDev to callout struct
|
||||||
|
* callouts: Move stdin generation from Callout::invoke_script()
|
||||||
|
* callouts: Add a Callout argument to the invoke callback function
|
||||||
|
* callouts: Reuse Callout::callout() for get_attributes()
|
||||||
|
* callouts: Return Output from Callout::callout()
|
||||||
|
* callouts: Remove Callout::callout_dir()
|
||||||
|
* callouts: Move self.script invocation to callout()
|
||||||
|
* callouts: make Callout::invoke() a method
|
||||||
|
* mdev: provide better error message for invalid attr index
|
||||||
|
* mdev: change attribute index arguments to usize
|
||||||
|
* cli: adjust help text for modify option addattr
|
||||||
|
* modify: ensure required parameter is given
|
||||||
|
* trim trailing null from callout script get-attributes output
|
||||||
|
* Add --force option for commands that have callouts
|
||||||
|
* Bump 'nix' dependency
|
||||||
|
* tests: test 'stop' with callouts
|
||||||
|
* tests: remove stray debug prints during fork
|
||||||
|
* tests: make test failure reports more obvious
|
||||||
|
* Bump version to 1.3.0
|
||||||
|
* undefine: report error if device is not undefined
|
||||||
|
* modify: add jsonfile optional parameter
|
||||||
|
* cli: add cli tests
|
||||||
|
* cli: fix clap deprecations warnings
|
||||||
|
* tests: fix test_modify() when auto and manual are both set
|
||||||
|
* Fix panic on modify delattr with invalid index
|
||||||
|
* Active attributes (#71)
|
||||||
|
* clippy: remove needless borrows
|
||||||
|
* mdevctl.rst: align use of term state
|
||||||
|
* Add tests for callout dir priority
|
||||||
|
* Add system callout script dir outside /etc.
|
||||||
|
* Add ability to set env root with env variable
|
||||||
|
* Rename Environment::persist_base() to config_base()
|
||||||
|
* Update github checkout action
|
||||||
|
* Relax 'nix' dependency version requirement
|
||||||
|
* callouts: remove return value from Callout::notify()
|
||||||
|
* callouts: remove separate is_dir() check in notify()
|
||||||
|
* callouts: filter and map iterator in notifier loop
|
||||||
|
* Update uuid version
|
||||||
|
* tests: verify that callout scripts are executed in order
|
||||||
|
* callouts: make sure scripts are sorted
|
||||||
|
* callouts: simplify loop through callout dir
|
||||||
|
* callouts: Remove call to count() on callout dir entries
|
||||||
|
* Fix new clippy warnings
|
||||||
|
* Fix intermittent callout failure during test
|
||||||
|
* rpm: set debug env vars when running tests in rpm build
|
||||||
|
* Add python3-docutils to rpm BuildRequires
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Dec 11 18:19:52 UTC 2022 - dmueller@suse.com
|
Sun Dec 11 18:19:52 UTC 2022 - dmueller@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package mdevctl
|
# spec file for package mdevctl
|
||||||
#
|
#
|
||||||
# Copyright (c) 2022 SUSE LLC
|
# Copyright (c) 2024 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: mdevctl
|
Name: mdevctl
|
||||||
Version: 1.2.0
|
Version: 1.3.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Mediated device management and persistence utility
|
Summary: Mediated device management and persistence utility
|
||||||
License: LGPL-2.1-or-later
|
License: LGPL-2.1-or-later
|
||||||
@ -68,9 +68,8 @@ cargo test
|
|||||||
%{_sbindir}/lsmdev
|
%{_sbindir}/lsmdev
|
||||||
%{_udevrulesdir}/60-mdevctl.rules
|
%{_udevrulesdir}/60-mdevctl.rules
|
||||||
%dir %{_sysconfdir}/mdevctl.d
|
%dir %{_sysconfdir}/mdevctl.d
|
||||||
%dir %{_sysconfdir}/mdevctl.d/scripts.d
|
%dir %{_prefix}/lib/mdevctl
|
||||||
%dir %{_sysconfdir}/mdevctl.d/scripts.d/callouts
|
%dir %{_prefix}/lib/mdevctl/scripts.d
|
||||||
%dir %{_sysconfdir}/mdevctl.d/scripts.d/notifiers
|
|
||||||
%{_mandir}/man8/mdevctl.8%{?ext_man}
|
%{_mandir}/man8/mdevctl.8%{?ext_man}
|
||||||
%{_mandir}/man8/lsmdev.8%{?ext_man}
|
%{_mandir}/man8/lsmdev.8%{?ext_man}
|
||||||
%{_datadir}/bash-completion/completions/mdevctl
|
%{_datadir}/bash-completion/completions/mdevctl
|
||||||
|
BIN
vendor.tar.zst
(Stored with Git LFS)
BIN
vendor.tar.zst
(Stored with Git LFS)
Binary file not shown.
Loading…
Reference in New Issue
Block a user