On 02. 03. 21 22:05, Pierre-Yves Chibon wrote:
The devil is in the details: pre-release, snapinfo, minorbump
aren't really
covered by distance being just an integer bumped.
I don't see this covered in the current method either. Or was it in the
meantime? Anyway:
- pre-release should go into version (~)
- snapinfo should go into version (~ or ^)
The only real problem I see here is minorbump. We could have something like:
%{autorel -m}. That means, micobump since this was added here. But I guess it is
ugly.
I know we considered the "number of commits since the last
version bump" when we
looked into this. I honestly do not remember precisely why we didn't go with it.
IIRC it was because you considered building several rebuilds with different
releases from the same commit a goal (while I'd rather require an empty commit
that explains the reason for the rebuild).
--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok