From owner-freebsd-git@freebsd.org Mon Jun 24 23:38:09 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 1053315DC128 for ; Mon, 24 Jun 2019 23:38:09 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Received: from mail-qt1-x843.google.com (mail-qt1-x843.google.com [IPv6:2607:f8b0:4864:20::843]) (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 EE4B58D82B for ; Mon, 24 Jun 2019 23:38:07 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Received: by mail-qt1-x843.google.com with SMTP id y57so16480055qtk.4 for ; Mon, 24 Jun 2019 16:38:07 -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=I0O43iecRwfj71jmg2nlzcrdUHg1mbPPATcllPKxvHM=; b=GlGQZSDyRrvUvDsazlFaoK0wznbwKh567cjj+xnbnPjEDYKhyotVeox369h8K041Nf W3KEDbdKAdvzH8u5tnfUHAsLCCRLgb3ng3ZVK4+pGvh4wN76I7esrX9HdfRmvK5qpyNm cVAwG7TEfIJcFtNHV1Z/atqFyMhbuFfslltYXveqMAli3zwEqkjc6xhrwgKw75KOgK/s wwvchblRFaszhhyd7mg5ewq7fNqAFScTnhSY8hJw1Qh9hGDhClSzH+amwu0KLujJ7xI5 g4XRxeuGQc+qcCDgv1xJOa+jZMavR/azyBGWe/0LG8sis5nqjDd0EEkgqKuhAEgyZBat Uj4Q== 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=I0O43iecRwfj71jmg2nlzcrdUHg1mbPPATcllPKxvHM=; b=XtTkdsKhkD4vrVkvytyX4TtfsWVV1qekILHjYdYFckBwr51S1ADPThljwcYfU/yXGt dYuhvEQRfLGU7uEIrtAHcDOsXAuOO6BpoG2UrJ+VxUj+Fd2yjocqCYXt9x2BDGj0e+do wrdiGJI14jAp8ql/uqGJGP5MMkjcN7FgaCUNJnaOImvTH9NJGPknPht4KkrwbKYwX2zS gIlZd7YQ7MWDww7G3qz1AgUzXGE122C+KHWdjVIdozHJyiR3/rhd94hAvfc4LF/9yVTo DeB9n/n9Mvs5Q9BAmYh+Iv8SLSADroOBYntKf9VesytQWAgzDSBGjmzMxwLfV6b2pH2y jYSg== X-Gm-Message-State: APjAAAVVJYtdOS33jXllG4TBgrFc5+JeHpEdFouNcJU2CaifN4GUVv9V W57Gv+0gPSJWHJJ+xI6kNyraFQ== X-Google-Smtp-Source: APXvYqxfzYHayoQHsQKIIkJTEoW8xN+xWR31Joj9OpjDIZnZaBJRDQKe7BkLCCmjRUt3WGF6bcjgVw== X-Received: by 2002:ac8:395b:: with SMTP id t27mr135240104qtb.115.1561419487364; Mon, 24 Jun 2019 16:38:07 -0700 (PDT) Received: from mutt-hbsd (c-69-251-68-137.hsd1.md.comcast.net. [69.251.68.137]) by smtp.gmail.com with ESMTPSA id n3sm6371364qkk.54.2019.06.24.16.38.06 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 24 Jun 2019 16:38:06 -0700 (PDT) Date: Mon, 24 Jun 2019 19:38:05 -0400 From: Shawn Webb To: Ed Maste Cc: freebsd-git@freebsd.org Subject: Re: Speeding up slower Git operations Message-ID: <20190624233805.sx6cb3zwi6e2f3t6@mutt-hbsd> References: <20190624205724.4c27vdvgwrlfz3uu@mutt-hbsd> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="t5y5wibdrz5aj64r" 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: EE4B58D82B X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=hardenedbsd.org header.s=google header.b=GlGQZSDy; spf=pass (mx1.freebsd.org: domain of shawn.webb@hardenedbsd.org designates 2607:f8b0:4864:20::843 as permitted sender) smtp.mailfrom=shawn.webb@hardenedbsd.org X-Spamd-Result: default: False [-5.44 / 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]; DKIM_TRACE(0.00)[hardenedbsd.org:+]; RCPT_COUNT_TWO(0.00)[2]; MX_GOOD(-0.01)[alt1.aspmx.l.google.com,aspmx.l.google.com,aspmx2.googlemail.com,alt2.aspmx.l.google.com,aspmx3.googlemail.com]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_SHORT(-0.58)[-0.576,0]; 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.76)[ip: (1.75), ipnet: 2607:f8b0::/32(-3.15), asn: 15169(-2.33), country: US(-0.06)]; 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)[3.4.8.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 23:38:09 -0000 --t5y5wibdrz5aj64r Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jun 24, 2019 at 07:21:41PM -0400, Ed Maste wrote: > On Mon, 24 Jun 2019 at 16:57, Shawn Webb wro= te: > > > > On Mon, Jun 24, 2019 at 12:46:41PM -0400, Ed Maste wrote: > > > > > > This idea is implemented in review D20462, > > > https://reviews.freebsd.org/D20462 > > > > > > 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? >=20 > Not really / easily; there's no built-in tooling to find the has that > corresponds to c260903, although it should be possible to write a > script to do so. >=20 > Really my goal in D20462 is just providing a monotonically increasing > number that can serve as a proxy for "is my checkout before/after a > specific change?" Yup. I hope I didn't infer "is this even useful?" but rather brainstorm "how can we make use of it?" 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 --t5y5wibdrz5aj64r Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEA6TL67gupaZ9nzhT/y5nonf44foFAl0RXtgACgkQ/y5nonf4 4foBgBAAjQfrmhI1UTGfNeZyq9wwAH0fiw2ecGMzbTrBfjWluJF8PdFAXRLYvYT2 VWA1Go5mRPpODpTqY8fq3jhdHGK0LH1K9Z5Wj/DMa8LnozJvf7xQBWeu41YaIjZA umxyAeehrA4rYun5zZJ8FLizaVwRpUQXAHlKxkclNu+R9JgW4FHlF5XwMj8+u3TJ OfKHR3WY5o4ej9B3JhZt/DZxHFbVO2tVkzQjW8bGAlRmVy+RdTN3MqGSY3/IoCuc EtUvx5LPPdZOTgXaYiH1uwtpDp1wFcj9BqrGajuLqNfKEXmQNOjqXgKIh7RGJIX+ 3kvDsV5jnklbH1W+x5WD1rGf89kLz0XBiii4kUgV7CeJHfRrl6O4IFdmUAXINa7H PM85HrxmxwqYvF7A22+yGlU7nZoMO/UX+LQQABt3t3V3NFQP7tCNmgSgazYjduqc c35uT+HALUD2syQ5A/BvkNOQb0t8M27c1Dn3JPK+aOOyN2gKfmpgMGQfB613IZJ8 M+6hnd5W6o0DfA82tzNEu3fSbSta6Um+Wtdh+ko1puK3bg/DisrLwRusOXYE+17R hATE5KkS3Frw1OUWaYlc+VTlQ4tlMiE/jJC2BgrOXfgPz0d8FwqD27VdcBdl8Uay vwVroqWAxVnmiSSkayJf+U2uzxGD8iRVV1c9CcETJ5Dq3O9d37w= =Xpvg -----END PGP SIGNATURE----- --t5y5wibdrz5aj64r--