<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi,<div><br></div><div>This was indeed the intended plan (but to update them from the git monorepo instead of SVN), except that no-one implemented it, and no-one really requested it as part of the blockers to migrate.<div>It was also noted a while ago, that if we just write the script to update these mirror, then anyone can run the script locally from the monorepo and get the same result, which makes these mirrors not necessary. </div></div><div><br></div><div>This is actually not very complex I think:</div><div><br></div><div>cd /tmp/</div><div>git clone git@github.com:newren/git-filter-repo.git /tmp/git-filter-repo<br></div><div>git clone git@github.com:llvm/llvm-project.git<br></div><div>cd llvm-project</div><div>/tmp/git-filter-repo/git-filter-repo --subdirectory-filter llvm    --force --refs master<br></div><div># at this point you have a locally something that looks like <a href="https://git.llvm.org/git/llvm.git">https://git.llvm.org/git/llvm.git</a> ; but the hashes are different.</div><div># the first new commit is 580acd1df4f0c4a865a20ed1e9467425e0dd382e ; we'll cherry-pick all of them on</div><div># top of the old repo <a href="https://git.llvm.org/git/llvm.git">https://git.llvm.org/git/llvm.git</a></div><div>git branch master-rewritten<br></div><div><div>git remote add llvm <a href="https://git.llvm.org/git/llvm.git">https://git.llvm.org/git/llvm.git</a></div></div><div><div>git fetch llvm</div></div><div>git reset --hard llvm/master</div><div>git cherry-pick 580acd1df4f0c4a865a20ed1e9467425e0dd382e~...master-rewritten --allow-empty <br></div><div># done! (after a while...)</div><div><br></div><div><br></div><div>-- </div><div>Mehdi</div><div><br></div><div><br></div></div></div></div></div></div></div></div></div></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Feb 25, 2020 at 9:51 AM Tom Honermann via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">





<div lang="EN-US">
<div>
<p class="MsoNormal">My expectation was that they would continue to be fed from the updates to the svn repo.  But again, I don't recall where I got that impression from.  It may have been a bad assumption on my part.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Tom.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div style="border-style:none none none solid;border-left-width:1.5pt;border-left-color:blue;padding:0in 0in 0in 4pt">
<div>
<div style="border-style:solid none none;border-top-width:1pt;border-top-color:rgb(225,225,225);padding:3pt 0in 0in">
<p class="MsoNormal"><b>From:</b> Anton Korobeynikov <<a href="mailto:anton@korobeynikov.info" target="_blank">anton@korobeynikov.info</a>> <br>
<b>Sent:</b> Tuesday, February 25, 2020 12:36 PM<br>
<b>To:</b> Tom Honermann <<a href="mailto:thonerma@synopsys.com" target="_blank">thonerma@synopsys.com</a>><br>
<b>Cc:</b> <a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>; Michael Price <<a href="mailto:mprice@synopsys.com" target="_blank">mprice@synopsys.com</a>>; Tim Prince <<a href="mailto:trprince@synopsys.com" target="_blank">trprince@synopsys.com</a>>; Christopher Lapkowski <<a href="mailto:lapkow@synopsys.com" target="_blank">lapkow@synopsys.com</a>><br>
<b>Subject:</b> Re: [llvm-dev] Status of the <a href="http://git.llvm.org" target="_blank">git.llvm.org</a> git repos<u></u><u></u></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal">Hello<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">These repos were populated from SVN. Noone worked on migration of them<br>
to be pulled from monorepo as far as I know.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">On Tue, Feb 25, 2020 at 8:28 PM Tom Honermann via llvm-dev<br>
wrote:<br>
><br>
> I was under the impression that the (non-monorepo) separate LLVM and Clang git repos hosted at <a href="http://git.llvm.org" target="_blank">git.llvm.org</a> would be maintained for a year after the transition to the mono repo. I don't recall where I got that impression from; probably from some of the many
 emails on the migration topic. I noticed today that updates to these repos ceased on October 22nd of last year following transition to the mono repo. Was I simply mistaken that these repos were not going to be maintained along with the (read-only) svn repo?
 We had not planned to complete our own transition to the mono repo until a little later this year, but if these repos are no longer maintained, we'll have to readjust our priorities.<br>
><br>
><br>
><br>
> I'm aware of the guidance on how to transition (<a href="https://llvm.org/docs/Proposals/GitHubMove.html#moving-local-branches-to-the-monorepo" target="_blank">https://llvm.org/docs/Proposals/GitHubMove.html#moving-local-branches-to-the-monorepo</a>) and am not seeking any
 advice on how to do so.<br>
><br>
><br>
><br>
> Tom.<br>
><br>
> _______________________________________________<br>
> LLVM Developers mailing list<br>
> <a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
> <a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">-- <br>
With best regards, Anton Korobeynikov<br>
Department of Statistical Modelling, Saint Petersburg State University<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">   <u></u><u></u></p>
</div>
</div>
<p class="MsoNormal"><img border="0" width="1" height="1" style="width: 0.0083in; height: 0.0083in;" id="gmail-m_211984003779065968gmail-m_8888907680052986501_x0000_i1025" src="https://gml.email/v1.1/t/image/VUlEfDIxOTY3OTBmLWViMjAtNDAzYi05YzRjLTExMDcxYTM1YjUxMHxUaG9tYXMuSG9uZXJtYW5uQHN5bm9wc3lzLmNvbQ.gif"><u></u><u></u></p>
</div>
</div>
</div>

_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</blockquote></div>