Re: importing in git the history of a Debian package
Hi,
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.
>
> http://www.linux.it/~md/software/import-inn2.sh
Interesting.
> 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/2.2.2.2000.01.31 not found, importing Upstream tarball
pristine-tar: committed inn2_2.2.2.2000.01.31.orig.tar.gz.delta to branch pristine-tar
gbp:info: Version '2.2.2.2000.01.31-4.1' imported under 'inn2'
gbp:info: Version '2.2.2.2000.01.31-5' imported under 'inn2'
....
Looks like I got a full history. Can you elaborate where it failed in your case.
Reply to: