pear package in 4.3.x releases

php.internals

Brian J. France

21 years ago
Was the removal of most pear package in 4.3.11 intentional? Will any of them come back, will any of the .11 packages be removed or an other changes coming? Don't care either way, just want to know what the plan is. Thanks, Brian # > ls -alF php-4.3.1?/pear/packages/ php-4.3.10/pear/packages/: total 789 drwxr-xr-x 2 bfrance users 512 Dec 14 09:52 ./ drwxr-xr-x 10 bfrance users 512 Dec 14 09:55 ../ -rw-r--r-- 1 bfrance users 566272 Apr 9 2004 DB-1.6.2.tar -rw-r--r-- 1 bfrance users 11776 Jan 25 2004 HTTP-1.2.2.tar -rw-r--r-- 1 bfrance users 67584 Apr 9 2004 Mail-1.1.3.tar -rw-r--r-- 1 bfrance users 48640 Nov 27 13:31 Net_SMTP-1.2.6.tar -rw-r--r-- 1 bfrance users 15872 Jul 22 2002 Net_Socket-1.0.1.tar -rw-r--r-- 1 bfrance users 26112 Feb 23 2003 XML_Parser-1.0.1.tar -rw-r--r-- 1 bfrance users 52224 Apr 9 2004 XML_RPC-1.1.0.tar php-4.3.11/pear/packages/: total 267 drwxr-xr-x 2 bfrance users 512 Mar 30 06:35 ./ drwxr-xr-x 10 bfrance users 1024 Mar 30 06:35 ../ -rw-r--r-- 1 bfrance users 102400 Mar 28 09:02 HTML_Template_IT-1.1.tar -rw-r--r-- 1 bfrance users 41984 Mar 28 09:02 Net_UserAgent_Detect-2.0.1.tar -rw-r--r-- 1 bfrance users 106496 Mar 28 09:02 XML_RPC-1.2.2.tar

Greg Beaver

21 years ago
Brian J. France wrote:
> Was the removal of most pear package in 4.3.11 intentional?
Yes.
> Will any of them come back, will any of the .11 packages be removed or > an other changes coming?
No. The only other change being considered for the future would be to make it easier to install PEAR by providing a single file containing all resources, but this is still very much on the drawing board, and would not affect the packages ultimately installed.
> Don't care either way, just want to know what the plan is.
The plan is to rely on users installing these packages. It was becoming increasingly difficult to maintain the bundles, and because older versions were often bundled, it introduced potential security risks as well. Greg

Andreas Korthaus

21 years ago
Greg Beaver wrote:
>> Was the removal of most pear package in 4.3.11 intentional? > > Yes. >
Has this been announced somewhere? I did not see anything in ChangeLog and release notes.
> The only other change being considered for the future would be to > make it easier to install PEAR by providing a single file containing all > resources, but this is still very much on the drawing board, and would > not affect the packages ultimately installed.
If you have a shell-account and you are superuser, it is not difficult to install pear/packages. If you are not superuser, it becomes more difficult. But if you don't have a shell-account installation becomes really hard. go-pear for web does not work 100%, same for web-installer. Some people cannot use it at all, because it simply does not work. So often your only option is to install pear/packages by uploading the extracted php-files from your PC.
> The plan is to rely on users installing these packages. It was becoming > increasingly difficult to maintain the bundles, and because older > versions were often bundled, it introduced potential security risks as > well.
One of the biggest problems of pear is, that most people simply cannot use it! If I recommend people using pear-package XY, in 4 of 5 cases the user could not use the package because it is not installed, and he has no idea how to get it work. I know it is possible, but if you install it the first time it could become really hard. If you want to rely on users to install packages (which is a good idea IMHO) all users (not only superusers) need a reliable tool for installation/management (also without shell-account). best regards Andreas

Sean Coates

21 years ago
Andreas Korthaus wrote:
> If you want to rely on users to install packages (which is a good idea > IMHO) all users (not only superusers) need a reliable tool for > installation/management (also without shell-account). >
Greg has made significant progress in this area (PEAR 1.4's remote installation capabilities, for example). The pear-dev and pear-core archives might be interesting to you (http://news.php.net/php.pear.dev && http://news.php.net/php.pear.core). S

Greg Beaver

21 years ago
Andreas Korthaus wrote:
> Greg Beaver wrote: > >>> Was the removal of most pear package in 4.3.11 intentional? >> >> >> Yes. >> > > Has this been announced somewhere? I did not see anything in ChangeLog > and release notes.
This and the other issues you raise below are PEAR issues, not internals issues, and are/have been/will be discussed on pear-dev@lists.php.net and pear-core@lists.php.net
> If you want to rely on users to install packages (which is a good idea > IMHO) all users (not only superusers) need a reliable tool for > installation/management (also without shell-account).
PEAR 1.4.0 can install packages from your local dev box to a remote box over ftp. Greg