[llvm-dev] [RFC] One or many git repositories?

Sanjoy Das via llvm-dev llvm-dev at lists.llvm.org
Tue Jul 26 11:28:55 PDT 2016


Hi all,

Robinson, Paul via llvm-dev wrote:
> Speaking only for myself, the problem you suggest simply does not exist.
> Or another way of saying it:  I already can't work the way you imagine.
> Our downstream repo is fed by the upstream projects, but it's simply
> impossible to directly commit work from there into upstream.  I create
> a patch based on local work, apply it to a separate "vanilla" upstream
> checkout and commit from there.  The upstream version of the patch
> cycles back into our repo and we use it to supersede the local version.
> All done.  Git or svn, makes no difference.  Monorepo or submodules,
> makes no difference.  Those are all implementation details.
>
> Even if it were possible, I would still keep my upstream checkout
> separate just as a safety measure, to keep from sending private stuff
> upstream by accident.

Just FYI, this is our (Azul's) workflow as well, and for similar
reasons.

-- Sanjoy


More information about the llvm-dev mailing list