It would be nice if the Trac tickets table fields type, component, severity, priority, resolution could be mapped to GitHub labels, e.g. with a custom prefix. For instance:
-- Get all "type labels"
SELECT DISTINCT CONCAT('Type: ', type) FROM ticket
-- Get all "component labels"
SELECT DISTINCT CONCAT('Component: ', component) FROM ticket
The migration script would then offer whether any of those 5 labels should be applied to migrated tickets, or not. For instance, a user could select to migrate only type, component, and resolution
Unfortunately I haven't had a chance to work on this script since I have migrated my projects to GitHub. I've merged changes made by @danielbeardsley, it seems he started working on labels import.
It would be amazing to see some further work / pull requests.
OK, I'll see if I can implement this. The PHP script looks straight-forward enough...
Nice. I hope I haven't killed its straight-forwardness by the recent merge :)
oops, now I see what you are talking about. I must've been working with an old version. The new one isn't finished, from what I see, so I guess those object-oriented types are not really useful... too bad
OK, I can roll it back.
Done. Have fun! Let me know if I can help you some way.
Thanks a bunch! I've added working label support and some fixes to pull request #3.
I guess this ticket here can be closed