From d6934ca0a0ba8d7f4c44023f31fa1fd36b1e68c6 Mon Sep 17 00:00:00 2001 From: Gris Ge Date: Tue, 16 Jun 2015 17:24:24 +0800 Subject: [PATCH 1/2] New release: 1.2.0 * Add changelog into NEWS and RPM spec changelog. Signed-off-by: Gris Ge --- NEWS | 51 ++++++++++++++++++++++++++++++++ packaging/libstoragemgmt.spec.in | 50 +++++++++++++++++++++++++++++++ 2 files changed, 101 insertions(+) diff --git a/NEWS b/NEWS index 1f8fed345..329fca970 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,56 @@ News for libStorageMgmt +1.2.0: Jun 16 2015 + - New features: + * The lsmd daemon now allows plugin to run as root using configure + file. + * Targetd plugin got full access group support. + * The simulator plugin switched from risky pickle to sqlite3 for state + saving. + * Introduced bash auto completion support for lsmcli command. + * Two new plugins for hardware RAID cards: + * LSI MegaRAID plugin -- megaraid:// + Dell PERC and other OEM rebanded MegaRAID cards are also + supported. + * HP SmartArray plugin -- hpsa:// + - Library adds: + * New method to query RAID information of volume: + Python: lsm.Client.volume_raid_info(). + C: lsm_volume_raid_info(). + * New method to query pool membership: + Python: lsm.Client.pool_member_info(). + C: lsm_pool_member_info(). + * New disk status constant to indicate certain disk could be used as + pool disk or dedicate spare disk. + Python: DISK.STATUS_FREE. + C: LSM_DISK_STATUS_FREE. + * New method to create RAID volume on hardware RAID cards: + Python: lsm.Client.volume_raid_create_cap_get(). + lsm.Client.volume_raid_create(). + C: lsm_volume_raid_create_cap_get(). + lsm_volume_raid_create(). + * New C plugin register interface for version 1.2 new methods: + lsm_register_plugin_v1_2() + - Bug fixes and miscellaneous fixes: + * lsmd: Fix a possible infinity loop on plugin search. + * Fix memory leak in C unit test. + * Library: Fix incorrect Volume.vpd83 definition + * SMI-S plugin: Fix SMI-S plugin spare disk support. + * SMI-S plugin: Fix target_ports() for HP 3PAR and EMC VMAX. + * SMI-S plugin: Fix the incorrect profile_check(). + * Fix C library compile warning. + * Fix C library potential memory leak in handle_volume_raid_create(). + * ONTAP, MegaRAID, SMI-S Plugins: Enforce the definition of Pool.status. + * Change license statement by replacing address to URL. + * lsmd: add error catch for signal. + * lsmcli: fix _get_item error message. + * C Library: Fix message loop + * C Library: Clean up code for DRY(don't repeat yourself). + * SMI-S Plugin: Collect xml during exception. + * C Library: Remove ambiguity between wrong type or OOM + * C code clean up to use K&R code style. + * Add Charles Rose to AUTHORS. + 1.1.1: Dec 4 2014 - Library adds: diff --git a/packaging/libstoragemgmt.spec.in b/packaging/libstoragemgmt.spec.in index 92920e863..c2803c982 100644 --- a/packaging/libstoragemgmt.spec.in +++ b/packaging/libstoragemgmt.spec.in @@ -640,6 +640,56 @@ fi %endif %changelog +* Thu Jun 16 2015 Gris Ge 1.2.0-1 +- New features: + * The lsmd daemon now allows plugin to run as root using configure + file. + * Targetd plugin got full access group support. + * The simulator plugin switched from risky pickle to sqlite3 for state + saving. + * Introduced bash auto completion support for lsmcli command. + * Two new plugins for hardware RAID cards: + * LSI MegaRAID plugin -- megaraid:// + Dell PERC and other OEM rebanded MegaRAID cards are also + supported. + * HP SmartArray plugin -- hpsa:// +- Library adds: + * New method to query RAID information of volume: + Python: lsm.Client.volume_raid_info(). + C: lsm_volume_raid_info(). + * New method to query pool membership: + Python: lsm.Client.pool_member_info(). + C: lsm_pool_member_info(). + * New disk status constant to indicate certain disk could be used as + pool disk or dedicate spare disk. + Python: DISK.STATUS_FREE. + C: LSM_DISK_STATUS_FREE. + * New method to create RAID volume on hardware RAID cards: + Python: lsm.Client.volume_raid_create_cap_get(). + lsm.Client.volume_raid_create(). + C: lsm_volume_raid_create_cap_get(). + lsm_volume_raid_create(). + * New C plugin register interface for version 1.2 new methods: + lsm_register_plugin_v1_2() +- Bug fixes and miscellaneous fixes: + * lsmd: Fix a possible infinity loop on plugin search. + * Fix memory leak in C unit test. + * Library: Fix incorrect Volume.vpd83 definition + * SMI-S plugin: Fix SMI-S plugin spare disk support. + * SMI-S plugin: Fix target_ports() for HP 3PAR and EMC VMAX. + * SMI-S plugin: Fix the incorrect profile_check(). + * Fix C library compile warning. + * Fix C library potential memory leak in handle_volume_raid_create(). + * ONTAP, MegaRAID, SMI-S Plugins: Enforce the definition of Pool.status. + * Change license statement by replacing address to URL. + * lsmd: add error catch for signal. + * lsmcli: fix _get_item error message. + * C Library: Fix message loop + * C Library: Clean up code for DRY(don't repeat yourself). + * SMI-S Plugin: Collect xml during exception. + * C Library: Remove ambiguity between wrong type or OOM + * C code clean up to use K&R code style. + * Add Charles Rose to AUTHORS. * Thu Dec 4 2014 Tony Asleson 1.1.0-1 - Library adds: From 290d6164add00aabad854ff3ca7b413766f8f947 Mon Sep 17 00:00:00 2001 From: Gris Ge Date: Tue, 16 Jun 2015 17:25:40 +0800 Subject: [PATCH 2/2] Increase master branch code version to 1.2.1 * Increase master branch code version to 1.2.1. * Once we have API addition, we will change it to 1.3.0. Signed-off-by: Gris Ge --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index e057e3f37..124949520 100644 --- a/configure.ac +++ b/configure.ac @@ -3,7 +3,7 @@ dnl Copyright (C) 2011 Red Hat, Inc. dnl See COPYING.LIB for the License of this software AC_INIT( - [libstoragemgmt], [1.2.0], [libstoragemgmt-devel@lists.fedorahosted.org], + [libstoragemgmt], [1.2.1], [libstoragemgmt-devel@lists.fedorahosted.org], [], [https://github.com/libstorage/libstoragemgmt/]) AC_CONFIG_SRCDIR([configure.ac]) AC_CONFIG_AUX_DIR([build-aux])