All core modules have repeating version name with version value of the first VERSION
; $Id: ping.info,v 1.3 2006/11/21 20:55:35 dries Exp $
name = Ping
description = Alerts other sites when your site has been updated.
package = Core - optional
version = VERSION
; Information added by drupal.org packaging script on 2008-01-29
version = "5.7"
project = "drupal"
datestamp = "1201565404"
The version name should not put in the info file by hand.
| Comment | File | Size | Author |
|---|---|---|---|
| VERSION.patch | 14.12 KB | clemens.tolboom |
Comments
Comment #1
webernet commentedThis is done intentionally to aid users who deploy directly from CVS.
Comment #2
clemens.tolboom@drupal.org commentedI still would vote against this 'to aid users who deploy directly from CVS'.
As stated in http://drupal.org/node/101009 it is discouraged to use version altogether.
Instead I would patch drupal_parse_info_file instead. This would make the info files better machine readable as there is no 'business rule' in it.
Does this makes sense?
Comment #3
lilou commented