Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Dec 2020 15:05:41 -0700
From:      Warner Losh <imp@bsdimp.com>
To:        Brandon Bergren <bdragon@freebsd.org>
Cc:        "Rodney W. Grimes" <rgrimes@freebsd.org>, Glen Barber <gjb@freebsd.org>,  src-committers <src-committers@freebsd.org>, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org
Subject:   Re: git: 70e64ba44941 - main - release.sh: Update GITROOT URL
Message-ID:  <CANCZdfrWt_54MOvz55vLSRt_QdL8nE3=kdA2ymp-8ZwN1y6-Ew@mail.gmail.com>
In-Reply-To: <f6dea68e-8834-4fe6-b7f8-c808a831c717@www.fastmail.com>
References:  <202012302131.0BULVETD083618@gndrsh.dnsmgr.net> <f6dea68e-8834-4fe6-b7f8-c808a831c717@www.fastmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Dec 30, 2020 at 2:54 PM Brandon Bergren <bdragon@freebsd.org> wrote:

> On Wed, Dec 30, 2020, at 3:31 PM, Rodney W. Grimes wrote:
> > > > And no new mechanism in place to replace it?  So, we have
> > > > no versioning of files in the final product any more?
> > > >
> > >
> > > No. We will not.
> >
> > That I take a very hard line against, that is IMHO a very big mistake.
> >
>
> Git has one main context where continuing to support expansion might make
> sense:
>
> When using git archive to create a tarball of a tree (for rolling a
> release or whatever), if the .gitattributes file has "export-subst" set for
> a file, it will do expansion at that time.
>
> However, I think it uses $Format$ instead of being able to define custom
> tags, so it's less convenient than $FreeBSD$ was.
>

And it exports the git object hash, not the commit hash, which is kinda
useless without access to the repo. Even if we could get $FreeBSD$ to
expand, it expands to something you need the git tree to do anything with.
There's the git smudge extension which does this, but it's tedious and
cumbersome to use, and the information it preserves is at best indirect.

Warner



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfrWt_54MOvz55vLSRt_QdL8nE3=kdA2ymp-8ZwN1y6-Ew>