On 02/18/16 22:10, Felix Poludov wrote:
> Eric,
> 
> Using git commit hash or a truncated version of hash, as proposed by Laszlo, 
> is mostly fine.
> The only inconvenience of git hashes is that they cannot be compared.
> Unlike SVN revision, it's impossible to tell which commit is newer, by  just 
> looking at git hash.
> I suggest using git hash plus commit date/time.
> Something similar to the output of the following command:
> git show -s --format="%H %ci" <commit>

This is a great idea; this pattern (maybe shortened a bit) is used
elsewhere too.

Thanks
Laszlo

> 
> 
> -----Original Message-----
> From: Bjorge, Erik C [mailto:[email protected]] 
> Sent: Friday, February 12, 2016 6:41 PM
> To: Felix Poludov; [email protected]
> Subject: RE: BaseTools build number after transition to git
> 
> Sorry for the late reply.  Currently I am planning to use the SHA1 as the 
> version.  This seems like a reasonable approach.
> 
> Thanks,
> -Erik
> 
>> -----Original Message-----
>> From: edk2-devel [mailto:[email protected]] On Behalf Of
>> Felix Poludov
>> Sent: Wednesday, February 10, 2016 11:09 AM
>> To: [email protected]
>> Subject: [edk2] BaseTools build number after transition to git
>>
>> Most of the EDKII tools support --version switch that returns tool
>> version and build number.
>> We've been using SVN revision ID as a build number for all the tools.
>> Have there been any discussions on what should be used as a build number
>> in the new (and hopefully merrier)  EDKII Git world?
>>
>> Felix
>>
>>
>> The information contained in this message may be confidential and
>> proprietary to American Megatrends, Inc.  This communication is intended
>> to be read only by the individual or entity to whom it is addressed or
>> by their designee. If the reader of this message is not the intended
>> recipient, you are on notice that any distribution of this message, in
>> any form, is strictly prohibited.  Please promptly notify the sender by
>> reply e-mail or by telephone at 770-246-8600, and then delete or destroy
>> all copies of the transmission.
>> _______________________________________________
>> edk2-devel mailing list
>> [email protected]
>> https://lists.01.org/mailman/listinfo/edk2-devel
> 
> The information contained in this message may be confidential and proprietary 
> to American Megatrends, Inc.  This communication is intended to be read only 
> by the individual or entity to whom it is addressed or by their designee. If 
> the reader of this message is not the intended recipient, you are on notice 
> that any distribution of this message, in any form, is strictly prohibited.  
> Please promptly notify the sender by reply e-mail or by telephone at 
> 770-246-8600, and then delete or destroy all copies of the transmission.
> _______________________________________________
> edk2-devel mailing list
> [email protected]
> https://lists.01.org/mailman/listinfo/edk2-devel
> 

_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to