Tony Asleson
2014-05-16 17:24:28 UTC
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "libstoragemgmt".
The branch, master has been updated
via 98c6599d2f197447cffa165db61d7152d3ae0bf8 (commit)
via 5a54cebe4c2dd756e872a85dc231db2084d19988 (commit)
via 2c77d47ec1978403e57047ac27bc65dce7441663 (commit)
via a62e18259e254fba78d13a4024911250d20f503f (commit)
via 1cc369c7744b2ab68971b1f4ec79df94070eb149 (commit)
from 501de08544ba8e3e4b670dc0d06bdbe8b1e0120e (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 98c6599d2f197447cffa165db61d7152d3ae0bf8
Author: Tony Asleson <***@redhat.com>
Date: Fri May 16 11:17:03 2014 -0500
cmdline.py, data_display.py: Remove duplicate function
Removed duplicate function in cmdline.py & data_display.py
for outputting to stdout with a flush.
Signed-off-by: Tony Asleson <***@redhat.com>
commit 5a54cebe4c2dd756e872a85dc231db2084d19988
Author: Tony Asleson <***@redhat.com>
Date: Fri May 16 11:11:12 2014 -0500
cmdline.py, data_display.py: ws, spelling fixes
Signed-off-by: Tony Asleson <***@redhat.com>
commit 2c77d47ec1978403e57047ac27bc65dce7441663
Author: Tony Asleson <***@redhat.com>
Date: Fri May 16 10:53:18 2014 -0500
display_data.py: Fix variable in error msg
Signed-off-by: Tony Asleson <***@redhat.com>
commit a62e18259e254fba78d13a4024911250d20f503f
Author: Tony Asleson <***@redhat.com>
Date: Fri May 16 10:52:45 2014 -0500
lsmcli: Remove un-used code
With Gris's code change this code is no longer needed.
Signed-off-by: Tony Asleson <***@redhat.com>
commit 1cc369c7744b2ab68971b1f4ec79df94070eb149
Author: Gris Ge <***@redhat.com>
Date: Fri May 16 22:44:59 2014 +0800
lsmcli: Move all value converting from _data.py to data_display.py
* Removed abstract method in IData for value converting.
* Moving all value converting methods to data_display.py
* Use file level method in stead of @staticmethod as Tony suggested.
* Moved lsm.PlugData to data_display.py as it is only for lsmcli.
* Volume.STATUS_ERR is kept as old one. We will change it in another patch.
* In stead of use enumerate number for unknown, we will raise error when
got illegal string for string_to_type converting:
LsmError(ErrorNumber.INVALID_ARGUMENT, "balalala")
* As git summery said, we have more deletions than insertions, I will
consider this new display method as improvement.
There are still some duplicate code for VALUE_CONVERT, but I have no idea
how to do that(I don't want to use variable as variable name to same these
duplicate code, because that's why hash/dictionary invented for.)
* Tested with all 'lsmcli list' types on 'sim://'.
* Introduced 'IData.OPT_PROPERTIES' list, it could be use for checking
whether provided OptionalData is supported or not. Check
lsm.Disk.__init__() for detail.
* Hide some properties in column display mode(They can still displayed via
script mode):
lsm.Disk:
block_size
num_of_blocks
lsm.Volume:
system_id
block_size
num_of_blocks
lsm.FileSystem:
system_id
lsm.NfsExport:
root
anonuid
anongid
auth
Signed-off-by: Gris Ge <***@redhat.com>
-----------------------------------------------------------------------
Summary of changes:
python_binding/lsm/_cmdline.py | 341 ++++----------------
python_binding/lsm/_data.py | 706 +---------------------------------------
tools/lsmcli/data_display.py | 680 ++++++++++++++++++++++++++++++++++-----
3 files changed, 675 insertions(+), 1052 deletions(-)
hooks/post-receive
generated because a ref change was pushed to the repository containing
the project "libstoragemgmt".
The branch, master has been updated
via 98c6599d2f197447cffa165db61d7152d3ae0bf8 (commit)
via 5a54cebe4c2dd756e872a85dc231db2084d19988 (commit)
via 2c77d47ec1978403e57047ac27bc65dce7441663 (commit)
via a62e18259e254fba78d13a4024911250d20f503f (commit)
via 1cc369c7744b2ab68971b1f4ec79df94070eb149 (commit)
from 501de08544ba8e3e4b670dc0d06bdbe8b1e0120e (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 98c6599d2f197447cffa165db61d7152d3ae0bf8
Author: Tony Asleson <***@redhat.com>
Date: Fri May 16 11:17:03 2014 -0500
cmdline.py, data_display.py: Remove duplicate function
Removed duplicate function in cmdline.py & data_display.py
for outputting to stdout with a flush.
Signed-off-by: Tony Asleson <***@redhat.com>
commit 5a54cebe4c2dd756e872a85dc231db2084d19988
Author: Tony Asleson <***@redhat.com>
Date: Fri May 16 11:11:12 2014 -0500
cmdline.py, data_display.py: ws, spelling fixes
Signed-off-by: Tony Asleson <***@redhat.com>
commit 2c77d47ec1978403e57047ac27bc65dce7441663
Author: Tony Asleson <***@redhat.com>
Date: Fri May 16 10:53:18 2014 -0500
display_data.py: Fix variable in error msg
Signed-off-by: Tony Asleson <***@redhat.com>
commit a62e18259e254fba78d13a4024911250d20f503f
Author: Tony Asleson <***@redhat.com>
Date: Fri May 16 10:52:45 2014 -0500
lsmcli: Remove un-used code
With Gris's code change this code is no longer needed.
Signed-off-by: Tony Asleson <***@redhat.com>
commit 1cc369c7744b2ab68971b1f4ec79df94070eb149
Author: Gris Ge <***@redhat.com>
Date: Fri May 16 22:44:59 2014 +0800
lsmcli: Move all value converting from _data.py to data_display.py
* Removed abstract method in IData for value converting.
* Moving all value converting methods to data_display.py
* Use file level method in stead of @staticmethod as Tony suggested.
* Moved lsm.PlugData to data_display.py as it is only for lsmcli.
* Volume.STATUS_ERR is kept as old one. We will change it in another patch.
* In stead of use enumerate number for unknown, we will raise error when
got illegal string for string_to_type converting:
LsmError(ErrorNumber.INVALID_ARGUMENT, "balalala")
* As git summery said, we have more deletions than insertions, I will
consider this new display method as improvement.
There are still some duplicate code for VALUE_CONVERT, but I have no idea
how to do that(I don't want to use variable as variable name to same these
duplicate code, because that's why hash/dictionary invented for.)
* Tested with all 'lsmcli list' types on 'sim://'.
* Introduced 'IData.OPT_PROPERTIES' list, it could be use for checking
whether provided OptionalData is supported or not. Check
lsm.Disk.__init__() for detail.
* Hide some properties in column display mode(They can still displayed via
script mode):
lsm.Disk:
block_size
num_of_blocks
lsm.Volume:
system_id
block_size
num_of_blocks
lsm.FileSystem:
system_id
lsm.NfsExport:
root
anonuid
anongid
auth
Signed-off-by: Gris Ge <***@redhat.com>
-----------------------------------------------------------------------
Summary of changes:
python_binding/lsm/_cmdline.py | 341 ++++----------------
python_binding/lsm/_data.py | 706 +---------------------------------------
tools/lsmcli/data_display.py | 680 ++++++++++++++++++++++++++++++++++-----
3 files changed, 675 insertions(+), 1052 deletions(-)
hooks/post-receive
--
libstoragemgmt
libstoragemgmt