36 Commits

Author SHA256 Message Date
9bcbbd8b6c Accepting request 1327301 from Virtualization
Update the _service file and add the _servicedata file for easy updates using source services. No code change.

OBS-URL: https://build.opensuse.org/request/show/1327301
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdevctl?expand=0&rev=13
2026-01-15 15:43:51 +00:00
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
ddcd722b1e Accepting request 1326395 from Virtualization
Convert vendor.tar.gz to vendor.tar.zst to reduce the size of the tarball (jsc#PED-14625)

OBS-URL: https://build.opensuse.org/request/show/1326395
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdevctl?expand=0&rev=12
2026-01-12 11:38:43 +00:00
cd4856b043 Add missing BuildRequires to spec file.
OBS-URL: https://build.opensuse.org/package/show/Virtualization/mdevctl?expand=0&rev=32
2026-01-09 18:03:50 +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
d9ec1ff275 Accepting request 1291296 from Virtualization
OBS-URL: https://build.opensuse.org/request/show/1291296
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdevctl?expand=0&rev=11
2025-07-09 15:26:21 +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
c748bc1781 Accepting request 1246014 from Virtualization
OBS-URL: https://build.opensuse.org/request/show/1246014
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdevctl?expand=0&rev=10
2025-02-16 21:36:44 +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
dca8d8d917 Accepting request 1207268 from Virtualization
OBS-URL: https://build.opensuse.org/request/show/1207268
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdevctl?expand=0&rev=9
2024-10-13 15:33:08 +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
7be4ac104d Accepting request 1146259 from Virtualization
OBS-URL: https://build.opensuse.org/request/show/1146259
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdevctl?expand=0&rev=8
2024-02-15 19:58:42 +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
a3627320db Accepting request 1142598 from Virtualization
OBS-URL: https://build.opensuse.org/request/show/1142598
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdevctl?expand=0&rev=7
2024-01-30 17:24:14 +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
4095123ae3 Accepting request 1042231 from Virtualization
OBS-URL: https://build.opensuse.org/request/show/1042231
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdevctl?expand=0&rev=6
2022-12-13 17:54:32 +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
8fa67dd369 Accepting request 963778 from Virtualization
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/963778
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdevctl?expand=0&rev=5
2022-03-24 21:56:48 +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
0fb565018c Accepting request 961113 from Virtualization
OBS-URL: https://build.opensuse.org/request/show/961113
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdevctl?expand=0&rev=4
2022-03-14 18:35:06 +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
794657d6cb Accepting request 906516 from Virtualization
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/906516
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdevctl?expand=0&rev=3
2021-07-18 21:44:46 +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
0a3ebbd3c1 Accepting request 854165 from Virtualization
- Update to version 0.78:
  * Automatic version commit for tag 0.78
  * use standard bash path
  * avoid other tags spilling into the .spec changelog
  * mdevctl: fix cleanup on error when creating and removing mdev
  * version support
  * Fix attributes getting applied via start-parent-mdevs
  * mdevctl: fix cleanup on error when writing to attribute
  * Remove never used 'available' option
  * Fix attribute validation
  jsc#SLE-15861, bsc#1179770

OBS-URL: https://build.opensuse.org/request/show/854165
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdevctl?expand=0&rev=2
2020-12-10 14:57:09 +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
adfbe4f4f3 Accepting request 818405 from Virtualization
Initial packaging of mdevctl utility. It will be used by the
libvirt node device driver to manage mediated devices for use
in virtual machines.

OBS-URL: https://build.opensuse.org/request/show/818405
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdevctl?expand=0&rev=1
2020-07-04 23:14:24 +00:00
688f12cb9e more spec file cleanup
OBS-URL: https://build.opensuse.org/package/show/Virtualization/mdevctl?expand=0&rev=4
2020-07-02 20:01:40 +00:00
8a7b9409c1 Accepting request 818395 from home:namtrac:branches:Virtualization
Run spec-cleaner, no changelog because it's not in Factory yet and this is aesthetics only.

OBS-URL: https://build.opensuse.org/request/show/818395
OBS-URL: https://build.opensuse.org/package/show/Virtualization/mdevctl?expand=0&rev=3
2020-07-02 19:53:32 +00:00
95fed8378a fix some typos in the spec file description
OBS-URL: https://build.opensuse.org/package/show/Virtualization/mdevctl?expand=0&rev=2
2020-07-02 17:51:54 +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