[Libvirt-cim] [PATCH] Add revision information to the VSMS
Kaitlin Rupert
kaitlin at linux.vnet.ibm.com
Tue Apr 15 16:17:01 UTC 2008
Dan Smith wrote:
> # HG changeset patch
> # User Dan Smith <danms at us.ibm.com>
> # Date 1208209155 25200
> # Node ID 606a412caaf41e1d49ca47809ec0e94e65f29785
> # Parent 67e30fff0026214f509e688bdb082d07ffd267f2
> Add revision information to the VSMS
>
> This is done at build time, if possible. If not, the changeset/revision
> at the last automake run will be used. This should make it work for the
> tarball/release case as well as the RPM build.
>
> The way this works, if you build, then apply a patch or pull a new changeset,
> the exposed revision/version information will be stale unless you do a clean.
> Since this is really just for the purposes of test-tracking, I think this
> is a reasonable restriction that can be minded by the people doing testing.
>
> The changeset hash and revision number are exposed in aptly-named properties
> of the VSMS for each platform. If anyone has a better place for these to
> show up, or a better format, please bring it up.
>
> Changes:
> - Update the VSMS schema for the new values
>
Tested this out - looks great to me. +1
--
Kaitlin Rupert
IBM Linux Technology Center
kaitlin at linux.vnet.ibm.com
More information about the Libvirt-cim
mailing list