Remove "version" from .info file
bennybobw - August 21, 2007 - 22:53
| Project: | AutoPilot |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
I CVSed this module and am getting the following error;
warning: Error parsing sites/drupal5/modules/autopilot/autopilot.info on line 1 in /home/bennybobw/www/drupal5/drupal/includes/module.inc on line 195.
The first line needs a ; in front of it.
Also, mine is showing up like this, it looks like VERSION might be in there twice:
$Id: autopilot.info,v 1.1 2007/08/20 23:38:07 acstewart Exp $
name = AutoPilot Drupal Build Manager
description = Handles the build and release of new code
version = VERSION
version = "5.0"
project = "drupal"
#1
Yeah, the version now gets added by the packaging scripts on Drupal.org and the version = VERSION should be taken out of the .info file altogether.
#2
The problem is that there is a missing ; before $Id
line 1 should be:
; $Id: autopilot.info,v 1.1 2007/08/20 23:38:07 acstewart Exp $#3
Changing title to better reflect the issue