From owner-freebsd-current@freebsd.org Fri Dec 25 00:22:24 2020 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0A8AC4D764F for ; Fri, 25 Dec 2020 00:22:24 +0000 (UTC) (envelope-from mueller6721@twc.com) Received: from p-impout008.msg.pkvw.co.charter.net (p-impout008aa.msg.pkvw.co.charter.net [47.43.26.139]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4D271W1FQVz3mtQ for ; Fri, 25 Dec 2020 00:22:22 +0000 (UTC) (envelope-from mueller6721@twc.com) Received: from localhost ([96.28.177.163]) by cmsmtp with ESMTP id sas4k0LLKZ4Absas4kvOUm; Fri, 25 Dec 2020 00:22:16 +0000 X-Authority-Analysis: v=2.3 cv=ZsGT1OzG c=1 sm=1 tr=0 a=xqrt2BZAGHte7XHhrxJgbA==:117 a=xqrt2BZAGHte7XHhrxJgbA==:17 a=HpEJnUlJZJkA:10 a=DBwwDor5xuMA:10 a=gl_KRU-IJ7RM3KmOdUoA:9 a=pHzHmUro8NiASowvMSCR:22 a=Ew2E2A-JSTLzCXPT_086:22 From: "Thomas Mueller" To: freebsd-current@freebsd.org Subject: Re: git and the loss of revision numbers References: <54116640-E6A1-4C53-9D7E-4384F942628E@ellael.org> X-CMAE-Envelope: MS4wfDLmMIBYX7BKKutaTLqSQ6jy6Uc+lCeWHZNm8huNc2TwmbCYmgrOOEtj1j6E/FVYRCW5M8axfkpxMXI5ZoUPPF7aO0BS3DsOvCm5xchlrfjuOKy/7zXy OvMxiwu9fn7arDKFyecl087aWuAag6n3OQZkt8QKuQl/sELk0xV+tRff X-Rspamd-Queue-Id: 4D271W1FQVz3mtQ X-Spamd-Bar: ++ X-Spamd-Result: default: False [2.53 / 15.00]; RCVD_TLS_LAST(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; RWL_MAILSPIKE_VERYGOOD(0.00)[47.43.26.139:from]; FREEMAIL_FROM(0.00)[twc.com]; MISSING_DATE(1.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[twc.com]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; MISSING_MID(2.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_SHORT(-0.96)[-0.964]; NEURAL_SPAM_LONG(0.99)[0.993]; R_SPF_ALLOW(-0.20)[+ip4:47.43.26.0/24]; FORGED_SENDER(0.30)[mueller6722@twc.com,mueller6721@twc.com]; RECEIVED_SPAMHAUS_PBL(0.00)[96.28.177.163:received]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[twc.com]; RCVD_COUNT_TWO(0.00)[2]; MIME_TRACE(0.00)[0:+]; FROM_NEQ_ENVFROM(0.00)[mueller6722@twc.com,mueller6721@twc.com]; ASN(0.00)[asn:40294, ipnet:47.43.24.0/21, country:US] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Fri, 25 Dec 2020 00:22:24 -0000 X-List-Received-Date: Fri, 25 Dec 2020 00:22:24 -0000 > Disclaimer: I just started to learn git, never used it before. > If I do understand it correctly, the switch from svn to git comes with a loss of continuously increasing revision numbers. Correct? If so I wonder how future security advisories and errata notices will be composed. Will there be a date of the commit besides its hash being reported? > In the past I could easily judge if there was a need to buildworld or buildkernel: If uname shows a larger revision number than those in advisories or notices. > Question: How may one find out whether to recompile or not in the future? > Thanks and regards, > Michael It is good to have a revision number available through uname -a or otherwise. Not sure about how Haiku does that, but Haiku uses tags that are noticeable when downloading (git clone or pull). I believe tags show the revision number. I haven't run Haiku in several years; all I have is USB-stick image from November 2012, downloaded 2014 (?), too old to be able to compile newer versions, and trying to cross-compile from FreeBSD or NetBSD has never been successful. Tom