This file contains hidden or 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
| #!/usr/bin/env ruby | |
| require 'rubygems' | |
| require 'mechanize' | |
| require 'uri' | |
| class HttpClient | |
| def initialize(base_url) |
This file contains hidden or 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
| > tar xfz source-0.0.1.tar.gz | |
| > cd source-0.0.1 | |
| > dh_make | |
| > sudo dpkg-buildpackage -rfakeroot | |
| > dpkg-buildpackage | |
| > sudo dpkg -i ../source-0.0.1-1_amd64.deb |
This file contains hidden or 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
| # http://xrtc.net/f/projects/rcs-to-git.shtml | |
| $ mkdir repos.cvs repos.source | |
| $ cvs -d /path/to/repos.cvs/ init | |
| $ (cd repos && find . -type d -exec mkdir /path/to/repos.cvs/{} \;) | |
| $ (cd repos.source && CVSROOT=/path/to/repos.cvs/ cvs import -m "Initial CVS import" repos.source TICALC start) | |
| $ (cd repos && find . -type f -exec cp {} /path/to/repos.cvs/{} \;) | |
| $ CVSROOT=/path/to/repos.cvs git cvsimport -C . repos.source | |
NewerOlder