Hi Worik, ----- Original Message ----- > From: "Worik Stanton" <[email protected]> > To: "Dave Hylands" <[email protected]> > Cc: "Mozilla B2G mailing list" <[email protected]> > Sent: Saturday, February 8, 2014 7:52:39 PM > Subject: Re: [b2g] Advice on bug reporting > > On 08/02/14 13:59, Dave Hylands wrote: > > Probably the 2 most useful "version" identifiers are the current hashes > > from the gaia and gecko repositories. > > > > You could create a script which contained the following: > > > > #!/bin/bash > > (cd gaia; echo "gaia $(git rev-parse HEAD)") > > (cd gecko; echo "gecko $(git rev-parse HEAD)") > > Thanks. This is cool. Version identifiers. I'm doing it in my own build > script. Is there no version numbering with a strict ordering (perhaps a > time stamp of the most recently updated file)?
Unfortunately, no. The timestamps reflect when the commit was made, not necessarily when it was merged into the tree. And if Joe created branch A from master, and Jill created branch B, then they could both be branched from the exact same point. > This would be useful for the case where Joe and Jill have both built > trees (an investment of time) and are noticing different behaviours, and > Joe would like to know if Jill built from more recent or "less recent" > sources. > > Should I file a bug? If Joe and Jill know each others commits, then they probably figure out which one is newer by comparing histories, but I'm not sure how else to do it (perhaps somebody who knows about git can pipe up). Dave Hylands _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
