From owner-freebsd-current@freebsd.org Mon Sep 21 22:31:39 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 7E3BA3FF0B9 for ; Mon, 21 Sep 2020 22:31:39 +0000 (UTC) (envelope-from steffen@sdaoden.eu) Received: from sdaoden.eu (sdaoden.eu [217.144.132.164]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4BwK163ZNrz42rM; Mon, 21 Sep 2020 22:31:38 +0000 (UTC) (envelope-from steffen@sdaoden.eu) Received: by sdaoden.eu (Postfix, from userid 1000) id C86F816057; Tue, 22 Sep 2020 00:31:36 +0200 (CEST) Date: Tue, 22 Sep 2020 00:31:36 +0200 From: Steffen Nurpmeso To: Warner Losh Cc: Lev Serebryakov , Bakul Shah , Zaphod Beeblebrox , Chris , Kristof Provost , FreeBSD Current Subject: Re: Plans for git Message-ID: <20200921223136.SxZL3%steffen@sdaoden.eu> In-Reply-To: References: <20200902063136.GA47543@troutmask.apl.washington.edu> <20200902164706.GA49777@troutmask.apl.washington.edu> <5c89b4d27281f5dfffc3252a90013b0ac6c763d7.camel@freebsd.org> <5c832482-b2bc-47e4-8762-8f5a886d5f11@www.fastmail.com> <68585ca4-5ca4-40d3-b2f4-67ff3b35b6ae@www.fastmail.com> <0be2ae57d1c58e2091f4cc4484731df0@bsdforge.com> <967D73EA-880E-413D-B748-62A406C46524@FreeBSD.org> <9f89dc553e7d7b0884c2862329bdfeae@bsdforge.com> <23e7fc1c-6769-ceaf-4089-46e5cc575c20@FreeBSD.org> <20200921205430.Q-2F-%steffen@sdaoden.eu> Mail-Followup-To: Warner Losh , Lev Serebryakov , Bakul Shah , Zaphod Beeblebrox , Chris , Kristof Provost , FreeBSD Current User-Agent: s-nail v14.9.19 OpenPGP: id=EE19E1C1F2F7054F8D3954D8308964B51883A0DD; url=https://ftp.sdaoden.eu/steffen.asc; preference=signencrypt BlahBlahBlah: Any stupid boy can crush a beetle. But all the professors in the world can make no bugs. X-Rspamd-Queue-Id: 4BwK163ZNrz42rM X-Spamd-Bar: - X-Spamd-Result: default: False [-1.43 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.01)[-1.013]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+a:c]; NEURAL_HAM_LONG(-1.07)[-1.072]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[sdaoden.eu]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-0.04)[-0.042]; RCPT_COUNT_SEVEN(0.00)[7]; MID_CONTAINS_FROM(1.00)[]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:15987, ipnet:217.144.128.0/20, country:DE]; FREEMAIL_CC(0.00)[freebsd.org,iitbombay.org,gmail.com,bsdforge.com]; MAILMAN_DEST(0.00)[freebsd-current] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.33 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: Mon, 21 Sep 2020 22:31:39 -0000 Warner Losh wrote in : |On Mon, Sep 21, 2020 at 2:55 PM Steffen Nurpmeso \ |wrote: |> Lev Serebryakov wrote in |> <23e7fc1c-6769-ceaf-4089-46e5cc575c20@FreeBSD.org>: |>|On 19.09.2020 19:05, Bakul Shah wrote: |>|>> These are the main ones. The three down sides are lack of $FreeBSD$ \ |>|>> support |>|>> and tags in general. |>|> |>|> Can a git hook be used for this? |>| |>|git filters could be used for that, problem is it should be local config\ |>|uration. You could not configure filters in clones automatically :-( |> |> I do not think you can do that. Once i switched to git (2011 or |> a bit before) i even looked around for this, because i have been |> educated by BSD and used such tags everywhere, and found a thread |> with the Linus from where the elks live regarding this topic. |> I guess that $SHA-1$ git (supported by git by then) is the outcome |> of this thread, offered as a compromise. That mail thread exists. |> | |It's documented to be the hash of the blob, not the hash of the commit., |which makes it basically useless for our purposes... Never used that. Even if it requires additional tooling and/or the repository, whereas the BSD way is that you can take such a freely licensed file, include it somewhere, and strings(1) etc. still gives you an immediately human graspable output. I mean, if the project agrees by policy then of course the master copy at freebsd.org can expand such things when commits are merged. There are now also many more hooks available, in fact i have no idea of what i am talking about ^_^ --steffen | |Der Kragenbaer, The moon bear, |der holt sich munter he cheerfully and one by one |einen nach dem anderen runter wa.ks himself off |(By Robert Gernhardt)