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

Mehdi Amini via llvm-dev llvm-dev at lists.llvm.org
Tue Jul 26 09:59:10 PDT 2016


> On Jul 26, 2016, at 9:46 AM, Tim Northover <t.p.northover at gmail.com> wrote:
> 
> On 26 July 2016 at 09:36, Mehdi Amini via llvm-dev
> <llvm-dev at lists.llvm.org> wrote:
>> It is possible to continue adding the equivalent of git-svn-id in the commit message if it is what you’re referring to.
> 
> Wouldn't that rely on people installing the correct post-commit (pre?)
> hooks locally?

I’ll clarify: with Justin’s monorepo proposal we would have a single repository with all the llvm-projects inside.
There is a natural cross-project synchronization since we share the repository.

While this repository would be the “source-of-truth” like SVN is today, and be read-write for developers, we would be able to continue to update the separate existing read-only repositories (http://llvm.org/git/llvm.git <http://llvm.org/git/llvm.git> http://llvm.org/git/clang.git <http://llvm.org/git/clang.git> etc.).

When exporting a commit from the monorepo to one of the read-only repository, it should be possible to generate a “git-svn-id”-like the same way we’re doing when exporting from SVN today.

Make sense?

— 
Mehdi

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160726/24d662de/attachment.html>


More information about the llvm-dev mailing list