Friday, March 11, 2011

102.8 Fever In A 5 Year Old

Solving dl drush




came
using drush In Windows, I got an error like:
C: \\ bin \\ dev \\ xampp171 \\ htdocs \\> drush drupal-6.20 dl
Source directory [error]
 
C: \\ Users \\ compaq \\ AppData \\ Local \\ Temp/drush_tmp_1299865530/drupal
not is readable or does not exist. Project
drupal (6.20) not could be downloaded to [error]

 investigating, is due to an issue documented in 
http://drupal.org/node/1078318
.
Alli proveen tambiƩn el parche
http://drupal.org/files/issues/drush-1078318.patch
:

diff --git a/commands/pm/pm.drush.inc b/commands/pm/pm.drush.inc index e39096a..18ec069 100644 --- a/commands/pm/pm.drush.inc
+++ b/commands/pm/pm.drush.inc @@ -1858,7 +1858,7 @@ function pm_parse_project_version($requests) { function pm_project_types() {
// Lookup the 'Project type' vocabulary to some standard strings.
$types = array(
 -     
'core' => 'Drupal project',
 
+
'core' => 'Drupal core ',

' profile '=>' Installation profiles',
'module' => 'Modules',
' theme '=>' Themes', is, has been a change in the value core field of
'Drupal project' to 'Drupal core'
, because, as I understand, to a change in the taxonomy used in the drupal project. The issue is March 2, but I've just noticed this week.

workaround, apply the patch to drush you have installed. You can manually. For example, in Windows, locate the pm.drush.inc

: C: \\ bin \\ dev \\ drush \\ commands \\ pm \\ pm.drush.inc:

pm_project_types function () { / / Lookup the 'Project type' vocabulary to Some standard strings. $ types = array (
'core' => 'Drupal project',
'profile' => 'Installation profiles', ' module '=>' Modules', 'theme' => 'Themes '
' theme engine '=>' Theme engines'
) 
return $ types;}





0 comments:

Post a Comment