From a223f49c60fcbeeeab6b61626124a2131847c9262c11ad614947580b6cd78c63 Mon Sep 17 00:00:00 2001 From: Daniel Wagner Date: Wed, 2 Nov 2022 07:16:54 +0000 Subject: [PATCH 1/2] Accepting request 1032570 from home:bmwiedemann:branches:Base:System Use fixed manpage build date (boo#1047218) OBS-URL: https://build.opensuse.org/request/show/1032570 OBS-URL: https://build.opensuse.org/package/show/Base:System/libnvme?expand=0&rev=28 --- libnvme.changes | 5 +++++ libnvme.spec | 1 + 2 files changed, 6 insertions(+) diff --git a/libnvme.changes b/libnvme.changes index 17ed774..221bc62 100644 --- a/libnvme.changes +++ b/libnvme.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Oct 31 19:06:17 UTC 2022 - Bernhard Wiedemann + +- Use fixed manpage build date (boo#1047218) + ------------------------------------------------------------------- Fri Aug 26 06:32:07 UTC 2022 - Thorsten Kukuk diff --git a/libnvme.spec b/libnvme.spec index 8d0b6d7..d005d6e 100644 --- a/libnvme.spec +++ b/libnvme.spec @@ -75,6 +75,7 @@ Python binding part. %autosetup -p1 %build +export KBUILD_BUILD_TIMESTAMP=@${SOURCE_DATE_EPOCH:-$(date +%s)} %meson \ -Ddocs=man -Ddocs-build=true %meson_build From b0820117a523280f4e722807bacb006a288e53de536b9365979fcf13fbcd5f7d Mon Sep 17 00:00:00 2001 From: Daniel Wagner Date: Thu, 3 Nov 2022 11:32:15 +0000 Subject: [PATCH 2/2] Accepting request 1033045 from home:wagi:branches:Base:System - Update to version 1.2: * Add more details for return code of MI admin cmds * Parse dhchap_host_key on controller level * Update json config schema for missing dhchap host key * fabrics: Add new TP8010 definitions * fabrics: Add nvmf_get_discovery_wargs() * fabrics: Duplicate strings when merging configs * fabrics: Filter out empty strings in add_argument() * fabrics: Use fallthrough statement * ioctl: Set log page offset for nvme_get_log_telemetry_host * json-schema: add dhchap_key details to host section * json: Enforce correctly formatted JSON config files * json: Verify JSON config file starts with an array * mi: Add Get Log Page helpers * mi: Add Identify function for secondary controller list * mi: Add Identify helper for ns-descs and primary-ctrl-caps * mi: Add firmware download and commit commands * mi: Add identify helper for nsid-capable Controller List * mi: Add identify helpers for namespace lists * mi: Add identify helpers for namespaces * mi: Allow Admin-message sized More Processing Required responses * mi: Distinguish MI status from NVMe (CDW3) status * mi: Fix C++ compiler errors * mi: Implement Format NVM command * mi: Implement Get & Set Features Admin commands * mi: Implement NS attach command and helpers * mi: Implement Namespace Management command and create/delete helpers * mi: Implement Sanitize command * mi: Init ctrl_id within xfer * mi: Introduce a helper for response status, unify values with ioctls * mi: Set log page offset for nvme_get_log_telemetry_host * mi: add nvme_mi_status_to_string() * mi: fix a memory leak in nvme_mi_open_mctp() * mi: fix get_log_page chunked offset check * nvme-tree: avoid segfault if auth keys are unavailable * python: Use nvmf_get_discovery_wargs() * tree: rename controller 'dhchap_key' to 'dhchap_ctrl_key' * types: Move enum nvme_data_tfr to types * util: Add LINE_MAX define * util: Add get feature length 2 API to support direction parameter * util: Add simple UUID type * util: Do not expose fallthrough defines - Make man page build conditiional. Install man page location has been fixed upstream. - Mark the Python directory own by the libnvme3-python package OBS-URL: https://build.opensuse.org/request/show/1033045 OBS-URL: https://build.opensuse.org/package/show/Base:System/libnvme?expand=0&rev=29 --- _service | 2 +- _servicedata | 2 +- libnvme-1.1.obscpio | 3 --- libnvme-1.2.obscpio | 3 +++ libnvme.changes | 49 +++++++++++++++++++++++++++++++++++++++++++++ libnvme.obsinfo | 6 +++--- libnvme.spec | 7 +++---- 7 files changed, 60 insertions(+), 12 deletions(-) delete mode 100644 libnvme-1.1.obscpio create mode 100644 libnvme-1.2.obscpio diff --git a/_service b/_service index 37f235d..4944f5e 100644 --- a/_service +++ b/_service @@ -4,7 +4,7 @@ https://github.com/linux-nvme/libnvme.git libnvme @PARENT_TAG@ - v1.1 + v1.2 v(.*) enable diff --git a/_servicedata b/_servicedata index 71a4b9a..6f8e095 100644 --- a/_servicedata +++ b/_servicedata @@ -1,6 +1,6 @@ https://github.com/linux-nvme/libnvme.git - 47e3562a7d9b4bb871f374058c52c654fb4735e9 + b25dc6102bc000ff4c8061e6448cfb4c034eaed6 \ No newline at end of file diff --git a/libnvme-1.1.obscpio b/libnvme-1.1.obscpio deleted file mode 100644 index 3d9b0e5..0000000 --- a/libnvme-1.1.obscpio +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:349434ea837591a15ce00141b3a6e2fda5d141a9b8554c0db6c1ec2aefcbd40f -size 2183180 diff --git a/libnvme-1.2.obscpio b/libnvme-1.2.obscpio new file mode 100644 index 0000000..b1264a0 --- /dev/null +++ b/libnvme-1.2.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8ff8ed5b69d498fbd25a5d2e032c0e5d5590d7b4533e3b02abe483841477fa84 +size 2406924 diff --git a/libnvme.changes b/libnvme.changes index 221bc62..35f4853 100644 --- a/libnvme.changes +++ b/libnvme.changes @@ -1,3 +1,52 @@ +------------------------------------------------------------------- +Wed Nov 02 16:06:21 UTC 2022 - Daniel Wagner + +- Update to version 1.2: + * Add more details for return code of MI admin cmds + * Parse dhchap_host_key on controller level + * Update json config schema for missing dhchap host key + * fabrics: Add new TP8010 definitions + * fabrics: Add nvmf_get_discovery_wargs() + * fabrics: Duplicate strings when merging configs + * fabrics: Filter out empty strings in add_argument() + * fabrics: Use fallthrough statement + * ioctl: Set log page offset for nvme_get_log_telemetry_host + * json-schema: add dhchap_key details to host section + * json: Enforce correctly formatted JSON config files + * json: Verify JSON config file starts with an array + * mi: Add Get Log Page helpers + * mi: Add Identify function for secondary controller list + * mi: Add Identify helper for ns-descs and primary-ctrl-caps + * mi: Add firmware download and commit commands + * mi: Add identify helper for nsid-capable Controller List + * mi: Add identify helpers for namespace lists + * mi: Add identify helpers for namespaces + * mi: Allow Admin-message sized More Processing Required responses + * mi: Distinguish MI status from NVMe (CDW3) status + * mi: Fix C++ compiler errors + * mi: Implement Format NVM command + * mi: Implement Get & Set Features Admin commands + * mi: Implement NS attach command and helpers + * mi: Implement Namespace Management command and create/delete helpers + * mi: Implement Sanitize command + * mi: Init ctrl_id within xfer + * mi: Introduce a helper for response status, unify values with ioctls + * mi: Set log page offset for nvme_get_log_telemetry_host + * mi: add nvme_mi_status_to_string() + * mi: fix a memory leak in nvme_mi_open_mctp() + * mi: fix get_log_page chunked offset check + * nvme-tree: avoid segfault if auth keys are unavailable + * python: Use nvmf_get_discovery_wargs() + * tree: rename controller 'dhchap_key' to 'dhchap_ctrl_key' + * types: Move enum nvme_data_tfr to types + * util: Add LINE_MAX define + * util: Add get feature length 2 API to support direction parameter + * util: Add simple UUID type + * util: Do not expose fallthrough defines +- Make man page build conditiional. Install man page location has been + fixed upstream. +- Mark the Python directory own by the libnvme3-python package + ------------------------------------------------------------------- Mon Oct 31 19:06:17 UTC 2022 - Bernhard Wiedemann diff --git a/libnvme.obsinfo b/libnvme.obsinfo index f3f18e5..ffdf907 100644 --- a/libnvme.obsinfo +++ b/libnvme.obsinfo @@ -1,4 +1,4 @@ name: libnvme -version: 1.1 -mtime: 1659357926 -commit: 47e3562a7d9b4bb871f374058c52c654fb4735e9 +version: 1.2 +mtime: 1666977829 +commit: b25dc6102bc000ff4c8061e6448cfb4c034eaed6 diff --git a/libnvme.spec b/libnvme.spec index d005d6e..2b9254f 100644 --- a/libnvme.spec +++ b/libnvme.spec @@ -19,7 +19,7 @@ %define sover 1 Name: libnvme -Version: 1.1 +Version: 1.2 Release: 0 Summary: Linux-native nvme device management library License: LGPL-2.1-or-later @@ -76,8 +76,7 @@ Python binding part. %build export KBUILD_BUILD_TIMESTAMP=@${SOURCE_DATE_EPOCH:-$(date +%s)} -%meson \ - -Ddocs=man -Ddocs-build=true +%meson -Ddocs=man %{?_with_docs_build:-Ddocs-build=true} %meson_build %install @@ -108,7 +107,7 @@ export KBUILD_BUILD_TIMESTAMP=@${SOURCE_DATE_EPOCH:-$(date +%s)} %{_libdir}/%{name}-mi.so.%{sover}* %files -n python3-libnvme -%{python3_sitearch}/libnvme +%dir %{python3_sitearch}/libnvme %{python3_sitearch}/libnvme/*.so %{python3_sitearch}/libnvme/__init__.py %{python3_sitearch}/libnvme/nvme.py