-
-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate ULB and UDB Issues #197
Comments
@ethantkoenig Let me know what your thoughts are on this. We will need to schedule the actual migration time so that the content team can pause work on Github and shift over to DCS. In the meantime any work we can do upfront to make that migration window small would be great. |
@jag3773 Probably a just writing our own Python script would be easiest; we're basically just need to make calls to the Github API and our DCS/gitea API. A few questions:
|
@neutrinog - I believe that there is a resounding YES to these - Which of the following must be preserved during migrations?
|
I agree with Chris; we want all those things if it can possibly be done. |
@ethantkoenig Yes, we want that information. I've created both repos as listed in the OP. This task is strictly for migrating the Issues. There are no milestones in either of the source repositories. For users, can you please create a mapping? Most of the usernames are probably similar, but if there are any that you can't find a match for, post them here and we will get you a match. |
@ethantkoenig How is this coming? When do you expect to have a script functional? We are moving from Github to DCS on Friday. The issues can transfer later if you're not ready yet. |
@jag3773 I've haven't been able to spend much time on this yet, I should be able to make more progress sometime this week or weekend. |
@ethantkoenig Just FYI that I disabled the Issue queues in DCS so that no one manually creates issues in those repos. The hope is that when you copy the issues over from Github they will have the same issue number in DCS, which should preserve any relationships based on issue numbers. Once you have the script ready, make sure to enable the Issue trackers in DCS before you run it. |
@jag3773 A few questions:
|
2-3. I'll give you write access to the repo. They are brand new so all the labels will need created. |
There is a bug in the API for adding labels to issues. I've made a fix (go-gitea/gitea#2048), but unfortunately I won't be able to run my script until the fix makes it way to our DCS instance. We should make sure this fix is a part of the #203 release. |
@jag3773 Also, do any of the Github repos have pull-requests? If so, should I create dummy issues so that issue numbers are preserved? |
Good point, yes, they both have prs and dummy issues are a great idea. |
We need to migrate the ULB and UDB source repositories from Github to DCS.
Locations
The key here is that we want to migrate the issues. I setup a DCS migration for the ULB which worked fine, but we need to get the issues migrated.
Relevant upstream issue is closed, gogs/gogs#809, but it doesn't look like it has been implemented.
Possibly https://github.com/mruschmann/migrate-gitlab-gogs could be modified to read from Github and push over into DCS?
The text was updated successfully, but these errors were encountered: