Download & Extend

Remove packing script data in adaptivetheme.drush.inc

Project:AdaptiveTheme
Version:7.x-3.x-dev
Component:Module Support
Category:task
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

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:

<?php
 
// 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

nobody click here