Danek Duvall wrote:
>
> Okay.  I have no insight into how the current code would perform if this
> were done a whole lot, over a slow link, etc.  Note, though, that the data
> locally isn't a cache of everything that's on the server, it's a cache only
> of the packages you have installed.

Hm, now I see where this thread comes from.. I didn't realize that.

Supporting a local cache of all available package data would be very
useful. Having to access the pkg server(s) every time is not efficient
for either side.

An example might show it well. The following are local operations,
very fast, no network access required and no load on pkg servers.


% apt-cache search php5 pear extension
php-pear - PEAR - PHP Extension and Application Repository
php4-pear - PHP Extension and Application Repository (transitional package)

% apt-cache show php-pear
Package: php-pear
Priority: optional
Section: web
Installed-Size: 2188
Maintainer: Debian PHP Maintainers <[EMAIL PROTECTED]>
Architecture: all
Source: php5
Version: 5.2.0-8+etch5~pu1
Replaces: php4-pear (<< 4:4.4.0-0)
Depends: php5-cli | php4-cli, php5-common (>= 5.2.0-8+etch5~pu1)
Recommends: gnupg
Suggests: php5-dev | php4-dev
Filename: pool/main/p/php5/php-pear_5.2.0-8+etch5~pu1_all.deb
Size: 306894
MD5sum: 691c61c729548a19cecc04a730334af6
SHA1: 046d8a8bc448d1fbf4adb5938121296a39f3cdc0
SHA256: bdee5de17e9e683360502df90f297d0817b21bdec5d421461e08efd2df228727
Description: PEAR - PHP Extension and Application Repository
 This package contains the base PEAR classes for PHP, as well as the PEAR
 installer.  Many PEAR classes are already packaged for Debian, and can be
 easily identified by names beginning with "php-", such as php-db and
 php-auth.  Note: to build and install precompiled PECL extensions, you
 will need one of the php development packages installed.
 .
 PHP5 is an HTML-embedded scripting language. Much of its syntax is borrowed
 from C, Java and Perl with a couple of unique PHP-specific features thrown
 in. The goal of the language is to allow web developers to write
 dynamically generated pages quickly.
Tag: devel::lang:php, implemented-in::php, role::shared-lib


-- 
Jyri J. Virkki - [EMAIL PROTECTED] - Sun Microsystems
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to