All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] V2 lvm2app & python bindings bug fixes
@ 2015-05-05 21:34 Tony Asleson
  2015-05-05 21:34 ` [PATCH 1/5] lvm2app: Add signed numerical property values Tony Asleson
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Tony Asleson @ 2015-05-05 21:34 UTC (permalink / raw)
  To: lvm-devel

This patch set should resolve the following issues:

* Handle signed properties better

I added another flag on the properties structure to indicate if the property is
signed and added a int64_t signed_integer to the union.  Updated python binding
to build the correct representation.  I didn't get any feedback on this
approach in the bz, not sure if another approach would work better.

ref. https://bugzilla.redhat.com/show_bug.cgi?id=838257


* Unable to retrieve specific properties:

Any property that internally was defined as a string list was broken, ended up
being a missing flag.

ref. https://bugzilla.redhat.com/show_bug.cgi?id=1139920

Would appreciate someone taking a peek at these changes.

V2: Re-word the commit headers to provide more context.

Thanks,
Tony

Tony Asleson (5):
  lvm2app: Add signed numerical property values
  python: Build correct python value for numerical property
  python: Check for NULL value before constructing string property
  lvm2app: Correct missing string properties
  Python: Improve lv property test coverage

 lib/properties/prop_common.h |  5 +++-
 lib/report/columns.h         |  8 +++----
 lib/report/properties.c      |  3 ++-
 lib/report/report.c          |  2 ++
 liblvm/lvm2app.h             |  4 +++-
 liblvm/lvm_misc.c            |  1 +
 liblvm/lvm_prop.c            |  2 +-
 python/liblvm.c              | 17 ++++++++++----
 test/api/python_lvm_unit.py  | 56 +++++++++++++++++++++++++++++++++++++++++---
 9 files changed, 83 insertions(+), 15 deletions(-)

-- 
1.8.2.1



^ permalink raw reply	[flat|nested] 9+ messages in thread
* [PATCH 0/5] lvm2app & python bindings bug fixes
@ 2015-05-05 19:25 Tony Asleson
  2015-05-05 19:25 ` [PATCH 4/5] lvm2app: Correct missing string properties Tony Asleson
  0 siblings, 1 reply; 9+ messages in thread
From: Tony Asleson @ 2015-05-05 19:25 UTC (permalink / raw)
  To: lvm-devel

This patch set should resolve the following issues:

* Handle signed properties better

I added another flag on the properties structure to indicate if the property is
signed and added a int64_t signed_integer to the union.  Updated python binding
to build the correct representation.  I didn't get any feedback on this
approach in the bz, not sure if another approach would work better.

ref. https://bugzilla.redhat.com/show_bug.cgi?id=838257


* Unable to retrieve specific properties:

Any property that internally was defined as a string list was broken, ended up
being a missing flag.

ref. https://bugzilla.redhat.com/show_bug.cgi?id=1139920

Would appreciate someone taking a peek at these changes.

Thanks,
Tony

Tony Asleson (5):
  lvm2app: Handle property values which are signed
  python: Build correct python value for numerical property
  python: Check for value before constructing string property
  lvm2app: Correct missing string properties
  Python: Improve lv property test coverage

 lib/properties/prop_common.h |    5 +++-
 lib/report/columns.h         |    8 +++---
 lib/report/properties.c      |    3 +-
 lib/report/report.c          |    2 +
 liblvm/lvm2app.h             |    4 ++-
 liblvm/lvm_misc.c            |    1 +
 liblvm/lvm_prop.c            |    2 +-
 python/liblvm.c              |   17 +++++++++---
 test/api/python_lvm_unit.py  |   56 +++++++++++++++++++++++++++++++++++++++--
 9 files changed, 83 insertions(+), 15 deletions(-)



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2015-05-06 10:25 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-05 21:34 [PATCH 0/5] V2 lvm2app & python bindings bug fixes Tony Asleson
2015-05-05 21:34 ` [PATCH 1/5] lvm2app: Add signed numerical property values Tony Asleson
2015-05-06 10:23   ` Peter Rajnoha
2015-05-05 21:34 ` [PATCH 2/5] python: Build correct python value for numerical property Tony Asleson
2015-05-05 21:34 ` [PATCH 3/5] python: Check for NULL value before constructing string property Tony Asleson
2015-05-05 21:34 ` [PATCH 4/5] lvm2app: Correct missing string properties Tony Asleson
2015-05-06 10:25   ` Peter Rajnoha
2015-05-05 21:34 ` [PATCH 5/5] Python: Improve lv property test coverage Tony Asleson
  -- strict thread matches above, loose matches on Subject: below --
2015-05-05 19:25 [PATCH 0/5] lvm2app & python bindings bug fixes Tony Asleson
2015-05-05 19:25 ` [PATCH 4/5] lvm2app: Correct missing string properties Tony Asleson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.