Re: Replacement of placeholders at packaging time, not installationtime

From: Date: Fri, 27 Jan 2006 17:21:28 +0000
Subject: Re: Replacement of placeholders at packaging time, not installationtime
References: 1 2 3  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-41114@lists.php.net to get a copy of this message
Sebastian Bergmann wrote: >>"Note that package-info replacements are performed at packaging time, >>so files contain package-info replacements inside a .tgz/.tar release. >>pear-config replacements can only occur on the installation system, and >>are performed at install-time." > > > Is that new for package2.xml / PEAR 1.4? Yes it is, and is not implemented in package.xml (BC reasons) In fact, there are 2 major changes to behavior in package2.xml that all developers need to know about: 1) package-info replacements are performed at packaging time 2) required dependencies are automatically downloaded and installed if not installed already. On "upgrade" they are also automatically upgraded if newer versions are present These features were not implemented in package.xml because it would instantly change expected behavior for existing packages, which is not always a good thing, in my opinion. Greg

« previous php.pear.dev (#41114) next »