SRCREV and git packages

Holger Freyther zecke at
Mon May 12 12:56:24 CEST 2008

On Monday 12 May 2008 06:24:15 John Lee wrote:

> Actually I use SRCDATE in openmoko-linux because I want a increasing
> number even across different repositories.  The persistent data is
> specific to the build machine so I decided not to use that.

Hey John,
very reasonable. I have the attached patch in the making. It will use 
git-rev-list rev -- | wc -l to get a sortable revision. It doesn't come 
without issues though:

	- You will need a local git repository for the time being
	- It assumes that only fast forwards are done on the tree


-------------- next part --------------
A non-text attachment was scrubbed...
Name: bitbake-git-sortable-rev.patch
Type: text/x-diff
Size: 2359 bytes
Desc: not available
Url :

More information about the distro-devel mailing list