Re: feature requests galore!!!

Jef Spaleta <[email protected]> 25 Aug 2002 14:35:14 -0400
Newsgroups gmane.linux.redhat.rpm.grab
Message-ID <1030300514.17951.36.camel@goober>
On Sun, 2002-08-25 at 14:24, Jeff Johnson wrote:
> Yes, Red Hat specific, but the functionality is available in rpm no
matter
> what. If you want the glop cached, but for a custom, non Red Hat
centric,
> collection of packages, use the same format. Attached is
/usr/lib/rpm/getpo.sh
> that generates the (highly compressible) specspo format file from a
collection
> of packages.
> 
> 'Tain't hard, just obscure.


just obscure...and it would have to be done on the server side....its
not something grab as a program can do...the server maintainers have to
build it....and they arent doing that....not it might be a good idea to
have grab look at specspo modules....but I don't think you can rely on
packagers to create accurate specpo files.  The only way grab can
garuntee that deps are pulled correctly is to pull them from the rpm
headers from the rpm sitting on the ftp server.  If a package vendor
wants to create a specspo like rpm that can be downloaded great....and
if greg wants to change how he caches the header info locally to the
specspo format...that might be a very good idea....but he still has to
pull the headers and cache the information atleast once, since you can't
garuntee that ftp servers from 3rd parties are going to have a similar
specspo file to install.   


whether or not specpo file format is better than the hash grab is
currently using is something greg will have to play with if he wants.  I
dont care what format grab uses internally to cache rpm header
info...grab still has the pull the headers once from the remote
rpms....or look rely on the server maintainers to build a specspo
package for their server listing for grab to download...and thats just
isnt going to happen consistantly...grab needs to be able to talk to
vanilla ftp servers.

-jef