Package Details: drush 8.1.8-1

Git Clone URL: https://aur.archlinux.org/drush.git (read-only)
Package Base: drush
Description: Drush is a command line shell and Unix scripting interface for Drupal.
Upstream URL: https://github.com/drush-ops/drush/
Keywords: admin administration api command drupal drush interface line scripting shell
Licenses: GPL
Submitter: jheretic
Maintainer: supermario (sanduhrs)
Last Packager: sanduhrs
Votes: 48
Popularity: 0.007705
First Submitted: 2009-10-15 17:33
Last Updated: 2016-12-01 09:30

Latest Comments

supermario commented on 2016-01-15 13:28

@dmp1ce your php.ini setting for phar readonly was on. I have updated the pkgbuild to temporarily turn it off as well as bumping the version.

sanduhrs commented on 2016-01-14 17:59

Alternative package for drush https://aur.archlinux.org/packages/drush-alternative/

sanduhrs commented on 2016-01-14 15:40

@dmp1ce I am not a co-/maintainer of this project.

dmp1ce commented on 2016-01-14 15:28

@sanduhrs Why not add it to the AUR?

This project also does not build for me.

==> Starting build()...
Building...



[UnexpectedValueException]
creating archive "/tmp/yaourt-tmp-david/aur-drush/src/drush-8.0.1/drush.phar" disabled by the php.ini setting phar.readonly



build [-c|--configuration CONFIGURATION]

sanduhrs commented on 2016-01-04 16:57

Find an updated and simplified package at https://github.com/sanduhrs/arch-aur-drush

alfazaz commented on 2015-12-29 09:26

Problem at compilation for me (package out of date ?) :

***********
==> Validation des fichiers sources avec md5sums...
8.0.0.tar.gz ... Réussite
Console_Table-1.2.1.tgz ... ÉCHEC
==> ERREUR : Un ou plusieurs fichiers sont invalides !
==> ERREUR: Makepkg n'a pas pu construire drush.
***********

(bad md5sum for Console_Table-1.2.1.tgz)

trzalica commented on 2015-11-28 21:28

After many attempts to configure php.ini and drush.ini file so Drush 8 can work like the Drush 6 & 7 worked, and even recompiling this package (you should install it under /usr/share/drush and not /usr/share/webapps/drush because from what I see it's meant to be in /usr/share/drush - it gaves almost no errors when you make it on that way; don't know why but that's the case). So after all that I gave up because if you uncomment open_basedir in php.ini it gaves you a warning... So I installed Drush 8 with Composer and now it works like a charm ( http://docs.drush.org/en/master/install-alternative/ ).
You should try to edit/rebuild this package so it can work with open_basedir activated (uncommented). Cheers! :)

trzalica commented on 2015-11-25 18:19

But I don't understand what changed so significately in Drush 8 that I need to adjust my configuration which by the way, worked flawlesly with Drush 6 & 7??

Because, maybe I wasn't clear in my previous comment - everything worked with Drush 6 & 7 and now that configuration isn't good enough for Drush 8. I mean, wt.? :)

Thanks for help EduardoLeggiero! :)

EDIT: I tried to comment open_basedir line in /etc/php/php.ini file and it works now. I will also try out to override settings in drush.ini so I can revert php.ini change that I made.

EduardoLeggiero commented on 2015-11-25 10:01

Hi trzalica,

You need to follow the instructions that apeer after package installation:

----------------------------------------------------------------
Drush is meant to be run from the root directory of your Drupal
install by default. Look at /usr/share/doc/drush/ for an example
drushrc.php config and example plugin.
----------------------------------------------------------------
Additionally, if your php.ini settings are too restrictive,
you may have to override some of the settings using drush.ini
in either your home directory (~/.drush.ini) or in
/etc/drush/drush.ini for system-wide changes.

Or you can just comment the following line on your /etc/php/php.ini:
; open_basedir = /srv/http/:/home/:/tmp/:/usr/share/pear/:/usr/share/webapps/

trzalica commented on 2015-11-24 20:22

After this newest upgrade (to drush 8) drush doesn't work... I get this output in the terminal window:
The following restricted PHP modes have non-empty values: [error]
open_basedir. This configuration is incompatible with drush. Please
check your configuration settings in /etc/php/php.ini or in your
drush.ini file; see examples/example.drush.ini for details.
file_exists(): open_basedir restriction in effect. File(/usr/share/doc/drush/README.md) is not [warning]
within the allowed path(s):
(/srv/http/:/home/:/tmp/:/usr/share/pear/:/usr/share/webapps/:/usr/share/webapps/drupal/:/var/lib/drupal/:/usr/lib/drush/:/etc/drush/:/usr/share/drush/:/usr/share/pear)
preflight.inc:383
is_dir(): open_basedir restriction in effect. File(/usr/share/drush/commands) is not within the [warning]
allowed path(s):
(/srv/http/:/home/:/tmp/:/usr/share/pear/:/usr/share/webapps/:/usr/share/webapps/drupal/:/var/lib/drupal/:/usr/lib/drush/:/etc/drush/:/usr/share/drush/:/usr/share/pear)
preflight.inc:484
PHP configuration : /etc/php/php.ini /etc/drush/drush.ini /home/rogi/.drush/drush.ini
PHP OS : Linux
Drush script : /usr/share/webapps/drush/drush
Drush version : 8.0.0
Drush temp directory : /tmp
Drush configuration :
Drush alias files : /etc/drush/example.aliases.drushrc.php /home/rogi/.drush/aliases.drushrc.php

All comments