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

Bug#47379: [patch] local install



On Mon, Dec 08, 2003 at 12:46:27PM +0100, Michael Vogt wrote:

> I attached a patch against apt-0.5.14 that makes local installs
> possible. It's proof-of-concept for now and has a _ugly_ hack in
> it when generating the tagfile for the given debian package. 
> Nothing that can't be fixed, I just wanted to post it as it is so we
> can start discussing how to improve it.
> 
> It's very much inspired by how apt-rpm does it. It works for local
> .deb files only for now. Apt-rpm has support for build-dep, source,
> http and ftp too. We can add this later once the patch is cleaned up.  
> 
> I don't know if the patch will break the ABI. I add a new
> debSinglePkgIndex class in deb/debindexfile.h

Thanks for the patch.  If it's going to call out to dpkg, I think it should
definitely use popen or fork/exec rather than system() and a temporary file,
but that's easy to fix.

It does change the ABI by adding new classes, so it won't be going into
0.5.x.

The changes to srcrecords.cc and apt-get.cc seem unrelated; were they
intentional?

-- 
 - mdz



Reply to: