Re: going away present

From: Date: Sun, 03 Oct 2004 16:48:38 +0000
Subject: Re: going away present
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-33629@lists.php.net to get a copy of this message
Hi Greg, et al: On Sat, Oct 02, 2004 at 02:08:49AM -0400, Greg Beaver wrote: > > <tasks:replace from="@version@" to="version" > type="package-info"/> One feature of the new system that would be very helpful is to have the ability to do some replacements at packaging time instead of install time. For example, the version number. This provides two benefits. First, people who just decompress/untar a package file will have the correct information in it. Second, the validation hashes, which are computed at package time, can be performed after the replacement, so the validation hashes will provide useful information -- as opposed to the current situation where the hash is always incorrect due to replacements having happened after the hash was generated. These benefits will be magnified if/when we accept the new Header Comment Block RFC, which asks all packages to have a version number replacement in each class' docblock. --Dan PS: And if the version number replacements were automatic instead of having to be manually declared for each file via package.xml, life would be VERY good. -- T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y data intensive web and database programming http://www.AnalysisAndSolutions.com/ 4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409

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