RE: [PEAR-DEV] Re: coding standards: Header Comment Blocks
| From: | Tobias Schlitt | Date: | Tue, 08 Jun 2004 13:27:03 +0000 |
| Subject: | RE: [PEAR-DEV] Re: coding standards: Header Comment Blocks | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-30162@lists.php.net to get a copy of this message | ||
Hi Stephan Schmidt! You wrote:
>> +10 on this solution. This should become general standard for
>> all packages
>> and files.
> Is the file version always identical with the package version?
> I will not adopt this for my packages, unless PEAR_PackageFileManager
> automatically does this, as I always generate the filelist and I would
> have to add this manually, which is painful with packages that use a lot
> of files.
These are 2 different pairs of shoes. The file version is replaced by CVS
automatically on every commit ($revision$ afaik). The other string
(@version@) will be replaced by the installer during installation. It's
quite fine (IMHO) to have both version numbers in the files @version tag.
Regards,
Toby
--
Tobias Schlitt
a passion for php http://www.schlitt.info