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

Re: Package Pool Proposal



On Mon, Nov 22, 1999 at 12:53:06AM -0700, Jason Gunthorpe wrote:
> 
> On 21 Nov 1999, Guy Maor wrote:
> 
> > I am going to implement something like this.
> > 
> > The archive will look like this:
> > debian/dists/pool/{binary-arch,source}/x/package
> >   x is the first letter of the filename.  Note that packages are not
> >   organized according to section in the archive, just filename.
> 
> I would be tempted to say this should be improved:
> 
> Wakko{jgg}~/work/dsync/build/bin#apt-cache dumpavail | grep -i ^Package  |
> awk -- '{print substr($2,1,1)}' |  sort | uniq --count | sort -n | tail
>     157 f
>     190 m
>     202 t
>     206 d
>     210 c
>     270 s
>     321 g
>     323 p
>     365 x
>     857 l
> 
> That says we are looking at about 1/5 of the packages in a single
> direcotry (lib* basically) [assuming 1 ver per package]. I'd say the only
> way to deal with this is to hash the packagename/filename into one of say
> 255 buckets. That virtually makes manual downloading impossible though.. 

Why not create a symlink tree to provide the old subsections (that is
devel/base/etc..) over this new hashed tree, so odwnloading by hand can use
these ?
We could even have multiple views of the same stuff.

Friendly,

Sven LUTHER


Reply to: