Jump to page: 1 26  
Page
Thread overview
Bugzilla to GitHub Issues Migration
Jun 21, 2023
Mike Parker
Jun 21, 2023
Johan
Jun 22, 2023
Mike Parker
Jun 22, 2023
Robert Schadek
Jun 22, 2023
Vladimir Panteleev
Jun 22, 2023
Vladimir Panteleev
Jun 23, 2023
Robert Schadek
Jun 23, 2023
Vladimir Panteleev
Jun 23, 2023
Timon Gehr
Jun 23, 2023
Mike Parker
Jun 22, 2023
Vladimir Panteleev
Jun 22, 2023
Walter Bright
Jun 21, 2023
H. S. Teoh
Jun 22, 2023
Mike Parker
Jun 22, 2023
Adam Wilson
Jun 22, 2023
Mike Parker
Jun 22, 2023
Andrej Mitrovic
Jun 22, 2023
H. S. Teoh
Jun 22, 2023
Mike Parker
Jun 22, 2023
Vladimir Panteleev
Jun 22, 2023
Brad Roberts
Jun 22, 2023
Vladimir Panteleev
Jun 22, 2023
Brad Roberts
Jun 22, 2023
Vladimir Panteleev
Jun 22, 2023
Vladimir Panteleev
Jun 22, 2023
Walter Bright
Jun 22, 2023
Vladimir Panteleev
Jun 22, 2023
CM
Jun 22, 2023
Vladimir Panteleev
Jun 22, 2023
Jonathan M Davis
Jun 22, 2023
Elias
Jun 22, 2023
Vladimir Panteleev
Jun 23, 2023
Robert Schadek
Jun 23, 2023
Jonathan M Davis
Jun 23, 2023
Robert Schadek
Jun 23, 2023
Timon Gehr
Jun 23, 2023
Mike Parker
Jun 23, 2023
Vladimir Panteleev
Jun 23, 2023
Timon Gehr
Jun 23, 2023
Mike Parker
Jun 23, 2023
Vladimir Panteleev
Jun 24, 2023
Mike Parker
Jun 24, 2023
Vladimir Panteleev
Jun 24, 2023
matheus
Jun 23, 2023
Walter Bright
Jun 24, 2023
Mike Parker
Jun 23, 2023
Elias
Jun 23, 2023
Elias
Jun 23, 2023
Elias
Jun 23, 2023
Mike Parker
Jun 23, 2023
Elias
Jun 23, 2023
Vladimir Panteleev
Jun 22, 2023
H. S. Teoh
Jun 23, 2023
Robert Schadek
June 21, 2023

We're much closer now to pulling the trigger on the Bugzilla to GitHub issues migration. Robert has fixed the blocker in the app he wrote to perform it, and he and I have both confirmed that it works as expected on a test repository.

We have a planning session scheduled this week. Before I initiate the migration, I need to make sure we're aware of all of the consequences and how to handle them (e.g., dlang-bot, moving Bugzilla to read-only, any instructions on the Wiki, etc.).

If you're aware of anything out there that we need to consider once the issues are migrated, please let us know here.

Once we've got a handle on everything, I'll set a date to initiate the migration. Hopefully the first or second week of July. I plan to start with the small stuff, like tools and visuald to make sure there are no problems with tying things off in Bugzilla (the app won't close the migrated issues, but will leave comments on them noting that they've been migrated, with a link to the GH issue). I'll keep a thread running here noting when I'm starting on each Bugzilla component (tools, phobos, dmd, etc.) and when it's finished.

The whole process should take a few days. We have to be mindful of rate limits on API usage, which means some of the components will take quite a while to migrate. I doubt I'll run them all back to back, but we'll see how it goes.

June 21, 2023

On Wednesday, 21 June 2023 at 16:46:06 UTC, Mike Parker wrote:

>

We're much closer now to pulling the trigger on the Bugzilla to GitHub issues migration. Robert has fixed the blocker in the app he wrote to perform it, and he and I have both confirmed that it works as expected on a test repository.

We have a planning session scheduled this week. Before I initiate the migration, I need to make sure we're aware of all of the consequences and how to handle them (e.g., dlang-bot, moving Bugzilla to read-only, any instructions on the Wiki, etc.).

If you're aware of anything out there that we need to consider once the issues are migrated, please let us know here.

I think your sentence here should read: "...that we need to consider before the issues are migrated..."

Do you have a link to a document that describes what the migration will do? (e.g. what will be done with the keywords, numbering, people on CC list, etc.)

-Johan

June 21, 2023
On Wed, Jun 21, 2023 at 04:46:06PM +0000, Mike Parker via Digitalmars-d wrote:
> We're much closer now to pulling the trigger on the Bugzilla to GitHub issues migration. Robert has fixed the blocker in the app he wrote to perform it, and he and I have both confirmed that it works as expected on a test repository.
> 
> We have a planning session scheduled this week. Before I initiate the migration, I need to make sure we're aware of all of the consequences and how to handle them (e.g., dlang-bot, moving Bugzilla to read-only, any instructions on the Wiki, etc.).
> 
> If you're aware of anything out there that we need to consider once the issues are migrated, please let us know here.
[...]

How will existing accounts on Bugzilla be handled?  I have a list of issues I'm monitoring on Bugzilla, but I don't think there will be an easy way to import these to Github.  It will not be automatic, for sure, since I use different credentials for both.  But it will be painful to have to manually resubscribe to individual issues on my monitor list. Is there any way to semi-automate this?


T

-- 
Маленькие детки - маленькие бедки.
June 22, 2023

On Wednesday, 21 June 2023 at 16:51:13 UTC, Johan wrote:

>

Do you have a link to a document that describes what the migration will do? (e.g. what will be done with the keywords, numbering, people on CC list, etc.)

No, there's no document. I've made the test repository public so you can see what the issues look like on GH:

https://github.com/dlang/bz2gh-test/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc

All of the issues there come from the 'tools' component in Bugzilla. It appears nothing is done with the keywords, and I don't recall any discussion about it. Do you think they should become labels, or perhaps added as a list in the text of the GH issue? Do we need to keep them on the GH issue?

There's a command-line option I'll use when I do the migration that leaves a comment on each migrated Bugzilla issue, so the CC list should be notified of that. It will also @ mention people on GH, but I'm not sure if that includes those on the CC list.

I'll defer to Robert for more details.

June 22, 2023
On Wednesday, 21 June 2023 at 17:01:31 UTC, H. S. Teoh wrote:

>
> How will existing accounts on Bugzilla be handled?  I have a list of issues I'm monitoring on Bugzilla, but I don't think there will be an easy way to import these to Github.  It will not be automatic, for sure, since I use different credentials for both.  But it will be painful to have to manually resubscribe to individual issues on my monitor list. Is there any way to semi-automate this?
>
>

There's a JSON file that matches Bugzilla IDs with GH IDs. Yours are in there. I don't know if there's a way via the GH API to automatically subscribe users to specific issues, or if the app does it. If there is and it doesn't, then that seems like something we should consider adding.

Again, I'll defer to Robert for the details.
June 22, 2023

On Wednesday, 21 June 2023 at 16:46:06 UTC, Mike Parker wrote:

>

If you're aware of anything out there that we need to consider once the issues are migrated, please let us know here.

Will probably need to update the website to let people know where to file bugs: https://dlang.org/bugstats.html

Also the Report a bug button that's shown on every page.


One thing that will be hard to keep track of is finding the list of active bugs that a person has filed since the issue author on Github will be different.

But maybe that's not a problem if we let Bugzilla stay up in read-only mode?

Otherwise if Bugzilla will be shut down I'd suggest adding something like reported-by: <user> in the transferred issue's comment to perhaps make it easy to search using the Github UI?

This shouldn't block migration, a comment like this can easily be added later on.

The use-case here is I like to keep track of bugs I've opened to see if any have been resolved. When they get resolved I can remove any relevant workarounds in my code.

June 21, 2023
On Thu, Jun 22, 2023 at 03:17:35AM +0000, Andrej Mitrovic via Digitalmars-d wrote: [...]
> One thing that will be hard to keep track of is finding the list of active bugs that a person has filed since the issue author on Github will be different.
> 
> But maybe that's not a problem if we let Bugzilla stay up in read-only mode?
> 
> Otherwise if Bugzilla will be shut down I'd suggest adding something like `reported-by: <user>` in the transferred issue's comment to perhaps make it easy to search using the Github UI?
> 
> This shouldn't block migration, a comment like this can easily be added later on.
> 
> The use-case here is I like to keep track of bugs I've opened to see if any have been resolved. When they get resolved I can remove any relevant workarounds in my code.

Me too!

Perhaps Bugzilla get stay up temporarily during the transition period, read-only to users but perhaps writeable to say the dlang bot, so that when github issues get closed Bugzilla can be updated too? It would be annoying to track otherwise.  I have several projects with version()'d workarounds named like `version(bug12345)`; when the bugzilla issue is closed I can search for these and disable them.  But after the GH migration issue numbers will change, and this makes it hard to track what's fixed.


T

-- 
Trying to define yourself is like trying to bite your own teeth. -- Alan Watts
June 22, 2023
On Thursday, 22 June 2023 at 04:31:42 UTC, H. S. Teoh wrote:
> On Thu, Jun 22, 2023 at 03:17:35AM +0000, Andrej Mitrovic via Digitalmars-d wrote: [...]
>> One thing that will be hard to keep track of is finding the list of active bugs that a person has filed since the issue author on Github will be different.
>> 
>> But maybe that's not a problem if we let Bugzilla stay up in read-only mode?
>> 
>> Otherwise if Bugzilla will be shut down I'd suggest adding something like `reported-by: <user>` in the transferred issue's comment to perhaps make it easy to search using the Github UI?
>> 
>> This shouldn't block migration, a comment like this can easily be added later on.
>> 
>> The use-case here is I like to keep track of bugs I've opened to see if any have been resolved. When they get resolved I can remove any relevant workarounds in my code.
>
> Me too!
>
> Perhaps Bugzilla get stay up temporarily during the transition period, read-only to users but perhaps writeable to say the dlang bot, so that when github issues get closed Bugzilla can be updated too? It would be annoying to track otherwise.  I have several projects with version()'d workarounds named like `version(bug12345)`; when the bugzilla issue is closed I can search for these and disable them.  But after the GH migration issue numbers will change, and this makes it hard to track what's fixed.
>
>

The Bugzilla instance isn't going anywhere. At some point, we need to get it migrated away from Brad's server to a DLF server so that we can have full admin access and ensure that it stays around. I like the idea of keeping dlang-bot's write access once it goes read-only. All of that's going to require coordinating with Brad, so I can't really put it on a timeline.
June 22, 2023
On Thursday, 22 June 2023 at 02:40:01 UTC, Mike Parker wrote:
> On Wednesday, 21 June 2023 at 17:01:31 UTC, H. S. Teoh wrote:
>
>>
>> How will existing accounts on Bugzilla be handled?  I have a list of issues I'm monitoring on Bugzilla, but I don't think there will be an easy way to import these to Github.  It will not be automatic, for sure, since I use different credentials for both.  But it will be painful to have to manually resubscribe to individual issues on my monitor list. Is there any way to semi-automate this?
>>
>>
>
> There's a JSON file that matches Bugzilla IDs with GH IDs. Yours are in there. I don't know if there's a way via the GH API to automatically subscribe users to specific issues, or if the app does it. If there is and it doesn't, then that seems like something we should consider adding.
>
> Again, I'll defer to Robert for the details.

Will this work with email address's that are not the primary in GH? My Bugzilla email is different than my GH, so I added my Bugzilla email as a secondary email in GH.
June 22, 2023

On Thursday, 22 June 2023 at 02:34:46 UTC, Mike Parker wrote:

>

I'll defer to Robert for more details.

The tool is rather simple,

  1. Download all open bug from bugzilla, and get all the labels and stuff.
  2. Send the stuff to github, and wait for an hour when github tells it off, because it reached the rate limit.
  3. Write a comment into the bugzilla issue containing a link to the github issue.

The biggest part of the work was to match bugzilla profiles to github profiles.
Most code I wrote was figure that out. Many people have multiple bugzilla and multiple github profiles.
The stuff I wrote matched quite a few automatically, the rest I matched by hand and gave Michael that mapping table.

Will this mapping be perfect, no, but then I think I can never be, and also I think it doesn't need to be.
To make it perfect, I'll likely would need access to everybodies email ;-)

« First   ‹ Prev
1 2 3 4 5 6