Accepting request 1099870 from Base:System

OBS-URL: https://build.opensuse.org/request/show/1099870
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nvme-cli?expand=0&rev=64
This commit is contained in:
Ana Guerrero 2023-07-26 11:21:34 +00:00 committed by Git OBS Bridge
parent c90bbf6e74
commit dd19ce75ad
8 changed files with 129 additions and 11 deletions

View File

@ -26,4 +26,5 @@ Signed-off-by: Daniel Wagner <dwagner@suse.de>
+RestrictRealtime=true
Type=simple
Environment="CONNECT_ARGS=%i"
ExecStart=/bin/sh -c "@SBINDIR@/nvme connect-all --quiet `/bin/echo -e '${CONNECT_ARGS}'`"
ExecStart=/bin/sh -c "@SBINDIR@/nvme connect-all --context=autoconnect --quiet `/bin/echo -e '${CONNECT_ARGS}'`"

View File

@ -4,7 +4,7 @@
<param name="url">https://github.com/linux-nvme/nvme-cli.git</param>
<param name="filename">nvme-cli</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="revision">v2.4</param>
<param name="revision">v2.5</param>
<param name="versionrewrite-pattern">v(.*)</param>
<param name="changesgenerate">enable</param>
</service>

View File

@ -1,6 +1,6 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/linux-nvme/nvme-cli.git</param>
<param name="changesrevision">0b2961e62f4138f991c3af6b5deea60d9900174e</param>
<param name="changesrevision">d6c07e0de9be777009ebb9ab7475bee1ae3e0e95</param>
</service>
</servicedata>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9e777113a11fdab3bce88da863a21d1b00133fdbbd3d34b6167aec856f5cb289
size 7025677

3
nvme-cli-2.5.obscpio Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:81fd9b4a80fada23b24d75d34bcfd98d5e0c6d45ba808b2851bb3765b8319583
size 7318029

View File

@ -1,3 +1,120 @@
-------------------------------------------------------------------
Fri Jul 21 07:45:38 UTC 2023 - Ana Guerrero <ana.guerrero@suse.com>
- Fix FTBFS: Remove nvme-cli-2.4.obscpio and add instead nvme-cli-2.5.obscpio
- Update patch 0100-harden_nvmf-connect@.service.patch
- Update installation path for regress script.
-------------------------------------------------------------------
Thu Jul 06 09:43:48 UTC 2023 - Daniel Wagner <daniel.wagner@suse.com>
- Update to version 2.5:
* plugins/solidigm: Added Marketing Name Log support for Solidigm.
* nvmf-autoconnect: Annotate the context to autoconnect
* fabrics: Add support for volatile configuration
* plugins/solidigm: Formated log page directory table consistently with "nvme list" format.
* plugins/solidigm: Added Identify controller VU extensions parsing.
* nvme-print-json: Print PCI pysical slot number for controller
* nvme-print-stdout: Print PCI physical slot number for controller
* fabrics: Do not print device on connect per default
* nvme-print: fix wrong list-subsys output when ns are attached to different ctrls
* plugins/micron: Correct NULL pointer checking error
* plugins/innogrit: Add vendor command get-eventlog and get-cdump
* nvme: Use correct data buffer size
* nvme: Fix quoted string split across lines to use quoted newline
* nvme: Use correct metadata buffer size
* print: Introduce print ops structure
* fabrics: Move printing functions to the print files
* plugins/sfx: sfx-nvme add expand-cap & dump evtlog cmd
* util/types: Add generic spinner
* util/types: Move convert_ts to util/types
* plugin: Change version and usage names for linux kernel check patch warnings
* plugins/solidigm: Added NLog support to Telemetry parsing. Telemetry Reason Identifier fields changed to start with lower case.
* ocp: Add eol plp failure mode json outputs
* nvme-print: Add nvme show result function
* nvme-print-json: Add json output result function
* nvme-print: Fix nvme_show_error() to call va_end() for json output format
* nvme: Fix nvme format block-size option handling
* fabrics: Fix NVMF_ARGS macro indentation error
* Documentation: Add document for OCP Device capability(LID: 0xC4) log page
* completions: Add bash completion for OCP Device capability(LID: 0xC4) log page
* plugins/ocp: Add Device capability(LID: 0xC4) log page
* udev: fix warning reported by udevadm verify
* fabrics: fix conditions in nvmf-autoconnect.service
* fabrics: Change NVMF_OPTS as NVMF_ARGS to fix linux kernel check patch error
* nvme: Split passthru commands read output
* nvme: Fix io-passthru command read metadata output
* plugin/ocp: Added implementation for 0xC1 log page
* util: Fix suffix_si_parse to parse no decimal point but suffix value correctly
* completions: Add zsh option values handling for sanitize command action
* completions: Add ocp sub commands zsh completion
* completions: Add ocp commands zsh completion
* completions: Add ocp commands bash completion
* nvmf-autoconnect: restart service to avoid dropping AEN
* solidigm: Reduce memory usage in supported log pages feature
* solidigm: Changes to supported log pages feature requested by review
* solidigm: Add supported log pages log feature to Solidigm plugin
* plugins/ocp: Added ocp unsupported requirements log page
* completions: Add bash option values handling for sanitize command action
* doc: Correct nvme-show-hostnqn command NAME description
* completions: Add missing zsh commands descriptions
* plugins/wdc: Extend SN530 support.
* Fix incorrect article 'an' as 'a' to use for descriptions and message
* nvme: Set effects-log command csi option help message string
* completions: bash: Delete unsupported id-iocs command options
* completions: bash: Add id-domain command
* completions: Fix nvm-id-ns-lba-format command zsh definition
* completions: Add json command option
* nvme: Fix get-feature command sel parameter check to allow value 8
* util: Delete unnecessary argconfig definitions OPT_VAL and CFG_VAL
* util: Delete argconfig value type to add option value as va lists instead
* util: Split to set argconfig option value
* util: Delete argconfig value length to calcurate instead
* nvme: Change sanitize command action option to use argconfig parse value
* util: Add argconfig parse value function
* nvme-wrap: do_admin_args_op should not clear args timeout
* plugins/ocp: Add telemetry-log command to OCP plugin
* plugins/ocp: Add OCP set latency monitor feature command
* plugins/ocp: Fix endianness in Latency Monitor Log output
* plugins/ocp: Add missing fields in Latency Monitor Log
* plugins/ocp: Fix typos in Latency Monitor Log
* plugins/ocp: Reorganize OCP plugin source code
* tests: Add tests for controller reset
* plugin/solidigm: Added vs-internal-log command.
* nvme: Add nvme_show_perror to use instead of perror for json output
* nvme: fix rnlpt to_string() values.
* nvme: fix io_mgmt args parse error
* fdp: set-events feature is saveable
* fabrics: Return errno value as negative
* fabrics: Fix linux kernel check patch errors and warnings
* nbft: add the nbft show plugin
* nbft: added NBFT v1.0 table support
* nbft: make lookup_ctrl function public
* nvme: Fix indentation errors around nvme show error API
* nvme: Check validate output format err value instead of flags
* nvme: Use nvme show error API to outptu stderr messages for json format
* util: Check output format json for json error message output
* nvme-printf: Add show error function for nvme list command json output
* nvme: Add zns specfic field for create ns
* nvme: Add ns-mgmt host software specified fields
* nvme: Add dtype, dspec on write-zeroes, write-uncor
* nvme-print: Add new fields print on id directive
* nvme-print: Add VWCNP on NSFEAT of id-ns
* nvme: Fix format command to skip to reread NSID all block device
* plugins/solidigm: Fixes and clean-up of Telemetry parse code. Fixed parsing of 64 bit values. Fixed COD field name. Fixed compilation warnings when compiling for 32 bit. Added missing free(). Consolidated single entry function to telemetry parser. Consolidated use of integer types.
* doc: Documentations maintenance changes
* doc: Add nvme-mi-send command documentation
* doc: Add nvme-mi-recv command documentation
* doc: Add clear-pcie-correctable-error-counters command documentation
* doc: Add eol-plp-failure-mode command documentation
* plugins/solidigm: Add firmware activation history log to Solidigm plugin
* plugins/ocp: Add firmware activation history log to OCP plugin
* nvme: Add support for NVMe-MI send command
* nvme: Use stdout for passthru and submit_io commands success messages
* nvme: Fix passthru command function indentation errors
* nvme: Add support for NVMe-MI receive command
* fabrics: fix fc config JSON file handling
-------------------------------------------------------------------
Fri Mar 31 15:44:20 UTC 2023 - Daniel Wagner <daniel.wagner@suse.com>

View File

@ -1,4 +1,4 @@
name: nvme-cli
version: 2.4
mtime: 1680272269
commit: 0b2961e62f4138f991c3af6b5deea60d9900174e
version: 2.5
mtime: 1688131248
commit: d6c07e0de9be777009ebb9ab7475bee1ae3e0e95

View File

@ -17,7 +17,7 @@
Name: nvme-cli
Version: 2.4
Version: 2.5
Release: 0
Summary: NVM Express user space tools
License: GPL-2.0-only
@ -98,7 +98,7 @@ install -m 644 -D /dev/null %{buildroot}%{_sysconfdir}/nvme/discovery.conf
rm %{buildroot}%{_sysconfdir}/dracut/dracut.conf.d/70-nvmf-autoconnect.conf
# for subpackage nvme-cli-regress-script:
install -m 744 -D regress %{buildroot}%{_sbindir}/nvme-regress
install -m 744 -D scripts/regress %{buildroot}%{_sbindir}/nvme-regress
mkdir -p %{buildroot}%{_sbindir}
pushd %{buildroot}%{_sbindir}