Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Apr 2021 13:56:03 -0400
From:      Ed Maste <emaste@freebsd.org>
To:        Warner Losh <imp@bsdimp.com>
Cc:        Martin Matuska <mm@freebsd.org>, freebsd-git <freebsd-git@freebsd.org>
Subject:   Re: OpenZFS branch tracking policy
Message-ID:  <CAPyFy2DS=nsE3-JQdqQC797xQhAiBACkuyA%2BcxkcRY0yeB_6=w@mail.gmail.com>
In-Reply-To: <CANCZdfopOxm-HTYkVPHkEweHw-F%2BA9mk3Vv26x4t3MEAVEd2gQ@mail.gmail.com>
References:  <21c7313e-315c-ec48-9437-e0a3d4ec14d2@FreeBSD.org> <CANCZdfopOxm-HTYkVPHkEweHw-F%2BA9mk3Vv26x4t3MEAVEd2gQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 2 Apr 2021 at 11:50, Warner Losh <imp@bsdimp.com> wrote:
>
> We'd always hoped that we'd be able to do subtree merges from upstreams
> that use git into FreeBSD. The big worry, though, was that this would
> needless bloat the repo with a lot of history. We don't want, for example,
> all of LLVM's history in the tree. We'd always anticipated that there'd be
> some things we'd just accept the history for, since it is similar in
> character to the vendor branches (though of course a bit more).

Note that if we do want to avoid bringing in the full history `git
subtree merge` supports a `--squash` option. This brings in the set of
upstream changes as a single commit, without bringing along the
associated history. We will need to do more experimentation to confirm
that the full process, including bootstrapping, will work as we want.
Assuming this all works it should allow us to forgo the use of a
FreeBSD-specific vendor branch in src.

We've discussed mirroring any such 3rd-party source in some
FreeBSD-controlled repository. This would allow the project to retain
a full copy of the history, but avoid bloating src with it.

I agree with Warner that we may want a different policy (full history
or snapshots) for different contrib sources.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPyFy2DS=nsE3-JQdqQC797xQhAiBACkuyA%2BcxkcRY0yeB_6=w>