]> git.pld-linux.org Git - projects/pld-builder.new.git/commit
Always check the existence of auto tag for ready builds
authorKacper Kornet <draenog@pld-linux.org>
Tue, 10 Jul 2012 22:42:40 +0000 (23:42 +0100)
committerKacper Kornet <draenog@pld-linux.org>
Tue, 10 Jul 2012 22:52:20 +0000 (23:52 +0100)
commit9dba0d8d8e1b2c9071df0e956a9e9445d5bc7ad4
treeeae6fab185873459c3d22c76b47b73b186722e84
parent5877a1f81d0c099a82f637ddcc9b9f921535b8c6
Always check the existence of auto tag for ready builds

The old version was workaround to allow rebuild the auto tagged commits.
However in git the translation of '.' and '@' in auto tag names is not
made. Together it could lead to wrong behaviour in the following
scenario:
- old style auto tag exists
- new style auto tag is requested for different commit that still
  represents the same version-release of the package

The better fix is to always check for existence of tag in ready builds,
and builder shouldn't fail when the tag is already present, but points
to the same commit as the one requested for build.
PLD_Builder/srpm_builder.py
This page took 0.096699 seconds and 4 git commands to generate.