tahoe-lafs / trac2gitea

Utility for migrating Trac projects into Gitea.
GNU General Public License v3.0
0 stars 0 forks source link

Some links from ticket description fail to be converted #15

Closed btlogy closed 5 months ago

btlogy commented 5 months ago

Ideally, ticket description (or comment) should only refer to comment or attachment from other existing ticket. However, it is not rare to modify it later to refer to comment or attachment created later.

In this case the migration raises the following warnings:

Warning: cannot find Gitea issue for ticket X referenced by Trac link "comment:Y"
Warning: cannot find Gitea issue for ticket X for Trac link "attachment:Z"

Which is normal because those do not exist yet.

It would be nice to make it work for comment and attachment made later to the current ticket. Maybe just completing the description after the comments and attachment instead of before.