schlitt.info - php, photography and private stuff ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :Author: Tobias Schlitt :Date: Wed, 19 Nov 2008 23:29:46 +0100 :Revision: 1 :Copyright: CC by-nc-sa ======================= PEAR 1.4 at the horizon ======================= :Description: Especially Greg Beaver and of course many others have done a great job and the implementation of PEAR 1.4 will possibly reach a new milestone by the end of this week 1. Of course this version of the PEAR core brings a huge lot of new features. Especially Greg Beaver and of course many others have done a great job and the implementation of PEAR 1.4 will possibly reach a new milestone by the end of this week `1`__. Of course this version of the PEAR core brings a huge lot of new features. .. __: http://greg.chiaraquartet.net/archives/24-Release-of-PEAR-1.4.0a1-will-be-this-week-with-your-help.html - The installer now supports channels, which means, that everyone is free to set up a PEAR like repository and integrate it directly into the installer, using a channel.xml. Multiple channels can be accessed directly from one of the installer interfaces (console, HTML, GTK). Setting up a PEAR like repository will be allowed using the new package PEAR_Server `2`__ `3`__. - Another new feature of the installer are real post install scripts, which give the developer a flexible way to customize the package installation and procede further installation steps beside file installation (like setting up a MySQL database as PEAR_Server does) `4`__. This is especially interessting for delivering complete applications with the pear installer instead of just components. - One of the greatest new advantages is the automatic resolution of package dependencies `5`__, `6`__. Using different options you can download all (including optional) dependcies or just necessary ones. Dependencies can be bundled in groups, which can take a help text to describe their sense. - The package.xml file (which has been shown a bit crappy with time moving on) has been nicely refactored, allowing comfortable usage of the new installer features `7`__, `8`__. The conversion between the old and new format is quite simple, using the pear convert command. New PEAR packages will contain both, a package.xml and a package2.xml, so that installation is BC. - Another nice feature is the installation of PECL binary packages. I guess this will make especially our Windows related friends pretty happy. :) - A whole bunch of new installer commands are available, like pear convert as mentioned above. channel-autodiscover, for receiving the settings for a channel automatically through a web URL, and channel-alias, for creating shortcuts for channel URIs are just a few from the channel section. I recently updated to the latest CVS co of `pear-core`__ and created my first `package2.xml`__. This part and installations work like a charm. I also discovered Gregs developmnet channel and installed packages from there. The installation of PEAR_Server was not possible here some time ago, so I will try that tomorrow again. Last time post install scripts broke down with some database problems. All in all this release seems to be quite stable from the client side to me and I guess with Gregs ammount of testing it will mature pretty fast. .. __: http://greg.chiaraquartet.net/archives/19-Its-official-pear.chiaraquartet.net-is-live.html .. __: http://greg.chiaraquartet.net/archives/18-PEAR_Server-0.8.0-is-available-for-download.html .. __: http://greg.chiaraquartet.net/archives/1-Update-to-post-install-scripts.html .. __: http://greg.chiaraquartet.net/archives/15-Dependencies-in-PEAR-1.4.0,-Part-1.html .. __: http://greg.chiaraquartet.net/archives/21-Dependencies-in-PEAR-1.4.0,-Part-2.html .. __: http://cvs.php.net/pear-core/package2.xml .. __: http://cvs.php.net/pear/Net_FTP/package2.xml .. __: http://cvs.php.net/pear-core/ .. __: http://cvs.php.net/pear/Net_FTP/package2.xml So far: A nice product! :) .. Local Variables: mode: rst fill-column: 79 End: vim: et syn=rst tw=79 Trackbacks ========== - A look at package2.xml and how to create a PEAR 1.4 package. on Fri, 25 Feb 2005 21:18:22 +0100 in Tobias Schlitt - Weblog I recently gave an overview on what will be new in PEAR 1.4, this time I'd like to start publishing some more detailed info on PEAR 1.4 news. Today's topic is package.xml version 2 and how to create a PEAR 1.4 package. This little article covers the crea - Set up your own PEAR channel on Sun, 27 Feb 2005 11:55:45 +0100 in Tobias Schlitt - Weblog Another little tutorial in my little series on PEAR 1.4, which has been released gracefully a couple of hours ago in it's first alpha versions. This time, I will give you some hints on setting up your own PEAR channel server. Btw. you can discover and us Comments ========