<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi,<div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Jan 16, 2017, at 12:29 AM, Alexander Benikowski via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org" class="">llvm-dev@lists.llvm.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">So the Github-Importer screws up the old dark places of the SVN-History and the scripts try to handle this?</div></div></blockquote><div><br class=""></div><div>I don’t think we tried the Github-Importer, but keep in mind that the project structure is a bit special. In SVN we have:</div><div><br class=""></div><div>llvm/trunk</div><div class=""><div class="">llvm/branch</div></div><div class=""><div class="">llvm/tags</div></div><div class=""><div class="">clang/trunk</div></div><div class=""><div class="">clang/branch</div></div><div class=""><div class="">clang/tags</div></div><div class="">…</div><div class=""><br class=""></div><div class="">And we want to map in the destination repo llvm/trunk to llvm/, clang/trunk to clang, ..</div><div class=""><br class=""></div><div class="">We also want to map nicely the author names/emails to commits, possible catching “Patch by:” in the commit message to attribute correctly authorship (while keeping the “committer” field in git.</div><div class=""><br class=""></div><div class="">Also there are some specific cases in the history we want to filter: for instance all of LLVM was committed into LLDB as a zip file at some point. This is already filtered out of the git repo on <a href="http://llvm.org" class="">llvm.org</a>, and we want to filter this out in the monorepo.</div><div class=""><br class=""></div><div class="">Other craziness can be found by looking at the script James wrote: <a href="https://github.com/jyknight/llvm-git-migration/blob/master/llvm-svn2git.rules" class="">https://github.com/jyknight/llvm-git-migration/blob/master/llvm-svn2git.rules</a> :</div><div class="">- "Skip the revisions that deleted cfe/cfe/ and moved it to cfe/“</div><div class="">- "Handle compiler-rt's initial revision, which was out of trunk/"</div><div class="">- “Ignore move from gcc-plugin/ to dragonegg/, and re-addition of gcc-plugin”</div><div class="">- "Some branches are at a different level.”</div><div class=""><br class=""></div><div class="">I’m very impressed by the amount of dedication James is putting into this, and he deserves a big thanks for this archeology work :)</div><div class=""><br class=""></div><div class="">Best,</div><div class=""><br class=""></div><div class="">Mehdi</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""></div><div class=""></div><div class=""><br class=""></div><blockquote type="cite" class=""><div class=""><div class="gmail_extra"><div class="gmail_quote">2017-01-13 22:57 GMT+01:00 James Y Knight via llvm-dev <span dir="ltr" class=""><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank" class="">llvm-dev@lists.llvm.org</a>></span>:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="">I've been working on some scripting for re-converting the svn repository into git.<div class=""><br class=""></div><div class="">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.<div class=""><br class=""></div><div class="">Here's my work in progress, but there's still more work to be done:</div><div class=""><a href="https://github.com/jyknight/llvm-monorepo" target="_blank" class="">https://github.com/jyknight/<wbr class="">llvm-git-migration</a> (conversion scripts)</div><div class=""><a href="https://github.com/jyknight/llvm-monorepo" target="_blank" class="">https://github.com/jyknight/ll<wbr class="">vm-monorepo</a> (test repository)<br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br class=""><div class="gmail_quote">On Fri, Jan 13, 2017 at 4:07 PM, Keane, Erich via llvm-dev <span dir="ltr" class=""><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank" class="">llvm-dev@lists.llvm.org</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all-<br class="">
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?<br class="">
<br class="">
Thanks,<br class="">
Erich<br class="">
______________________________<wbr class="">_________________<br class="">
LLVM Developers mailing list<br class="">
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank" class="">llvm-dev@lists.llvm.org</a><br class="">
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank" class="">http://lists.llvm.org/cgi-bin/<wbr class="">mailman/listinfo/llvm-dev</a><br class="">
</blockquote></div><br class=""></div>
</div></div><br class="">______________________________<wbr class="">_________________<br class="">
LLVM Developers mailing list<br class="">
<a href="mailto:llvm-dev@lists.llvm.org" class="">llvm-dev@lists.llvm.org</a><br class="">
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank" class="">http://lists.llvm.org/cgi-bin/<wbr class="">mailman/listinfo/llvm-dev</a><br class="">
<br class=""></blockquote></div><br class=""></div>
_______________________________________________<br class="">LLVM Developers mailing list<br class=""><a href="mailto:llvm-dev@lists.llvm.org" class="">llvm-dev@lists.llvm.org</a><br class="">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev<br class=""></div></blockquote></div><br class=""></div></body></html>