From owner-freebsd-git@freebsd.org Mon Jun 24 20:47:12 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 31E5715D9371 for ; Mon, 24 Jun 2019 20:47:12 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: from mail-io1-f66.google.com (mail-io1-f66.google.com [209.85.166.66]) (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 3E3AE88379 for ; Mon, 24 Jun 2019 20:47:11 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: by mail-io1-f66.google.com with SMTP id s7so2009337iob.11 for ; Mon, 24 Jun 2019 13:47:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:cc; bh=85PAzF/JMXT9Rcj7qEATYXK7l5GOG+IyYm2/FT2VlCs=; b=fCLYJORgEZs6oJHDxDINvHi+6RFyX4HHNuI8EEFuDn0yoJPofXmSkEVGei4U74+N5s 3sy/2lBkP4HYScJntRYS3mr7lpqiNADhs+AZ8tXXyZhjNcUt7awkR8KY9gUz4iHP4M8P rrjTz0ob9uhYNnwAHG685XcIhknML3HVFJgMVvDJGTgdhrF4chlUIYnZAf9Qh4aM8aZn hW34wTJ7pJc5ShzowdqZuxuL9oShgaqQwzEKZNQWV96QefLD9UwIHher//oAcBfLT2eB P9KPWTPVfRHqg3p2/ULWDcVQxhv68xHd6PFY98V08EvkyFXOiPHhGIoqLWsDEaaxGlJr q7Og== X-Gm-Message-State: APjAAAVmD97KbsTnnjnnzrbncrtkC9a5Rzymkt96G8lqe26xfl6T0gu3 5JrKoGD5L0Jxj49XEr444smIJsmJtd3piEynTqsh1jcW X-Google-Smtp-Source: APXvYqyQRdvFIJKAhZACbfiUdrHH7pptJwqux5pcnhbiZJOnui18YOegHd4uwDFZEGIbYKxoXZwzlwqox6LGH7pFpaQ= X-Received: by 2002:a6b:b497:: with SMTP id d145mr62985455iof.17.1561409229149; Mon, 24 Jun 2019 13:47:09 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Ed Maste Date: Mon, 24 Jun 2019 12:46:41 -0400 Message-ID: Subject: Re: Speeding up slower Git operations Cc: freebsd-git@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 3E3AE88379 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of carpeddiem@gmail.com designates 209.85.166.66 as permitted sender) smtp.mailfrom=carpeddiem@gmail.com X-Spamd-Result: default: False [-2.13 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.990,0]; RCVD_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-git@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; MIME_TRACE(0.00)[0:+]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; NEURAL_HAM_SHORT(-0.96)[-0.963,0]; DMARC_NA(0.00)[freebsd.org]; MISSING_TO(2.00)[]; RCVD_TLS_LAST(0.00)[]; FORGED_SENDER(0.30)[emaste@freebsd.org,carpeddiem@gmail.com]; RCVD_IN_DNSWL_NONE(0.00)[66.166.85.209.list.dnswl.org : 127.0.5.0]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[emaste@freebsd.org,carpeddiem@gmail.com]; IP_SCORE(-1.17)[ipnet: 209.85.128.0/17(-3.44), asn: 15169(-2.33), country: US(-0.06)]; TO_DOM_EQ_FROM_DOM(0.00)[] 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:47:12 -0000 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". 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 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-- From owner-freebsd-git@freebsd.org Mon Jun 24 23:22:00 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 D99D215DBDB0 for ; Mon, 24 Jun 2019 23:21:59 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: from mail-io1-f68.google.com (mail-io1-f68.google.com [209.85.166.68]) (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 6E60C8D1DC for ; Mon, 24 Jun 2019 23:21:58 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: by mail-io1-f68.google.com with SMTP id m24so2123242ioo.2 for ; Mon, 24 Jun 2019 16:21:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=oKz629NfsrpBZUXVFGsrZ1XHvoQesE616FDxxywSnrA=; b=s+Cf2t2thDyjFMZq7qJnN45KxdD5srKypIG7E4W8XlFjpb/w/fpx+Cl3sQMfOLGLCw lYbK4f8kQlnb3wb+5mfJ2FMINDIlz3H9bCkCCnwpN/Dxh9KePPXwSm5arD6Fe6lcqK0s A/neFaCxQYAyAuhQtD8rWe+w6tM1YWP6x4oRfaKshC20n0pnUI1jeQoUwU6al6uuTEDo giF3Ji8Ik4uLoa1YAWpFyuf/RHCXKZ+OhUAaYzwORO7KhiY/rILZldYqQ7JkyYZdCSh6 /mtWxH42AwnJk/3tftoXBR5z4PSbIdwHzWBHKfhqb0ZwH0eeF8a74ibxb/nmcABrzJ9P 7/rg== X-Gm-Message-State: APjAAAWJjtfNbO3q3OYLwsGehxiwh5GDyUQh2gVXKnnhG42szfJhq6sT 32OmPjsusYKTseriZkT0CyrOiiok47OMd5A7YxI= X-Google-Smtp-Source: APXvYqwFehrGc/dLQGGgowwoEwf/waCv/ccmrAsIect9uXN75weP/4N80VlJXnjHI0ohmczCYqJyWqTzgGSU3PyGWeQ= X-Received: by 2002:a02:aa0d:: with SMTP id r13mr27383475jam.129.1561418516633; Mon, 24 Jun 2019 16:21:56 -0700 (PDT) MIME-Version: 1.0 References: <20190624205724.4c27vdvgwrlfz3uu@mutt-hbsd> In-Reply-To: <20190624205724.4c27vdvgwrlfz3uu@mutt-hbsd> From: Ed Maste Date: Mon, 24 Jun 2019 19:21:41 -0400 Message-ID: Subject: Re: Speeding up slower Git operations To: Shawn Webb Cc: freebsd-git@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 6E60C8D1DC X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of carpeddiem@gmail.com designates 209.85.166.68 as permitted sender) smtp.mailfrom=carpeddiem@gmail.com X-Spamd-Result: default: False [-4.70 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-git@freebsd.org]; DMARC_NA(0.00)[freebsd.org]; MIME_TRACE(0.00)[0:+]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[68.166.85.209.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_SHORT(-0.86)[-0.855,0]; RCVD_TLS_LAST(0.00)[]; FORGED_SENDER(0.30)[emaste@freebsd.org,carpeddiem@gmail.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[68.166.85.209.rep.mailspike.net : 127.0.0.17]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[emaste@freebsd.org,carpeddiem@gmail.com]; IP_SCORE(-1.83)[ip: (-3.33), ipnet: 209.85.128.0/17(-3.44), asn: 15169(-2.33), country: US(-0.06)]; RCVD_COUNT_TWO(0.00)[2] 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:22:00 -0000 On Mon, 24 Jun 2019 at 16:57, Shawn Webb wrote: > > 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? 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. 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?" 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--