Skip to content
Snippets Groups Projects

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

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • 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. Merge debian/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?

  • Author Contributor

    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.

  • Sorry, it still isn't clear to me what the failure mode is?

  • Simon McVittie mentioned in commit 9525152d

    mentioned in commit 9525152d

  • Simon McVittie mentioned in commit eb222061

    mentioned in commit eb222061

  • Simon McVittie mentioned in commit b7c29f06

    mentioned in commit b7c29f06

Please register or sign in to reply
Loading