tratihubis

Software Screenshot:
tratihubis
Software Details:
Version: 0.4
Upload Date: 14 Apr 15
Developer: Thomas Aglassinger
Distribution Type: Freeware
Downloads: 19

Rating: 1.0/5 (Total Votes: 1)

tratihubis is a tool that converts Trac tickets to Github issues by using the following steps:

1. The user manually exports the Trac tickets to convert to a CSV file.
2. Tratihubis reads the CSV file and uses the data to create Github issues and milestones.

Installation

To install tratihubis, use pip or easy_install:

 pip install tratihubis

If needed, this also installs the PyGithub package.

Usage

Information about Trac tickets to convert has to be provided in a CSV file. To obtain this CSV file, create a new Trac query using the SQL statement stored in query_tickets.sql and saving the result by clicking "Download in other formats: Comma-delimited Text" and choosing for example /Users/me/mytool/tickets.csv as output file.

Next create a config file to describe how to login to Github and what to convert. For example, you could store the following in ~/mytool/tratihubis.cfg:

[tratihubis]
user = someone
password = secret
repo = mytool
tickets = /Users/me/mytool/tickets.csv


Then run:

 tratihubis ~/mytool/tratihubis.cfg

This tests that the input data and Github information is valid and writes a log to the console describing which operations would be performed.

To actually create the Github issues, you need to enable to command line option --really:

 tratihubis --really ~/mytool/tratihubis.cfg

Be aware that Github issues and milestones cannot be deleted in case you mess up. Your only remedy is to remove the whole repository and start anew. So make sure that tratihubis does what you want before you enable --really.

What is new in this release:

  • Added config option labels to map Trac status and resolution to Github labels.

What is new in version 0.3:

  • Added conversion of comments.
  • Added closing of issue for which the corresponding Trac ticket has been closed already.
  • Added validation of users issues are assigned to. They must have an active Github user.

What is new in version 0.2:

  • Added config option users to map Trac users to Github users.
  • Added binary in order to run tratihubis instead of python -m tratihubis.
  • Changed supposed issue number in log to take existing issues in account.

Requirements:

  • Python

Limitations:

  • Currently tratihubis only converts tickets with their descriptions and milestones. It also creates milestones as needed.
  • Github issues get the same owner as the Trac ticket. This only works if the Trac user has the same name on Github. If this is not the case, manually edit the owner and reporter columns in the tickets CSV.
  • The following information is not converted:
  • Github issues remain open even if the Trac ticket has been closed.
  • Trac comments are discarded instead of converted to Github comments.
  • Trac ticket details on type and resolution are discarded instead of converted to Github labels.
  • Trac Wiki markup remains instead of being converted to Github Markdown.

Similar Software

svnfiltereddump
svnfiltereddump

15 Apr 15

grt
grt

14 Apr 15

bzr-git
bzr-git

20 Feb 15

raw-import
raw-import

14 Apr 15

Other Software of Developer Thomas Aglassinger

rcs4cvs2svn
rcs4cvs2svn

11 May 15

Jomic
Jomic

11 May 15

Scunch
Scunch

12 May 15

Comments to tratihubis

Comments not found
Add Comment
Turn on images!