Re: Need help with GitHub Issues migration

"Yury V. Zaytsev via mc-devel" <mc-devel-+hD5IHI5XseWCegYutOAJTiNl0CLU6MPYPYVAmT7z5s@public.gmane.org> Sat, 1 Mar 2025 13:18:40 +0100
Newsgroups gmane.comp.gnome.apps.mc.devel
Message-ID <[email protected]>
Hi there,

> On 22. Feb 2025, at 19:38, Yury V. Zaytsev <[email protected]> wrote:
> 
> TLDR; For the last few weeks I have been working on migrating our issue management from Trac to GitHub. I think the progress so far is significant enough to get some external feedback. I would like to ask those of you who are interested in working with GitHub to take a look at the test ticket import I did this week:
> 
>  https://github.com/MidnightCommander/mc-test-1/issues
> 
> (This repository will be removed once the migration is complete. It is now marked as archived because I want to prevent the creation of new issues and the editing of existing ones.)

So I think we can finally declare step one complete! I've been working on the live migration for the last couple of days after finishing the test run, and all in all it went according to plan.

1) Test repository is now removed
2) Old "main" repository renamed to "mc-old" and archived
3) New "main" repository is renamed to "mc" and is live

We've even got our first issue via GitHub (a duplicate, of course).

I've reconfigured the old Trac server to redirect anonymous users to GitHub where appropriate. Authorized users will be able to view old Trac data (but ticket modification should now be disabled) until the server is decommissioned.

I've open-sourced the core of my migration framework (type-safe Trac RPC client for Python):

  https://github.com/zyv/trac-rpc-client

I have also open sourced a type-safe Python client for the unofficial GitHub API for importing issues:

  https://github.com/zyv/github-issues-import

I'm not sure if I'll be able to open source more (and if it's applicable in a broader context anyway).

Of course there's still a lot of work to be done to get rid of Trac completely, but I'm very happy with the first step. The next step would be the website/wiki migration. If you find any problems, please let me know...

All the best,
Yury

-- 
mc-devel mailing list
mc-devel-+hD5IHI5XseWCegYutOAJTiNl0CLU6MPYPYVAmT7z5s@public.gmane.org
https://lists.midnight-commander.org/mailman/listinfo/mc-devel