From owner-freebsd-current@freebsd.org Thu Dec 24 15:28:10 2020 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 259A84C875E for ; Thu, 24 Dec 2020 15:28:10 +0000 (UTC) (envelope-from grarpamp@gmail.com) Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com [IPv6:2a00:1450:4864:20::62c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 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 4D1v951d7dz4gSn for ; Thu, 24 Dec 2020 15:28:08 +0000 (UTC) (envelope-from grarpamp@gmail.com) Received: by mail-ej1-x62c.google.com with SMTP id jx16so3678869ejb.10 for ; Thu, 24 Dec 2020 07:28:08 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=gdkvkyg+GsZanSIojLw7X86BO7MXfpiQT2Q0eiujlNI=; b=Frqt+e2DlvMmPypMOnwNDdBE9LeDuAIHVJd/HeRHoCM1wjMThTrAuwNJiO1IKcpBKJ neX6U0czn0IY0Uh9dTx1dYrrwxL/KFBzDFLsPrMZru8JFmCCD94RHQCrPWnAzyONFl8X 7hbq3yfiGjmPzMh53/ewOtWCfywJNtlYHovsC/qM8G/SnL7Gdgkn4CdSco4i4RNBzi97 vsy6Xt4qM2ysbX04KtQZfXvLHatYK0JvEeL9aYGfTKND7nMsXUKo1qQ59Ok5pzaGHMHI wy9PVt5kzEfQS8PoL898D8ZKv8hrUESfWPJS+cQMFnd4jXcD+00hKVUEsEHzZk0xDWbE z36g== X-Gm-Message-State: AOAM532m/E3sbVVFZeJr1GXkDQ7wYbIG6dsu3N/L9tV8jyj0iUPBNiyP GfAuaQUKCUj0vP7v+CIvpdYniavJMA8cXAdfMP84MDLyCVWNnA== X-Google-Smtp-Source: ABdhPJwKjQLqYEkTNfAGPH1fXlY7BXNiuX5SYCOdnKPNuvIxcok2YePdvP93wSK1DowhZB0CYda8d6PGzWkkeCS0Wxc= X-Received: by 2002:a17:906:b002:: with SMTP id v2mr28768718ejy.531.1608823687428; Thu, 24 Dec 2020 07:28:07 -0800 (PST) MIME-Version: 1.0 Received: by 2002:a54:3d8d:0:0:0:0:0 with HTTP; Thu, 24 Dec 2020 07:28:06 -0800 (PST) In-Reply-To: <54116640-E6A1-4C53-9D7E-4384F942628E@ellael.org> References: <54116640-E6A1-4C53-9D7E-4384F942628E@ellael.org> From: grarpamp Date: Thu, 24 Dec 2020 10:28:06 -0500 Message-ID: Subject: Re: git and the loss of revision numbers To: freebsd-current@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4D1v951d7dz4gSn X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::62c:from]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::62c:from:127.0.2.255]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::62c:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Dec 2020 15:28:10 -0000 > loss of continuously increasing revision numbers git rev-list --count HEAD git describe --tags / parent Plus a bunch of similar ways to do it, from different points, in different formats, search internet for them all... git revision version numbering... Some deploy structured metadata in tag schemes, use hooks, files, etc but gets messy and is not just a simple proper read-only query. > date of the commit besides its hash being reported > whether to recompile Recompilation means users have the source cloned. Source means users can use ways like git log git show etc Which means users have date, and a in log subsequent to their last compiled hash etc. So it's not a problem beyond a few trivial steps or shell parsing function to query and compare on whatever particular metadata a person may like, to what they already know they have. The handbook will have docs on some ways.