On Mon, Nov 05, 2007 at 07:35:08AM +0100, Mike Hommey wrote:
> On Sun, Nov 04, 2007 at 03:37:28PM +0100, Guido Guenther wrote:
> > Hi Mike,
> > On Fri, Nov 02, 2007 at 09:46:48PM +0100, Mike Hommey wrote:
> > > Well, everything is in the subject. One of the culprits is copy_from(),
> > > which reads/writes the whole tree one while it is far from necessary.
> > What would you recommend? Using hardlinks? We can't untar right into the
> > git repo since we might need to mangle/filter files. Any suggestions are
> > very welcome.
> 
> Why do you need to mangle/filter files ?
To get the exact directory names, but this can probably be achieved with
a combination of --strip and -C - I'll have a look.

> > > Another one is the fact that import-dsc also runs dpkg-source -x, which
> > > means the .orig.tar.gz gets uncompressed and written out twice.
> > What should we do about this? Not using "dpkg-source -x" would mean
> > getting into the "details" of how debian patches are being applied -
> > that's easy enough at the moment since we only have a single diff.gz but
> > we'd have to keep up with changes in the packaging format ourselves
> > then or am I missing something?
> 
> We won't get a different source format before some time, so in the
> meanwhile, options can surely be added to dpkg-source... but even so,
> IIRC the new source format allows to have several orig tarballs, which
> would require special care from git-buildpackage... so you'll need to
> get into the details anyway.
You're probably right. Running git-apply debian-patch would safe quiet
some time. I'll have a look too but please don't hold your breath.
Cheers,
 -- Guido



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to