<div dir="ltr"><div dir="ltr">On Fri, Dec 3, 2021 at 3:57 AM Anton Korobeynikov via cfe-dev <<a href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Mehdi wrote:<br>
> Maybe if you can share this on a public repo, others here can help to do small test runs in private forks and cross-validate or help fix issues with it?<br><br></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I certainly could do this, but I doubt this will be useful as the<br>
input will be a local bugzilla dump..<br></blockquote><div><br></div><div>IMHO it would be a really good idea to do this!</div><div>If the "bugzilla dump" is in some reasonably sane format such as JSON, then people could even hand-craft sample input scenarios to try out the import script on.</div><div>There are basically two devops operations here:</div><div>- Export a Bugzilla instance into (e.g. JSON)</div><div>- Load (e.g. JSON) into a GitHub instance</div><div>The ultimate migration will do the first step and then the second, (A) on the official LLVM Bugzilla and the official LLVM GitHub, (B) during a single atomic period where both are protected against tampering by random users.</div><div>But before then, it would certainly be easy to test the second step on people's own personal GitHub instances. And I would have expected Thanksgiving weekend's aborted migration to have completed the first step and produced an (e.g. JSON) data file as a side effect, so people would even have some sample data to try out. (Of course they'd want to use only a <i>subset</i> of it, because the <i>whole</i> (e.g. JSON) data file is probably on the order of (50,000 bugs x let's say 100KB per bug) ~= 5GB of data.)</div><div><br></div><div>IIUC, none of the data being exported from Bugzilla is "private" in any sense, so there's no particular concern with publishing the (e.g. JSON) data.</div><div><br></div><div>It occurs to me that it would also be a really really good idea to have a script that can <i>compare</i> a Bugzilla against a GitHub and verify that they contain the same data, so that we can know whether the migration succeeded. That script can also be published and tested ahead of time.</div><div><br></div><div>–Arthur</div></div></div>