Active
Project:
AdaptiveTheme
Version:
7.x-3.x-dev
Component:
Module Support
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
12 Dec 2012 at 16:23 UTC
Updated:
14 Nov 2014 at 14:35 UTC
Jump to comment: Most recent
I think we should attempt to strip out the packing information when generating a new sub-theme using drush, something like this might do the trick:
// Alter the contents of the .info file based on the command options.
$alterations = array(
'= AT Subtheme' => '= ' . $name,
'= adaptivetheme' => '= ""'; // attempt to strip out the project name added by the drupal packing script
);
Talking about removing this sort of stuff from the subtheme when its generated:
; Information added by drupal.org packaging script on 2012-08-29
version = "7.x-3.1"
core = "7.x"
project = "adaptivetheme"
datestamp = "1346238662"
From what I can tell this causes problems with Drush update:
http://drupal.org/node/1641878#comment-6836698
http://drupal.org/node/1532166#comment-5955848
Comments
Comment #0.0
Jeff Burnz commentedadd example of what we want to remove
Comment #1
sgdev commentedI do agree with this Jeff. We were continually seeing the error in Drush, and thought it was most likely due to something we had set up incorrectly. Removing the packing information takes care of it. Thanks for posting!