Created
June 22, 2011 19:09
-
-
Save markburns/1040856 to your computer and use it in GitHub Desktop.
trac import
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rubygems' | |
require 'ticketmaster' | |
require 'ticketmaster-pivotal' | |
require 'ticketmaster-trac' | |
require 'ruby-debug/debugger' | |
pivotal = TicketMaster.new(:pivotal, :username => 'test@example.com',:password => 'password' ) | |
pivotal_project = pivotal.project(some_integer) | |
trac = TicketMaster.new(:trac, {:username=> 'username', :password => "password", :url => "http://example.com"}) | |
trac_project = trac.project | |
trac_project.copy(pivotal_project) | |
pivotal_project.copy trac_project |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment