ryppl / transition

Tracker and Wiki for managing the Boost transition to modularized Git
0 stars 0 forks source link

Try using Svn2Git on Boost #5

Open dabrahams opened 11 years ago

dabrahams commented 11 years ago

See http://techbase.kde.org/Projects/MoveToGit/UsingSvn2Git

mloskot commented 11 years ago

Some time ago, I ported https://github.com/alloy/git-svn-mirror written in Ruby to Python at https://github.com/mloskot/pygit-svn-mirror

It makes it easy to create and maintain Git mirrors of SVN repositories. Perhaps you'll find it helpful.

purpleKarrot commented 11 years ago

Svn2Git requres a copy of the svn database. KDE uses rsync for that purpose; we might do the same. Is rsync enabled on svn.boost.org?

dabrahams commented 11 years ago

It is but you shouldn't use rsync to copy a live database. I already used svnadmin dump to stream a mirror into existence on ci.boost.org, and if you'd just help me close #1 I could get you access to that... ;-)

dabrahams commented 11 years ago

OK, that mirror is now updating every 5 minutes; see #6

dabrahams commented 11 years ago

Built svn2git on ci.boost.org:

cd ~root
mkdir -p src
cd src
aptitude install git-core
git clone git://gitorious.org/svn2git/svn2git.git
git clone git://anongit.kde.org/kde-ruleset
aptitude install libsvn-dev
cd svn2git/
aptitude install libqt4-dev
qmake && make
dabrahams commented 11 years ago

Daniel produced an initial sample for Boost.Accumulators