[geos-devel] experimental import of trac tickets to Gogs

Sandro Santilli strk at kbt.io
Fri Oct 21 06:49:11 PDT 2016


I've written a tool [1] to import trac tickets to Gogs
and given it a try on a clone of the GEOS repository.
Here's the result:

  https://git.osgeo.org/gogs/strk/geos-migration-test/issues

Priorities, components, severities and versions are translated
to labels. Milestones are also imported.

Limitations:

1.
Assignees and Reporters are not always correct because users
need to *exist* in Gogs before they can be set as assignee
or reporter of tickets. In those cases, the script adds an
header to the ticket summary or comment with the original
author (name or email, as found in Trac) and uses the Gogs
admin user as the assignee/reporter.

2.
Attachments are not imported by the script, I hadn't studied
the problem in depth, so dunno if it's possible to do that.

3.
TracLinks are not resolved, this I think could be improved
in the script (if someone is interested in helping out with it)


[1] https://notabug.org/strk/trac2gogs

--strk;

  ()   Free GIS & Flash consultant/developer
  /\   https://strk.kbt.io/services.html


More information about the geos-devel mailing list