Re: feature requests galore!!!
Greg Kurtzer <[email protected]> Mon, 26 Aug 2002 12:12:08 -0700
| Newsgroups | gmane.linux.redhat.rpm.grab |
|---|---|
| Message-ID | <[email protected]> |
I think that you are right... With a well crafted query line I can do it in
one connection!
I will look at the code, and see what I can do.
Thanks!
Greg
On Mon, Aug 26, 2002 at 02:36:10PM -0400, Jef Spaleta wrote:
> This is an interesting rpm query line
>
> rpm -q --qf "Vendor: %{VENDOR}\n Packager: %{PACKAGER}\nRequires:\n" \
> --requires --qf "\nProvides:\n" --provides \
> -p ftp://ftp.dulug.duke.edu/ftp.redhat.com/pub/redhat/linux/7.3/en/os/i386/RedHat/RPMS/xchat-1.8.8-5.i386.rpm
>
>
> something like this should be parsable by grab to fill in the hash
> table. So inside grab you can use the rpm -q line to grab the header
> from the package on the remote server....output all the header
> information you want to stdout....and then parse it with perl into the
> hash.
>
>
>
>
>
> _______________________________________________
> Grab mailing list
> [email protected]
> http://www.runlevelzero.net/mailman/listinfo/grab
--
Greg Kurtzer
[email protected]
http://www.runlevelzero.net
LINUX,... The choice of a GNU generation!
:wq