[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Popcon-developers] convert popcon repository to git?



Sounds like switching to git is go! I took a look at how to do this
today and came up with the attached scripts.

My conversion does the following things:

Splits the SVN repo into one repository for the popcon software and
one for the popcon.a.d.o website.

Convert the few doubly-UTF-8-encoded commit messages back to UTF-8.

Converts SVN committer information to proper git commit authorship information.

Puts all the files into the toplevel dir instead of a
popularity-contest/ subdir.

Drops empty commits and unnessecary branches.

Converts git-svn "branch tags" to proper git tags.

Drops the CVSROOT directory entirely.

You can preview the results here:

git clone git://git.debian.org/users/pabs/popularity-contest.git
git clone git://git.debian.org/users/pabs/website.git

I did it on a tmpfs to make it faster.

-- 
bye,
pabs

http://wiki.debian.org/PaulWise
-------------- next part --------------
ballombe = Bill Allombert <ballombe at debian.org>
bubulle = Christian Perrier <bubulle at debian.org>
pere = Petter Reinholdtsen <pere at debian.org>
seppy = Dennis Stampfer <seppy at debian.org>
adn-guest = Mohammed Adn?ne Trojette <adn at debian.org>
pootle-guest = Christian Perrier <bubulle at debian.org>
root = Alioth admins <admin at alioth.debian.org>
(no author) = Alioth admins <admin at alioth.debian.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: filter-messages
Type: application/octet-stream
Size: 243 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/popcon-developers/attachments/20130127/4171a120/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: svn2git-popularity-contest
Type: application/octet-stream
Size: 3399 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/popcon-developers/attachments/20130127/4171a120/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: svn2git-website
Type: application/octet-stream
Size: 1503 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/popcon-developers/attachments/20130127/4171a120/attachment-0002.obj>


Reply to: