Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Trac to GitHub Issues import script

branch: master

This branch is 0 commits ahead and 0 commits behind master

Fetching latest commit…

Cannot retrieve the latest commit at this time

README.textile

Trac to GitHub Issues conversion script

Imports are now working, including comments

Usage

$ ./trac2issues.py --help
Usage: trac2issues.py [options]

Options:
  -h, --help            show this help message and exit
  -t TRAC, --trac=TRAC  Path to the Trac project to export.
  -p PROJECT, --project=PROJECT
                        Name of the GitHub Project to import into.
  -x, --closed          Include closed tickets.
  -c, --component       Create a label for the Trac component.
  -m, --milestone       Create a label for the Trac milestone.
  -o, --owner           Create a label for the Trac owner.
  -r, --reporter        Add a comment naming the reporter.
  -u URL, --url=URL     The base URL for the trac install (will also link to
                        the old ticket in a comment).
sudo ./trac2issues.py \
    -t /var/lib/trac/davglass \
    -p footest -m -x -o -r -c \
    -u http://bugs.davglass.com/projects/davglass
Something went wrong with that request. Please try again.