wanted: recipe variable for upstream git commit id

Bug #620132 reported by Tormod Volden
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Low
Jelmer Vernooij
bzr-builder
Fix Released
Medium
Jelmer Vernooij

Bug Description

The upstream commit f437ee85f4a6789d7c3be0d68fd26aa257557b83 (http://cgit.freedesktop.org/mesa/mesa/commit/?id=f437ee85f4a6789d7c3be0d68fd26aa257557b83) is tagged with a Revision ID of git-v1:f437ee85f4a6789d7c3be0d68fd26aa257557b83 when it is imported into https://code.edge.launchpad.net/~vcs-imports/mesa/master

When building nightly builds I would like to contain the git id in the debian version (at least the 7 or 8 character short form), since this is the only identification that upstream developers can rely on. So I would like for instance a variable "upstreamcommit" so that I can make a recipe with something like:
 deb-version {debupstream}~git{time}+{upstreamcommit}-0ubuntu0tormod
to get a version of for instance 7.9.0~git20100816+f437ee85-0ubuntu0tormod

Related branches

summary: - recipe variable for upstream git commit id
+ wanted: recipe variable for upstream git commit id
Tim Penhey (thumper)
affects: launchpad-code → bzr-builder
Revision history for this message
James Westby (james-w) wrote :

See also bug 412722 requesting something similar for SVN.

Thanks,

James

Changed in bzr-builder:
status: New → Triaged
importance: Undecided → Medium
Jelmer Vernooij (jelmer)
tags: added: extra-substvars
Jelmer Vernooij (jelmer)
Changed in bzr-builder:
status: Triaged → In Progress
assignee: nobody → Jelmer Vernooij (jelmer)
Jelmer Vernooij (jelmer)
Changed in bzr-builder:
status: In Progress → Fix Committed
Jelmer Vernooij (jelmer)
Changed in bzr-builder:
milestone: none → 0.7
Jelmer Vernooij (jelmer)
Changed in bzr-builder:
status: Fix Committed → Fix Released
Revision history for this message
jasherai (phatforge) wrote :

Is it possible to have this variable available in the recipes?

thanks,

Revision history for this message
Jelmer Vernooij (jelmer) wrote : Re: [Bug 620132] Re: wanted: recipe variable for upstream git commit id

On 15/06/11 03:24, jasherai wrote:
> Is it possible to have this variable available in the recipes?
>
>
You can already use it in recipes today with the latest version of
bzr-builder (0.7). We're also in the process of getting this newer
bzr-builder deployed on Launchpad.

 affects launchpad
 status inprogress

Cheers,

Jelmer

Jelmer Vernooij (jelmer)
Changed in launchpad:
importance: Undecided → Low
assignee: nobody → Jelmer Vernooij (jelmer)
Revision history for this message
Jelmer Vernooij (jelmer) wrote :

A new bzr-builder with this fix has now been deployed to the launchpad buildds.

Changed in launchpad:
status: In Progress → Fix Released
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.