Mehdi Amini via llvm-dev
2016-Jul-26 18:00 UTC
[llvm-dev] [RFC] One or many git repositories?
> On Jul 26, 2016, at 10:59 AM, Renato Golin <renato.golin at linaro.org> wrote: > > On 26 July 2016 at 18:36, Mehdi Amini <mehdi.amini at apple.com> wrote: >> Yes, just like we do when exporting from SVN today I think. >> (The script might be slightly less complex since git is natively handling the export we’re doing today). > > And this would be on a similar level of complexity than sub-modules > update (just the script), I assume. Some hook/webhook that can delay > because the "source-of-truth" is somewhere else. > > The better thing in this scenario is that the "source-of-truth" is > also the "well organised one", whereas in the sub-modules it's the > other way round.You still missed the *major* point: the process can be asynchronous and be deterministic. — Mehdi
Renato Golin via llvm-dev
2016-Jul-26 18:10 UTC
[llvm-dev] [RFC] One or many git repositories?
On 26 July 2016 at 19:00, Mehdi Amini <mehdi.amini at apple.com> wrote:> You still missed the *major* point: the process can be asynchronous and be deterministic.I didn't miss the asynchronous, but I did miss why the sub-modules wouldn't be deterministic, too.
Mehdi Amini via llvm-dev
2016-Jul-26 18:14 UTC
[llvm-dev] [RFC] One or many git repositories?
> On Jul 26, 2016, at 11:10 AM, Renato Golin <renato.golin at linaro.org> wrote: > > On 26 July 2016 at 19:00, Mehdi Amini <mehdi.amini at apple.com> wrote: >> You still missed the *major* point: the process can be asynchronous and be deterministic. > > I didn't miss the asynchronous, but I did miss why the sub-modules > wouldn't be deterministic, too.I mentioned it over and over in the “submodules proposal”: AFAIK there is no good algorithm* that would be able to rebuild the "umbrella repo from scratch” and get the same result as what we’d have with “on the fly” updates. * without server-side hooks that would add a git-note with the server time for instance. — Mehdi