[virt-tools-list] [PATCH v6 0/5] virt-manager enhanced version id

Gene Czarcinski gene at czarc.net
Sat Apr 13 21:42:36 UTC 2013


OK, lets run this version stuff up the flag pole and see if anyone
salutes.  This is the "eat the cake and have it too" version.

This who want everything to remain the same, do nothing and it will be
(except the the default for cliconfig.__version__ is updated to a more
"reasonable" value).  This is broken up into five "simple", related patches.

1. New version-id for pre-whatever status.

2. Add spec.in back in and create the spec file when sdist is run with
@VERSION@ updated.

3. Add "pkgversion" option to configure so that user can set __version__
to anything as long as virtcl/cli.cfg exists.

4. Add --snapshot for sdist and rpm ... adds YYYYMMDD snapsnot-id suffix
to __version__

5. Update spec file so that the runtime version will be the same as for
the rpms: run ./configure --pkgconfig=%{version} 

Nothing depends on git and no check is performed for uncommitted changes.

Using a "script" solution to create a snapshot-id is unnecessary ... it is
all simple to do in python.  The more difficult part is to use the new
version+snapshot for the tarball and rpm names.
.
Gene Czarcinski (5):
  update __version__ to 0.9.100 for pre-release id
  automate @VERSION@ in virt-manager.spec
  add user setable version using configure
  add option for snapshot-id suffix to __version__
  update spec file to use its version at runtime

 .gitignore           |   1 +
 setup.py             |  53 ++++-
 virt-manager.spec    | 612 --------------------------------------------------
 virt-manager.spec.in | 613 +++++++++++++++++++++++++++++++++++++++++++++++++++
 virtcli/cliconfig.py |   7 +-
 5 files changed, 668 insertions(+), 618 deletions(-)
 delete mode 100644 virt-manager.spec
 create mode 100644 virt-manager.spec.in

-- 
1.8.1.4




More information about the virt-tools-list mailing list