DTC 1.0.0 Release Coming?

David Gibson david at gibson.dropbear.id.au
Fri Jul 27 12:00:41 EST 2007


On Fri, Jul 27, 2007 at 11:33:31AM +1000, David Gibson wrote:
> On Thu, Jul 26, 2007 at 10:21:33AM -0500, Jon Loeliger wrote:
[snip]
> > I hve also verified that at least one other independent build
> > using this approach produces a correct version string for them
> > as well.
> 
> Yes, well, this is the other trouble - the current system is so
> complex it's very hard to debug and figure out why it's claiming my
> build is dirty but not yours.

Ok, figured out why.  When I push, then pop a quilt patch some of the
files end up with their original contents, but changed timestamps.
That altered stat information causes git-diff-index to give false
indications of changed files, so setlocalversion adds the -dirty.
Running git status, or gitool or various other things causes git to
notice that the files aren't really changed, updates the index and
then the version is generated correctly again.

Not very robust though.

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson



More information about the Linuxppc-dev mailing list