[zypp-devel] Adding git version tags for libzypp/zypper
Dear fellow hackers. It was frequently requested to tag the libzypp/zypper versions in git. Today I continued the work Dominik began and updated all the version tags in in git for libzypp (zypper will follow). == To keep them up to date in the future, I updated the 'howto' in the VERSION.cmake files in our branches: # - MOST IMPORTANT: # - Before you submitt to git: # - Remember the new version in 'LAST RELEASED:' # - State the new version in the changes file by adding a line # "- version MAJOR.MINOR.PATCH (COMPATMINOR)" # - Commit changes and version files together in a separate # commit using -m 'changes MAJOR.MINOR.PATCH (COMPATMINOR)' # - Tag the above commit with 'MAJOR.MINOR.PATCH' using # -m "tagging MAJOR.MINOR.PATCH". Dare not to follow these steps ;) == mkChangelog To ease the above procedure, I also updated the mkChangelog script. !!! It expects no files being added to the index, as we want a single commit containing changes and version file only. If files other than changes and version are added, the script does a dryrun (mkChangelog -n) and just lists all commits done since the last release. The script is quite simple: - If you did not yet change the version, it will offer to edit the version file, if you want to. - It will prepare an new changes entry containing all commit summaries since the last release. If the version differs from the last one, a '- version...' entry is also added. The changes file will then be loaded into your EDITOR, so you can beautify the entry. - Done editing you're prompted to either - abort: losing the changes - continue: keep changes unsubmitted, come back later - submitt: commit the changes and tag the commit in case the version was increased, otherwise commit without tag. Don't be afraid, nothing gets pushed automatically. But if you push, don't forget to 'push --tags' as well. -- cu, Michael Andres +------------------------------------------------------------------+ Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4 +------------------------------------------------------------------+ Michael Andres SUSE LINUX Products GmbH, Development, ma@suse.de GF:Jeff Hawn,Jennifer Guild,Felix Imendörffer, HRB16746(AG Nürnberg) Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0 +------------------------------------------------------------------+ -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org To contact the owner, e-mail: zypp-devel+owner@opensuse.org
participants (1)
-
Michael Andres