Re: ro access to package versions
| From: | Greg Beaver | Date: | Fri, 17 Dec 2004 15:05:24 +0000 |
| Subject: | Re: ro access to package versions | ||
| References: | 1 | Groups: | php.pear.webmaster |
| Request: | Send a blank email to pear-webmaster+get-3577@lists.php.net to get a copy of this message | ||
Steve Dibb wrote:
Hi guys, I'm working on a script for Gentoo to automatically create ebuilds of all the PEAR packages (which are badly outdated). I poked through the PEAR packages on my hd to see if there was any repository data, but I couldn't find any, and I'm assuming it's hititng your server to get the latest package info. Right now, I'm getting my data by scraping it using "pear remote-info <package>", which works fine, though its a bit tedious. Plus as screen scrapes go, they can break anytime the data format changes. What I wanted to know is if there's some file I'm missing that has the current repository/dependency info that's local on my box that I can grep through OR if there's not -- is there anyway I could get read-only access to that data somehow? CSV, DB access, anything in stylized format would be great. All I need is this: package name package version [stable] package version [latest]you can grep through the results of "pear remote-list", or you can create a simple script that retrieves the results of calling package.listAll through xml-rpc at http://pear.php.net/xmlrpc.php, which would be simpler, methinks. Regards, Greg