I also like the idea of keeping the pool tree size down. Also I think
this will help in installing packages whose names begin with numbers.
I've attached a patch that exports Tree_Mkdir() and uses the approach
proposed by Magnus Holmgren to create the minimal pool tree.
--- debpool_released/share/D
Sorry, I didn't notice that Tree_Mkdir() is meant as an internal helper to
Create_Tree(), but I can't see why it can't be exported as well.
--
Magnus Holmgren[EMAIL PROTECTED]
pgp3o1rMEArox.pgp
Description: PGP signature
Using system() to create directories is just plain silly. Here is a better
idea for the Packages.pm hunk, and why not make Tree_Mkdir() create all
components of the directory?
@@ -625,25 +625,15 @@
my($pkg_ver) = $chg_hashref->{'Version'};
my($guess_section) = Guess_Section($chg_hashr
Package: debpool
Version: 0.2.2
Severity: wishlist
Tags: patch
Hi,
it would be nice to have a minimal pool directory tree. With the patch
below debpool creates a new pool directory only when needed.
Cheers,
Free
diff -Naur debpool-0.2.2/share/DebPool/Dirs.pm
debpool-0.2.2.minimal-pool/share/D
4 matches
Mail list logo