Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Sep 2022 10:21:54 -0700
From:      David Wolfskill <david@catwhisker.org>
To:        stable@freebsd.org
Subject:   stable/12 & recent change to newvers.sh
Message-ID:  <YydTsgqQJgrWPyTf@albert.catwhisker.org>

next in thread | raw e-mail | index | archive | help

--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 <michael.osipov@siemens.com>	2021-01-05 11:48:39 +0100
committer	Ed Maste <emaste@FreeBSD.org>	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 <michael.osipov@siemens.com>	2021-01-05 11:48:39 +0100
committer	Ulrich Sp=F6rlein <uqs@FreeBSD.org>	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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YydTsgqQJgrWPyTf>