Mailinglist Archive: zypp-devel (64 mails)

< Previous Next >
[zypp-devel] @Hackers: New policy for libzypp VERSION.cmake!
  • From: Michael Andres <ma@xxxxxxx>
  • Date: Wed, 30 Jul 2008 19:54:41 +0200
  • Message-id: <20080730175441.GA12394@xxxxxxx>
@ libzypp hackers:

In SVN TRUNK we introduced a new tag in the Version.cmake file,
that should help us maintaining a correct libzypp version without
unnecessary version jumps beween to submissions to autobuild:

#=======
#
SET(LIBZYPP_MAJOR "5")
SET(LIBZYPP_COMPATMINOR "4")
SET(LIBZYPP_MINOR "4")
SET(LIBZYPP_PATCH "0")
#
# LAST RELEASED: 5.3.0 (2)
# (The number in parenthesis is LIBZYPP_COMPATMINOR)
#=======


- Check and adjust LIBZYPP_PATCH/_MINOR/_COMPATMINOR with
respect to LAST RELEASED before any commit to SVN!

If LIBZYPP_PATCH was already increased, don't increase it again.
If you changed the interface, increase LIBZYPP_MINOR and set
LIBZYPP_PATCH to 0, unless someone else did so....

# LAST RELEASED: 5.3.0 (2)
The next release should be:
5.3.1 (2) - no interface changes
5.4.0.(2) - binary comatible interface changes
5.4.0 (4) - binary incomatible interface changes


- IFF you are going to submitt to autobuild:
- Update '# LAST RELEASED: ' un VERSION.cmake to the new
(current) version.
- Add a line in the changes file telling about the
new version.

-------------------------------------------------------

I also added a script mkChangelog that might ease maintaining the
'# LAST RELEASED: ' tag in VERSION.cmake.

You still have to care about:

- Check and adjust LIBZYPP_PATCH/_MINOR/_COMPATMINOR with
respect to LAST RELEASED before any commit to SVN!


Afterwards use mkChangelog to write your changes entry
and decide wheter you want to update the release tag.

'mkChangelog -h' will tell you how to use it.

--
cu,
Michael Andres

+------------------------------------------------------------------+
Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4
+------------------------------------------------------------------+
Michael Andres YaST Development ma@xxxxxxxxxx
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg)
Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0
+------------------------------------------------------------------+

--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages