[pve-devel] [PATCH common 0/2] property string improvements

Wolfgang Bumiller w.bumiller at proxmox.com
Wed Mar 30 12:09:51 CEST 2016


Patch 1:
  1 change since the RFC: aliased default_key's aren't printed
  anymore. (We don't reach a case where this happens, but if we did
  it wouldn't make sense otherwise.)
Patch 2:
  Up to now enums and booleans didn't get a default typetext, now
  they do. This means that 'huge' enums need a format_description or
  typetext property to avoid huge entries.

The following changes since commit 166e27c74f883d12e12c60c43c57994bfc2ec5bc:

  cleanup: whitespace and than/then typo (2016-03-23 11:38:26 +0100)

are available in the git repository at:

  git://github.com/Blub/pve-common.git next

you can pull directly via:

  $ git pull --ff-only  git://github.com/Blub/pve-common.git next

for you to fetch changes up to d21d2152f41a3dea5fc796433501aa8fa497f1a0:

  generate_typetext: handle enums and booleans automatically (2016-03-30 11:10:15 +0200)

----------------------------------------------------------------
Wolfgang Bumiller (2):
      property strings: introduce key grouping feature
      generate_typetext: handle enums and booleans automatically

 src/PVE/JSONSchema.pm | 61 ++++++++++++++++++++++++++++++++++++++++++++++-----
 src/PVE/PodParser.pm  | 15 ++++++++++---
 2 files changed, 67 insertions(+), 9 deletions(-)




More information about the pve-devel mailing list