From nobody Sun Sep 18 17:21:54 2022 X-Original-To: stable@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MVvkG2QWPz4cy41 for ; Sun, 18 Sep 2022 17:21:58 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from mx.catwhisker.org (mx.catwhisker.org [107.204.234.170]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4MVvkF1s5zz3fXj; Sun, 18 Sep 2022 17:21:57 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.16.1/8.15.2) with ESMTP id 28IHLsZ0004907; Sun, 18 Sep 2022 17:21:54 GMT (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.16.1/8.16.1/Submit) id 28IHLsB3004906; Sun, 18 Sep 2022 10:21:54 -0700 (PDT) (envelope-from david) Date: Sun, 18 Sep 2022 10:21:54 -0700 From: David Wolfskill To: stable@freebsd.org Subject: stable/12 & recent change to newvers.sh Message-ID: Reply-To: stable@freebsd.org Mail-Followup-To: stable@freebsd.org List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="6Nf4BQhwR1q6hzt3" Content-Disposition: inline X-Rspamd-Queue-Id: 4MVvkF1s5zz3fXj X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of david@catwhisker.org designates 107.204.234.170 as permitted sender) smtp.mailfrom=david@catwhisker.org X-Spamd-Result: default: False [-0.39 / 15.00]; REPLYTO_EQ_TO_ADDR(5.00)[]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-0.996]; NEURAL_HAM_MEDIUM(-0.99)[-0.991]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; R_SPF_ALLOW(-0.20)[+ip4:107.204.234.170:c]; MIME_TRACE(0.00)[0:+,1:+,2:~]; MID_RHS_MATCH_FROMTLD(0.00)[]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[stable@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; RCPT_COUNT_ONE(0.00)[1]; FREEFALL_USER(0.00)[david]; HAS_REPLYTO(0.00)[stable@freebsd.org]; ASN(0.00)[asn:7018, ipnet:107.192.0.0/12, country:US]; FROM_HAS_DN(0.00)[]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DMARC_NA(0.00)[catwhisker.org]; ARC_NA(0.00)[] X-ThisMailContainsUnwantedMimeParts: N --6Nf4BQhwR1q6hzt3 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I just noticed (today) that as of the update of stable/12 from: FreeBSD 12.3-STABLE #104 stable/12-n235621-7c39928455c: Tue Sep 6 10:34:05= UTC 2022 root@freebeast.catwhisker.org:/common/S1/obj/usr/src/amd64.am= d64/sys/GENERIC amd64 1203507 1203507 to FreeBSD 12.3-STABLE #105 stable/12-dff90c4ce1a: Wed Sep 7 10:31:49 UTC 202= 2 root@freebeast.catwhisker.org:/common/S1/obj/usr/src/amd64.amd64/sys/= GENERIC amd64 1203507 1203507 (as seen at https://www.catwhisker.org/~david/FreeBSD/history/freebeast_uname_amd64.12.= txt) I've lost the commit count. This would seem to be related to: author Michael Osipov 2021-01-05 11:48:39 +0100 committer Ed Maste 2022-09-06 15:31:39 -0400 commit a3c92efcaa1252bcff87884a76e7c4a9f2c4afc5 (patch) tree d400c4c61710546d44ca0123526bbab2bd26b095 /sys/conf/newvers.sh newvers.sh: add support for gitup(1) except that I have never used gitup, and haven't enough of a clue about git to know what a "shallow clone" is. And when I manually run "cd /usr/src/sys/conf && sh -x newvers.sh", the resulting vers.c file *has* the count. [As an aside, my first attempt at this was "cd /sys/conf && sh -x newvers.sh", which totally failed to recognize that it was in a git tree at all: "findvcs .git" returned 1. This may be a bit of a surprise; it was to me.] Anyway: looking over the changes in the commit, I find no files matching the name ".gitup*" at all, anywhere. And manually running "git rev-parse --is-shallow-repository" outputs "false" for any of my git trees. And it looks to me as if the stable/13 equivalent: author Michael Osipov 2021-01-05 11:48:39 +0100 committer Ulrich Sp=F6rlein 2021-01-20 10:48:27 +0100 commit a9fc14fbf445cffd18f34f6a602bdba84bb5a867 (patch) tree 0c10804bdafde2810d11201dc93af7f5d0ec58de /sys/conf/newvers.sh newvers.sh: add support for gitup(1) has *not* caused dropping the commit count from stable/13 -- ref. https://www.catwhisker.org/~david/FreeBSD/history/freebeast_uname_amd64.13.= txt Nor has it been an issue in head -- ref.: https://www.catwhisker.org/~david/FreeBSD/history/freebeast_uname_amd64.14.= txt So: how do I find out what's gone wonky with my stable/12 environments? (The cited behavior is consistent among all 3 machines I use for daily tracking of stable/12, stable/13, and head.) Thanks! Peace, david --=20 David H. Wolfskill david@catwhisker.org "In my administration, I'm going to enforce all laws concerning the protection of classified information. No one will be above the law." -- D. Trump, August, 2016 See https://www.catwhisker.org/~david/publickey.gpg for my public key. --6Nf4BQhwR1q6hzt3 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iNUEARYKAH0WIQSr0Kzv+UJRY3wfOii0+6PfV4Ix1AUCYydTsl8UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0QUJE MEFDRUZGOTQyNTE2MzdDMUYzQTI4QjRGQkEzREY1NzgyMzFENAAKCRC0+6PfV4Ix 1Ch3AQCcTUjP9AFEakZWpOvRgv/MbGURZ/bgxDRou3DXdc8jnwEAjV3E6ukqX8C+ hEJjO/fviqw7jYOvz9NE2eCUx+bUTgw= =SHN1 -----END PGP SIGNATURE----- --6Nf4BQhwR1q6hzt3--