arthur-debert / google-code-issues-migrator

A simple script to migrate issues from google code to github.
67 stars 56 forks source link

changes to process attachments as gists #39

Closed sameb closed 9 years ago

sameb commented 10 years ago

Hello -- This pull request is far from something you should actually commit as-is, but I thought you might be interested in the changes in general. I made these in order to migrate Guice from codesite to github, and wanted to try to move the attachments too. The idea is that I did a dry run first in order to slurp down all the attachments as files locally, and then I do a real run that detects if the files are binary or text, and uploads the text ones as gists (and links directly to the gists in the github attachment). The binary ones are linked back to codesite.

joelpt commented 9 years ago

This is a very cool approach. With a couple of small changes I think this would be mergeable:

I'll close this pull request for now, but I think this would be a valuable addition.