From owner-freebsd-git@freebsd.org Mon Jun 24 20:57:28 2019 Return-Path: Delivered-To: freebsd-git@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E457115D95D4 for ; Mon, 24 Jun 2019 20:57:27 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Received: from mail-qk1-x741.google.com (mail-qk1-x741.google.com [IPv6:2607:f8b0:4864:20::741]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2607188887 for ; Mon, 24 Jun 2019 20:57:27 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Received: by mail-qk1-x741.google.com with SMTP id p144so10855942qke.11 for ; Mon, 24 Jun 2019 13:57:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hardenedbsd.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=ulujqlVxO2BeeMwloNfzBqjAt0FSc18izuwD5/Yrn5Y=; b=bj+3sSl9UbWX5vuIm9hRvE7pW9xeKdtwttIa1IQtw7t4pc+uHmhZMImi0FJY/dmhXc IghEMHbekNoeSVsyPZylAYaPuiB7ImYcNfPkAPlOWE8QnybIJa61YdGXnX9bAizQ46y5 jY0yYLPpNEkMFmRPrAZ/40D+5FikWFPYkArTrjDP4+IJ4+zRZohkxgvSZE/7UR9ByYQ2 2Fdd9psJSQfAN+zKgXgC1fabCCBzT6wOsctYs+fX98BbOP5VgSgiTSzQu33Lk/MUPRBs /9xYfrj3QZkitHODX7NAhlrIKG0z2MpD7nYVB/mjyPXSQTKLSmJUHhrMX6nd3M/TrvoW 7RXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=ulujqlVxO2BeeMwloNfzBqjAt0FSc18izuwD5/Yrn5Y=; b=OS5LXi2IGsTkVdQBfPLBjeYn4xr5k+PGhE5myy79adGWmG1BsDLSnY075VYTO4pvg5 f3EpOrWn5GnXbaNqlDYkr7bPjGLTMx7i8jODk9qoLl9qlrMwxo+9TdJHzzNYCc47TK/q gFU1GY1aNLzc4WSLaNPJWpUK/4uRcDVZrCZOmKNLdpH68f3pCdk52rT5s9oPOtKPQMdi TIv0qbvKcg2neVyZlUs3aPRtsQw1jhoJr7KOJx/c397GiVvnMSibLxgSwO9gMU6D5amE 7+9Vs7ySCx1V1P+Fls0goh2OS93S8MRID9Zih4dr10feTMFjdWjCDEg/VBSYQdUXkL7K 1+4Q== X-Gm-Message-State: APjAAAXKG3waJyX5Z0RlXsLij2rSER8C0PF5KN4yoaukqq7TgOE7NTzP LHrWDrj5UslbhBwJeC+s+HVaxjBWxGw= X-Google-Smtp-Source: APXvYqxFkVUSi2RY5MmKndeflM7bdQ1vHW/F8JzadWwjKIC45gK8VpxZctcjUgxVK/wG436J8aDSUA== X-Received: by 2002:a37:2d86:: with SMTP id t128mr19009230qkh.429.1561409845257; Mon, 24 Jun 2019 13:57:25 -0700 (PDT) Received: from mutt-hbsd ([151.196.118.239]) by smtp.gmail.com with ESMTPSA id z50sm8310768qtz.36.2019.06.24.13.57.24 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 24 Jun 2019 13:57:24 -0700 (PDT) Date: Mon, 24 Jun 2019 16:57:24 -0400 From: Shawn Webb To: Ed Maste Cc: freebsd-git@freebsd.org Subject: Re: Speeding up slower Git operations Message-ID: <20190624205724.4c27vdvgwrlfz3uu@mutt-hbsd> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="lctob7u6ntdzmua6" Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD mutt-hbsd 13.0-CURRENT-HBSD FreeBSD 13.0-CURRENT-HBSD X-PGP-Key: http://pgp.mit.edu/pks/lookup?op=vindex&search=0xFF2E67A277F8E1FA User-Agent: NeoMutt/20180716 X-Rspamd-Queue-Id: 2607188887 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=hardenedbsd.org header.s=google header.b=bj+3sSl9; spf=pass (mx1.freebsd.org: domain of shawn.webb@hardenedbsd.org designates 2607:f8b0:4864:20::741 as permitted sender) smtp.mailfrom=shawn.webb@hardenedbsd.org X-Spamd-Result: default: False [-5.84 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; RCVD_COUNT_THREE(0.00)[3]; MX_GOOD(-0.01)[cached: alt1.aspmx.l.google.com]; DKIM_TRACE(0.00)[hardenedbsd.org:+]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.99)[-0.993,0]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; IP_SCORE(-0.73)[ip: (1.88), ipnet: 2607:f8b0::/32(-3.15), asn: 15169(-2.33), country: US(-0.06)]; RECEIVED_SPAMHAUS_PBL(0.00)[239.118.196.151.zen.spamhaus.org : 127.0.0.10]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[hardenedbsd.org:s=google]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-git@freebsd.org]; DMARC_NA(0.00)[hardenedbsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[1.4.7.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; MID_RHS_NOT_FQDN(0.50)[] X-BeenThere: freebsd-git@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion of git use in the FreeBSD project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Jun 2019 20:57:28 -0000 --lctob7u6ntdzmua6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jun 24, 2019 at 12:46:41PM -0400, Ed Maste wrote: > On Tue, 28 May 2019 at 08:18, Ed Maste wrote: > > > > Today for builds from git we include in uname the corresponding SVN > > version, the git hash, and the branch - e.g. a test machine here > > reports "r333291+95e9f145d658(HEAD-TESTING)". I'm not sure what the > > best way to report it would be, but in the absence of svn we could > > indicate something like > > "95e9f145d658(HEAD-TESTING) c251421". >=20 > This idea is implemented in review D20462, > https://reviews.freebsd.org/D20462 >=20 > Here's an example from a test machine of mine: > # uname -a > FreeBSD test 13.0-CURRENT FreeBSD 13.0-CURRENT > 322839cffdb-c260903(wipbsd.20190326) GENERIC amd64 Is there any real use for the monotonically increasing version number in git? For example, can I go from c27 to git commit hash? Pardon my naive tone. This is a part of git I don't know well. Thanks, --=20 Shawn Webb Cofounder / Security Engineer HardenedBSD Tor-ified Signal: +1 443-546-8752 Tor+XMPP+OTR: lattera@is.a.hacker.sx GPG Key ID: 0xFF2E67A277F8E1FA GPG Key Fingerprint: D206 BB45 15E0 9C49 0CF9 3633 C85B 0AF8 AB23 0FB2 --lctob7u6ntdzmua6 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEA6TL67gupaZ9nzhT/y5nonf44foFAl0ROS4ACgkQ/y5nonf4 4freUhAAga/LJI5Te6ddJvHHp7DLJlBGd0sExQ7XHDXSLIyuJHqTIroeEpaUpF2o L2UtDKk6NAHitBPU1nMFPqUv8lOl4TZY3DBQ8OKH9wP5Wc/zmhWIpaMayI7j/M9x fkijiNT6NVeTlCr9v0MbJ6RDA7wNtkUnSw3RBnNfq/ixeqL7ARyTMIiZcziQMJKB W04V3fTIgzkMx3839mu0W168LpiFIOkj2/l+TPuCQdtDuR0pmGDRZdV7H5IGhNUk aTk/ZU1gsdINcGwXC0a0JcAkjaLV5kXWFH57FUUICAairj4izvb6Ingh4F3gTL5L 6d4BAvUL5plu1DegeQj7T8SEHwWHd0RbJ/tArJTvN28NTK7Z3li0jC5mjwvphnrv CwVrPjrBKobin6CRjIxLnuP2fjr0FcvFD+Gaua4BE31BvW72Y3ZwUMg/Drvj8Ar6 Ndp18srBDwq5LLUTjuzsfUAIb0GT2wGoHux70p0BfIt9/6O2oX+1znv89wi5ofN5 YIYjdVMQQM6IvRDd1UkdlLfWB/zWpLvtAorGvI8gwYHZ91sGAD7WfuHZ7zgCiBPC dyMjwaNd/wiwPt17V/Nl6vKiuceUC9sLdFxNUfaVxQP4GfR3IaiCiy7Gi7IAWgLV pSgOoQP68lSm5R98q2LTQ2uIo0p6Dl/1aNY/FxHvVaCKNsD8Iq4= =5m6X -----END PGP SIGNATURE----- --lctob7u6ntdzmua6--