[dvblast-devel] [ANNOUNCE] Test git dvblast migration

Georgi Chorbadzhiyski gf at unixsol.org
Tue Aug 23 20:06:27 CEST 2011


/jb and Christophe, sorry for the double post, the ML size limit
 is 40k and the email was left for moderation/

Guys, since I have more work on dvblast coming soon and svn is
really getting on my nerves I invested some time today to make
proper svn2git migration. Proper in the sense that commit authors
are correctly set and commit messages are fixed where imho matters.

The result is accessible over here: git://github.com/gfto/dvblast.git

If it is OK, with Christophe, jb and other guys that might have an
opinion on these matters I think it would be a good idea the repository
to be moved on videolan.org infrastructure. I'll delete the github repo
when videolan starts hosting the official dvblast.git

I have verified the migration and tags against svn repo and everything
looks fine.

The migration was done with the following script and the two files
bellow:

http://georgi.unixsol.org/programs/dvblast/git_migration/dvblast_authors.txt
http://georgi.unixsol.org/programs/dvblast/git_migration/dvblast_fix_commits.diff

==== script begin ====
mkdir -p conv/patches
cd conv

git svn clone svn://svn.videolan.org/dvblast --no-metadata -A ~/dvblast_authors.txt --stdlayout dvblast-svn

cd dvblast-svn
# Export the first commit
git format-patch --root 46012997c7eefa56554ba520c9171c25ff9a6902 -o ../patches
# Export all commits
git format-patch 46012997c7eefa56554ba520c9171c25ff9a6902 -o ../patches
cd ../patches
patch -p1 ~/dvblast_fix_commits.diff
cd ..

mkdir dvblast-git
cd dvblast-git
git init

export GIT_COMMITTER_NAME="Christophe Massiot"
export GIT_COMMITTER_EMAIL="massiot at via.ecp.fr"
git am --committer-date-is-author-date --whitespace=nowarn ../patches/*
unset GIT_COMMITTER_NAME
unset GIT_COMMITTER_EMAIL

# Commit from: Mon May 11 14:54:00 2009 +0000
git tag 1.0 538c75d830d7ecf8b67b77641590331a5927703f

# Commit from: Mon Nov 23 22:06:00 2009 +0000
git tag 1.1 bc6659c7c67d9e6170f28f1c852f541bdf801631

# Commit from: Mon Mar 1 13:33:31 2010 +0000
git tag 1.2 61b49107cd0b6ecdc4ba8898b4770fc479a0c2a1
==== script end ====

The first two commits after migration should be to remove old and unused
Changelog file, and $Id$ lines from all files. version.h should also be
patched. Also looking at NEWS isn't it time for 2.0 to be released? ;)

-- 
Georgi Chorbadzhiyski
http://georgi.unixsol.org/



More information about the dvblast-devel mailing list