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

Re: Alioth - Convert SVN repo to Git

On Tue, Mar 24, 2009 at 09:52:28AM -0700, Ryan Niebur wrote:
> > find . -type f -name 'foo*.dsc' | sort (or similar tools, make sure they're
> > sorted in a way as dpkg would sort the versions) | while read i; do
> > 	git-import-dsc $i
> > done
> > 
> git-import-dscs (note the extra s on the end) does exactly this.

holy crap that's an awesome tool.

i just tried this on a directory containing all the currently relevant
php5 .dscs/.orig.tar.gzs/.diff.gzs and it did exactly what i would have
hoped that it should do.  i think that pkg-php will be switching to git
much sooner than expected now :)

i brought this up on IRC and another tool was mentioned: git debimport (from
the gitpkg package).  they both seem to do the same job, but git debimport
has a promising sounding[1] feature to also automatically fetch
intermediate versions of your package from snapshots.debian.net and include
them in the history.  

i also got the impression that the updating/merging is more reliable in
git-debimport, but have no empirical evidence to that.   however, i'm
a bigger fan of the branching/tagging conventions used by git-import, which
are more or less in line with how i handle my other packages.


[1] i.e. i couldn't get "git debimport --fetch php5" to work.

Attachment: signature.asc
Description: Digital signature

Reply to: