Re: [PATCH] add git-version-gen and gitlog-to-changelog

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hey,


On Wed, Oct 17, 2012 at 03:42:18PM +0200, Alon Levy wrote:
> ---
>  .gitignore                    |   2 +
>  Makefile.am                   |  22 +++++
>  build-aux/git-version-gen     | 158 ++++++++++++++++++++++++++++++++++
>  build-aux/gitlog-to-changelog | 191 ++++++++++++++++++++++++++++++++++++++++++
>  configure.ac                  |  23 ++---
>  5 files changed, 385 insertions(+), 11 deletions(-)
>  create mode 100755 build-aux/git-version-gen
>  create mode 100755 build-aux/gitlog-to-changelog
> 
> diff --git a/configure.ac b/configure.ac
> index 047191d..261f870 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -1,18 +1,18 @@
>  AC_PREREQ([2.57])
>  
>  # Making releases:
> -# 1. Increment SPICE_MICRO if no interface change has been done
> -# 2. Increment SPICE_MINOR and zero SPICE_MICRO if new interfaces have been added,
> -#    no changes to existing interfaces.
> -# 3. Increment SPICE_MAJOR and zero both SPICE_MINOR and SPICE_MICRO if non
> -#    backward compatible changes (interface changed or removed).
> -#
> -# Then change the libtool versions according to libtool manual:
> +# 1. The version is SPICE_MAJOR.SPICE_MINOR.SPICE_MICRO
> +# 2. It is generated via a two stage process:
> +#   1. Create a tag
> +#   2. run configure which calls git-version-gen.
> +# 3. Follow these rules for setting the next tag (aka tarball version):
> +#   1. SPICE_MAJOR remains 0 until a major change is done.
> +#   2. Increment SPICE_MINOR to next even value on a significant release,
> +#      updating the release schedule: http://www.spice-space.org/<FILL ME>
> +#   3. Increment SPICE_MINOR otherwise.
> +# 4. Follow the libtool manual for the so version:
>  #  http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html

Ah I was initially worried that the soname was inferred from the tag, but
it's actually not, it comes from _CURRENT, _REVISION, _AGE, so this all
looks good (except this "FILL ME" ;)

ACK, though it would be nice to push a v0.12.0 tag at the same time so that
the versioning works already.

Christophe

Attachment: pgp_ZSSzCc6xM.pgp
Description: PGP signature

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]