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>
-----Original Message----- From: Bjorge, Erik C [mailto:erik.c.bjo...@intel.com] Sent: Friday, February 12, 2016 6:41 PM To: Felix Poludov; edk2-devel@lists.01.org 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:edk2-devel-boun...@lists.01.org] On Behalf Of > Felix Poludov > Sent: Wednesday, February 10, 2016 11:09 AM > To: edk2-devel@lists.01.org > 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 > edk2-devel@lists.01.org > 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 edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel