Make distribution prefix configurable
For Apertis for packages derived from Debian we tag the version as imported form debian with debian/version. While the apertis derivative are tagged apertis/version.
Add an option to set the distribution to base the version on to cope with this situation.
Signed-off-by: Sjoerd Simons sjoerd.simons@collabora.co.uk
Merge request reports
Activity
I think this is working as intended, but my intention might not have been the same as yours, and perhaps yours is better. What is the bug that this fixes?
As far as I can tell it would be something like:
Steps to reproduce: have
apertis/1.0-1apertis1
in git. Mergedebian/1.0-2
from Debian.Expected result: presumably you were expecting the snapshot to be version 1.0-1apertis1+(noise)?
Actual result: 1.0-2+(noise), because the Debian tag is now the most recent?
We tag all packages we release to apertis with apertis/ even if it's unchagned from debian (so it'll have the exact same content as debian/).
This means that the HEAD of a packaging branch will both have apertis/1-1 and debian/1-1 as latest tags. In which case the tool can decide the correct one by itself, and in general for us it should ignore the
debian/
tags as those are meta data as the pacakges are from debian.mentioned in commit 9525152d
mentioned in commit eb222061
mentioned in commit b7c29f06