Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A script to import support issues from a Google Code project to a Github project.
Python
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README.md
issue-transfer.py

README.md

googlecode2github

googlecode2github is a project designed to facilitate migrating a Google Code project to GitHub.

Dependencies

The GData Python client: http://code.google.com/p/gdata-python-client/downloads/list

The python-github2 client: https://github.com/ask/python-github2

Usage

The issue-transfer.py script transfers issues from Google Code to GitHub.

If you were transferring issues from a Google Code project named foobar1 to a GitHub project named foobar2, and your username is zippy, you would run the script like this:

$ python issue-transfer.py 
    --google_username=zippy@gmail.com
    --google_project=foobar1
    --github_username=zippy
    --github_project=zippy/foobar2
    --github_api_token=4a9e[...]23b1

You will be prompted for your Google password so as not to require it on the command line and leave it in your .bash_history.

Examples

Here is an example of an issue (with comments) that was migrated with the script.

Caveat

I've successfully migrated issues from 17 Google Code projects to GitHub with this script, but as always, proceed with caution with scripts that automatically post to Web services on your behalf.

Something went wrong with that request. Please try again.