Arthur O'Dwyer via llvm-dev
2021-Dec-10 12:00 UTC
[llvm-dev] [cfe-dev] [Openmp-dev] Bugzilla migration is stopped again
On Sat, Dec 4, 2021 at 9:16 AM Arthur O'Dwyer <arthur.j.odwyer at gmail.com> wrote:> On Sat, Dec 4, 2021 at 5:46 AM Anton Korobeynikov via cfe-dev < > cfe-dev at lists.llvm.org> wrote: > >> [...] >> * Surely*, if the community will re-decide that these are unimportant >> things >> *we can push the existing code into a blank archive fairly quickly*. >> > > Please, test the above claim this week, *on a blank repo*. Let's > actually find out whether it works, instead of relying on "Surely...". > > At this point I'm offering my own technical assistance, just to get the > thing done and stop getting these emails every day. Send me your Bugzilla > export script; I'll test it out this week on a blank repo, with the goal of > mirroring a 100-bug subset of the LLVM Bugzilla publicly visible in > https://github.com/Quuxplusone/LLVMBugzillaTest/ by EOW. >The promised EOW update: I have written Python scripts for the Export, Transform, and (dumbed-down, see below) Load stages of a bugzilla-to-github migration. You can find them at https://github.com/Quuxplusone/BugzillaToGithub#bugzilla-to-github and the resulting GitHub issues list (which is just partial, so far) lives at https://github.com/Quuxplusone/LLVMBugzillaTest/issues This is merely the result of five evenings of work, so e.g. the formatting of message bodies still isn't perfect, and as of this morning I'm aware of at least one bug (that GitHub's import API doesn't like a comment to have *empty string* as its `body`). And of course the biggest issue is that I was noodling around without special access to GitHub staff, who are the only people able to forge issue/comment authorship; so my script just puts everything under the username of the person-or-bot that runs it. I guarantee GitHub SRE can help with that. Arthur>-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20211210/1c03c6b1/attachment.html>
Anton Korobeynikov via llvm-dev
2021-Dec-10 12:33 UTC
[llvm-dev] [cfe-dev] [Openmp-dev] Bugzilla migration is stopped again
Thanks for the try!>From the quick scan:1. There are no labels 2. Attachments are not real – they are just links to bugzilla and will be obsolete if bugzilla is e.g. down 3. Each attachment results in 2 comments, one of each is redundant 4. CC list is strange, e.g. https://github.com/Quuxplusone/LLVMBugzillaTest/issues/12187 CC's to "mail.sandbox.de" 5. All text is in verbatim boxes (e.g. https://github.com/Quuxplusone/LLVMBugzillaTest/issues/12092) making it almost impossible to read due to horizontal scroll 6. There are no "depends on" / "blocks on" references (see https://github.com/Quuxplusone/LLVMBugzillaTest/issues/10900) 7. There are no cross-references in case of duplicates (see https://github.com/Quuxplusone/LLVMBugzillaTest/issues/10729) ... It's pretty straightforward to come to the present state and there are tools for this, we've been at this point in 2019 (see e.g. https://github.com/asl/llvm-bugzilla/issues as it was outlined in LLVM DevMtg 2019 roundtable discussion). The non-trivial part is to workaround various GitHub issues which are also different depending on API used. On Fri, Dec 10, 2021 at 3:00 PM Arthur O'Dwyer <arthur.j.odwyer at gmail.com> wrote:> > On Sat, Dec 4, 2021 at 9:16 AM Arthur O'Dwyer <arthur.j.odwyer at gmail.com> wrote: >> >> On Sat, Dec 4, 2021 at 5:46 AM Anton Korobeynikov via cfe-dev <cfe-dev at lists.llvm.org> wrote: >>> >>> [...] >>> Surely, if the community will re-decide that these are unimportant >>> things we can push the existing code into a blank archive fairly >>> quickly. >> >> >> Please, test the above claim this week, on a blank repo. Let's actually find out whether it works, instead of relying on "Surely...". >> >> At this point I'm offering my own technical assistance, just to get the thing done and stop getting these emails every day. Send me your Bugzilla export script; I'll test it out this week on a blank repo, with the goal of mirroring a 100-bug subset of the LLVM Bugzilla publicly visible in https://github.com/Quuxplusone/LLVMBugzillaTest/ by EOW. > > > The promised EOW update: I have written Python scripts for the Export, Transform, and (dumbed-down, see below) Load stages of a bugzilla-to-github migration. You can find them at > https://github.com/Quuxplusone/BugzillaToGithub#bugzilla-to-github > and the resulting GitHub issues list (which is just partial, so far) lives at > https://github.com/Quuxplusone/LLVMBugzillaTest/issues > This is merely the result of five evenings of work, so e.g. the formatting of message bodies still isn't perfect, and as of this morning I'm aware of at least one bug (that GitHub's import API doesn't like a comment to have empty string as its `body`). And of course the biggest issue is that I was noodling around without special access to GitHub staff, who are the only people able to forge issue/comment authorship; so my script just puts everything under the username of the person-or-bot that runs it. I guarantee GitHub SRE can help with that. > > Arthur-- With best regards, Anton Korobeynikov Department of Statistical Modelling, Saint Petersburg State University