Re: importing in git the history of a Debian package
On Fri, Jul 25, 2014 at 03:24:38AM +0200, Marco d'Itri wrote:
> This script shows how to import in git the complete history of a Debian
> package. It creates a structure of a properly merged upstream tree and
> Debian changes.
> It may not be pretty and is slightly DWIM, but it worked for all of my
> packages (some of them with very broken stuff in old releases and a mix
> of 1.0, 1.0+DBS, 1.0+quilt and 3.0) while everything else that I tried
> has failed.
Really? I do this kind of thing with one line:
$ git-import-dscs --debsnap --pristine-tar inn2
gbp:info: Downloading snapshots of 'inn2' to '/tmp/tmp0jUnBM'...
gbp:info: No git repository found, creating one.
gbp:info: Tag upstream/22.214.171.1240.01.31 not found, importing Upstream tarball
pristine-tar: committed inn2_126.96.36.1990.01.31.orig.tar.gz.delta to branch pristine-tar
gbp:info: Version '188.8.131.520.01.31-4.1' imported under 'inn2'
gbp:info: Version '184.108.40.2060.01.31-5' imported under 'inn2'
Looks like I got a full history. Can you elaborate where it failed in your case.