Recipe default text versioning is wrong

Bug #1020983 reported by Devid Antonio Filoni
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

HI,
the repice default text ATM is:

# bzr-builder format 0.3 deb-version {debupstream}-0~{revno}
lp:branch-name

But this means:
upstream version: {debupstream}
Debian package revision: 0~{revno}

As source tarball refers to {revno} source code, its version cannot be the same of stable releases.
The recipe default text should be:
{debupstream}+bzr{revno}-0 or {debupstream}~bzr{revno}-0
(depending on {debupstream})

Tags: recipe
Revision history for this message
Aaron Bentley (abentley) wrote :

Our approach to debversionioning has been a bit disorganized. I've created https://dev.launchpad.net/Code/RecipeBuildDebversioning to discuss the issue.

Changed in launchpad:
status: New → Triaged
importance: Undecided → Low
tags: added: recipe
Revision history for this message
Jelmer Vernooij (jelmer) wrote :

The suggested debversion string assumes that the branch being referenced is the upstream branch. That's not necessarily the case - it could also very well be the packaging branch.

Revision history for this message
Sergey "Shnatsel" Davidoff (shnatsel) wrote :

Well, last time I checked recipes are usually made out of code branches and packaging sometimes gets nested or merged later. That's what all examples in the docs suggest and that convention seems to be followed (I've seen no exceptions to that so far). So it seems to make a sane default. More sane than the current one anyway.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.