On Mar 20, 2006, at 3:50 PM, Daniel Macks wrote:
How "all packages and versions" do you mean? For example, I can do
fink list -t \*-pm\* | cut -f2,3
to get a list of the highest available version of all perlmodule
packages, or just 'cut -f2' it and feed it to
fink dumpinfo -fpackage,allversions
to get a list of all versions of each of them present in my active
Trees. But those only get what is available "now" (stable+unstable at
last selfupdate), not what's in the binary distro nor what older
versions may have been present before (i.e., if someone hasn't
selfupdated in a while) and only sees the distro (10.4-transitional,
for example) that I am running (10.3 may have a lower version, maybe
10.4 doesn't have it at all).
The scripts that populate the MySQL database that feeds the web PDB
aren't much more sophisticated than that, actually...they just use the
lower-level perl functions that 'fink list' use under-the-hood instead
of using the 'fink' command. To get the data from the different trees
and distros, they actually rewrite the local fink.conf and dists/
symlink (and store those values in the MySQL tables along with the
package data).
dan
By "all packages and versions", I probably overstated. I'm really
just looking for the most current state (meaning probably 10.4/
{stable,unstable}) but if 10.3, etc. is trivially accessible I'll use
that too.
Yes, "fink list" data are indeed exactly what I'm seeking, but the
numbers need to be accessible to a non-Mac and Macs that don't have
Fink installed. I can do "fink list" or the equivalent on my own
machine and upload the data to my own website via cron, but I was
hoping to find something a little more "official".
Perhaps someone could add a cron to PDB that just dumps the MySQL
database to a .bz2 file daily? Or the regular PDB process could dump
that file? Or does a file like that already exist and I just
overlooked it?
Chris
--
Chris Dolan, Software Developer, Clotho Advanced Media Inc.
608-294-7900, fax 294-7025, 1435 E Main St, Madison WI 53703
vCard: http://www.chrisdolan.net/ChrisDolan.vcf
Clotho Advanced Media, Inc. - Creators of MediaLandscape Software
(http://www.media-landscape.com/) and partners in the revolutionary
Croquet project (http://www.opencroquet.org/)
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel