19 Commits

Author SHA256 Message Date
e11a713887 - Fix up the source services files to function by updating the
_service file and adding a _servicedata file.

OBS-URL: https://build.opensuse.org/package/show/Virtualization/mdevctl?expand=0&rev=34
2026-01-14 21:32:22 +00:00
ea65c3dc23 - Convert vendor.tar.gz to vendor.tar.zst
OBS-URL: https://build.opensuse.org/package/show/Virtualization/mdevctl?expand=0&rev=31
2026-01-09 17:21:27 +00:00
a6c35581f4 - Convert vendor.tar.gz to vendor.tar.rst to reduce the size of the
tarball (jsc#PED-14625)

OBS-URL: https://build.opensuse.org/package/show/Virtualization/mdevctl?expand=0&rev=30
2026-01-09 17:16:30 +00:00
96f8d01320 Revert the last commit
OBS-URL: https://build.opensuse.org/package/show/Virtualization/mdevctl?expand=0&rev=29
2026-01-08 21:28:10 +00:00
e4fd42e3a9 - Improve logging so that the file and line number is included in
the log messages (jsc#PED-14625)

OBS-URL: https://build.opensuse.org/package/show/Virtualization/mdevctl?expand=0&rev=28
2026-01-08 21:18:40 +00:00
5572a28f5d - Improve logging (jsc#PED-14625)
049-Improve-logging.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/mdevctl?expand=0&rev=27
2026-01-08 21:17:24 +00:00
f2b7495558 Accepting request 1291295 from home:anag_factory:Factory
- Update vendor.tar.gz and Cargo.lock (boo#1244560)

OBS-URL: https://build.opensuse.org/request/show/1291295
OBS-URL: https://build.opensuse.org/package/show/Virtualization/mdevctl?expand=0&rev=25
2025-07-08 14:11:28 +00:00
8e3328ec97 Accepting request 1244993 from home:pgajdos
- Update to version 1.4.0:
  * tests: Print error in assert_result()
  * Improve failure message for live update
  * Check sysfs data UUID in set_sysfs_data()
  * Rename is_sysfs_data_matching() to sysfs_data_matches()
  * Rename load_with_mdev() to load_for_mdev()
  * tests: removing unnecessary chaining
  * Remove MDevSysfsData::active
  * rustify define_command_helper
  * add ability to trigger CI manually
  * mdev: MDevSysfsData.load() without path.exists() check

OBS-URL: https://build.opensuse.org/request/show/1244993
OBS-URL: https://build.opensuse.org/package/show/Virtualization/mdevctl?expand=0&rev=23
2025-02-14 20:28:27 +00:00
d2e0e44680 Accepting request 1207267 from home:ccrane:branches:Virtualization
- Spec: Update to use latest rust packaging tooling. Switch to obs_scm
    service, remove cargo_audit service and cargo_config as it's now 
    handled by the cargo_vendor service. Cleanup spec file to use 
    cargo-packaging tooling where applicable.

OBS-URL: https://build.opensuse.org/request/show/1207267
OBS-URL: https://build.opensuse.org/package/show/Virtualization/mdevctl?expand=0&rev=21
2024-10-11 15:10:22 +00:00
5a98fc7808 Accepting request 1146258 from home:jfehlig:branches:Virtualization
- Add /usr/lib/mdevctl/scripts.d/{callouts,notifiers} directories

OBS-URL: https://build.opensuse.org/request/show/1146258
OBS-URL: https://build.opensuse.org/package/show/Virtualization/mdevctl?expand=0&rev=19
2024-02-12 18:25:41 +00:00
fdf66a6ec0 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
2024-01-29 17:08:29 +00:00
6b06271301 Accepting request 1042199 from home:dirkmueller:Factory
- Update to version 1.2.0:
  * Port CLI to clap v3
  * start: provide useful hint for parent with wrong case
  * tests: Add ability to test error messages
  * tests: extract function for checking pass/fail expectations
  * MDev::create() does not need to be public
  * Fix new clippy warning

OBS-URL: https://build.opensuse.org/request/show/1042199
OBS-URL: https://build.opensuse.org/package/show/Virtualization/mdevctl?expand=0&rev=15
2022-12-12 02:07:01 +00:00
fb9ac35564 - spec: BuildRequires python3-docutils instead of all python
flavors of the docutils module

OBS-URL: https://build.opensuse.org/package/show/Virtualization/mdevctl?expand=0&rev=13
2022-03-14 19:36:19 +00:00
f65d602a6d Accepting request 961112 from home:jfehlig:branches:Virtualization
- spec: Add /etc/mdevctl.d/scripts.d directory to %files

OBS-URL: https://build.opensuse.org/request/show/961112
OBS-URL: https://build.opensuse.org/package/show/Virtualization/mdevctl?expand=0&rev=11
2022-03-11 17:32:35 +00:00
d7bfff1175 Accepting request 960795 from home:ptesarik:branches:Virtualization
- Update to version v1.1.0 (jsc#SLE-18449):
  * use imported std::env for CARGO_PKG_VERSION in build.rs directly
  * fix build.rs to allow specify exact path or name of the rst2man
  *  Don't call unnecessary to_string()
  * Report a useful error when /etc/mdevctl.d doesn't exist
  * Handle FS permissions problems for defined devices
  * Fix needless borrow warning from clippy
  * tests: read stdin in callout test scripts
  * Report root error when a callout can't be executed
  * Don't emit warning for files in /etc/mdevctl.d/scripts.d
  * env: add function to get base scripts directory

OBS-URL: https://build.opensuse.org/request/show/960795
OBS-URL: https://build.opensuse.org/package/show/Virtualization/mdevctl?expand=0&rev=10
2022-03-10 18:11:58 +00:00
08e01fa41b update mdevctl to version 0.81
OBS-URL: https://build.opensuse.org/package/show/Virtualization/mdevctl?expand=0&rev=9
2021-07-08 17:42:02 +00:00
08fe2e0484 add jira and bugzilla numbers to changelog
OBS-URL: https://build.opensuse.org/package/show/Virtualization/mdevctl?expand=0&rev=7
2020-12-08 23:59:56 +00:00
9def470870 update mdevctl to latest release
OBS-URL: https://build.opensuse.org/package/show/Virtualization/mdevctl?expand=0&rev=6
2020-12-08 23:33:33 +00:00
d244888457 Accepting request 818390 from home:jfehlig:branches:Virtualization
Initial packaging of mdevctl

OBS-URL: https://build.opensuse.org/request/show/818390
OBS-URL: https://build.opensuse.org/package/show/Virtualization/mdevctl?expand=0&rev=1
2020-07-02 17:40:36 +00:00