Commit Graph

21 Commits

Author SHA256 Message Date
Ana Guerrero
b544560741 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
James Fehlig
a512dc450d 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
Ana Guerrero
f37a4b329a 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
James Fehlig
8f2029ad9b 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
Dominique Leuenberger
bc5c816085 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
James Fehlig
3477bf29e2 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
Dominique Leuenberger
e8463c823c 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
James Fehlig
a9d6787d6f - 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
Dominique Leuenberger
bcce6612a2 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
James Fehlig
d260f8ceb0 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
James Fehlig
4fee77b915 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
Dominique Leuenberger
ae400e0186 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
James Fehlig
682f23abf4 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
Dominique Leuenberger
2c563775da 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
James Fehlig
f0a09fa992 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
James Fehlig
165afe63be 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
Dominique Leuenberger
f6adc4d74f 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
James Fehlig
08385ed150 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
James Fehlig
4cc40c1f4d 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
James Fehlig
37725e1570 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
James Fehlig
010e55019e 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