Hi

On Tue, 12 Oct 2021 at 01:42, Jean-Paul Calderone
<[email protected]> wrote:
>
> On Mon, Oct 11, 2021 at 8:33 PM Adi Roiban <[email protected]> wrote:
>>
>> On Mon, 4 Oct 2021 at 12:07, Jean-Paul Calderone
>> <[email protected]> wrote:
>> >
>> > On Mon, Oct 4, 2021 at 5:39 AM Chris Withers <[email protected]> wrote:
>> >>
>> >> On 04/10/2021 10:32, Adi Roiban wrote:
>> >> > For me, the Trac migration was Plan B, and I would like to spend the
>> >> > available time looking at migrating Trac Tickets to GitHub Issues
>> >>
>> >> That would certainly get my vote.
>> >>
>> >> I wish I had spare cycles, but I'm already in three levels deep yack
>> >> shaving that had me hit this...
>> >
>> >
>> > I am working on migrating Tahoe-LAFS Trac to GitLab.  If Twisted wants to 
>> > use GitLab instead, I'll probably eventually have a tool that makes this 
>> > an easy transition.  If not, I'll at least have a tool that loads 
>> > everything from a trac project environment into an in-memory model where 
>> > it's easier to transform into something else.
>> >
>> > Jean-Paul
>>
>> I saw this project which does Trac to GitLab migration:
>> https://github.com/tracboat/tracboat
>>
>> I didn't have time to check it out, but even when migrating to GitHub,
>> I was thinking that some code can be reused from there.
>> For example converting from TracWiki markup to Markdown.
>>
>
> Yes, that project exists.  It's not a good fit for the Tahoe-LAFS migration.  
> Maybe it will work for Twisted though.  And as you point out, maybe it has 
> components that are helpful even if the tool as a whole isn't.
>

Jean Paul,  have you managed to do the migration from Trac to GitLab
for the Tahoe tickets?
Was it a smooth migration ?

For my company we have migrated from Trac Tickets to GitHub (multi-repo).
It was not a perfect  migration ... but it was not that bad.
With the bulk import API we managed to keep the creation date for each comment.

The Trac tickets that had the same ID as GitHub PR were migrated last.
In this way we preserve the ID of most of the tickets

Also, we plan to keep the legacy Trac instance in read only mode for
the near future.

The trac ticket have a reference like trac#1234 in the comments and
with GitHub autolinks we automatically get a link

Btw. This is already enabled on twisted/twisted
trac#123  →  https://twistedmatrix.com/trac/ticket/123

We also moved the wiki to GitHub Wiki .. we lost some nice features
from Trac Wiki macros ...but that was not a big deal.

The code is here
https://github.com/chevah/trac-to-github/pull/13

Regards


--
Adi Roiban
_______________________________________________
Twisted mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/twisted.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/TFKV4OUFBPWBE3NZZU6AIYOG3QD7OFJA/
Code of Conduct: https://twisted.org/conduct

Reply via email to