[llvm-dev] Git Transition status?

via llvm-dev llvm-dev at lists.llvm.org
Thu Feb 23 19:24:20 PST 2017


Sorry I'm dredging up an old discussion.

FWIW, for converting our (extremely long and complex history) compiler
to git, I found svn-all-fast-export to be very useful, even essential.
Its rule structure was flexible enough to handle a lot of corner cases
and weird history.

I also developed several thousands of lines of conversion scripts based
around svn-all-fast-export and git_fast_filter (as well as some fixes
and enhancements to the latter).  Most of that involved taking
completely independent SVN repositories and weaving them into one git
repository.  I don't think that's as complex for the LLVM ecosystem
since everything lives under one SVN repository.  Some of the directory
remapping issues that have been raised would be handled beautifully by
svn-all-fast-export.

                          -David

James Y Knight via llvm-dev <llvm-dev at lists.llvm.org> writes:

> I've been working on some scripting for re-converting the svn repository into git.
>
> The existing git conversions are entirely sufficient for day-to-day development purposes, but not up to the standard (at least, *my* standard) for replacing svn as the authoritative source
> repository. For one example, clang.git doesn't actually go back to the first commit of clang, because weird stuff happened early in the svn history that threw off git-svn.
>
> Here's my work in progress, but there's still more work to be done:
> https://github.com/jyknight/llvm-git-migration (conversion scripts)
> https://github.com/jyknight/llvm-monorepo (test repository)
>
> On Fri, Jan 13, 2017 at 4:07 PM, Keane, Erich via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
>  Hi all-
>  I was wondering if anyone knew what the status/schedule of the SVN to git/github transition was? I thought I saw that at the November meeting it was agreed upon, but I'm not sure I saw
>  any progress since?
>
>  Thanks,
>  Erich
>  _______________________________________________
>  LLVM Developers mailing list
>  llvm-dev at lists.llvm.org
>  http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
>
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev


More information about the llvm-dev mailing list