Warning: file_exists(): open_basedir restriction in effect. File(/srv/http/vhosts/aur.archlinux.org/public/web/locale//en/LC_MESSAGES/aurweb.mo) is not within the allowed path(s): (/srv/http/vhosts/aur-dev.archlinux.org/:/etc/aurweb/) in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/streams.php on line 90
AUR (en) - drush-git

Notice: Undefined variable: name in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/pkgfuncs.inc.php on line 248

Package Details: drush-git 8.1.8-1

Git Clone URL: https://aur-dev.archlinux.org/drush-git.git (read-only)
Package Base: drush-git
Description: The Drupal command-line shell, git version.
Upstream URL: http://drush.org
Licenses: GPL
Conflicts: drush
Provides: drush=8.1.8
Submitter: socketwench
Maintainer: jamesan (socketwench)
Last Packager: jamesan
Votes: 3
Popularity: 0.002100
First Submitted: 2013-09-19 01:30
Last Updated: 2016-12-14 16:37

Dependencies (5)

Required by (10)

Sources (2)

Latest Comments

1 2 Next › Last »

afaikifreedom commented on 2016-06-23 16:12

Please help me.

sanduhrs commented on 2016-01-14 18:00

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

socketwench commented on 2015-09-26 14:05

Thank you for updating, I've been far too busy to get to it myself.

socketwench commented on 2015-04-29 01:50

@jamesan: Can you issue a PR to the main repo? I'll definitely push it.


jamesan commented on 2015-04-28 22:47

The 6.0.0 version string should be 7.0.0.rc1.r36.g86742e0 currently, using the following pkgver():
pkgver() {
cd "$_pkgname"
set -o pipefail
git describe --long --tag | sed -r 's/([^-]*-g)/r\1/;s/-/./g' ||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
) 2>/dev/null

Also, you can use `composer install` to install drush and its dependencies from source with:

composer install --prefer-source --no-interaction --working-dir "$_pkgname"

I put these together along with a shorter package() function that keeps the entire drush file layout as the upstream has packaged it in the following PKGBUILD:


socketwench commented on 2015-02-19 01:14

Should be fixed now.

bavramor commented on 2015-02-18 13:37

Get also this mistake:

install: der Aufruf von stat für „./docs/drush.api.php“ ist nicht möglich: Datei oder Verzeichnis nicht gefunden

Please Fix it.


jamesan commented on 2014-12-26 15:51

Also, line 62 breaks this build as those files don't exist there anymore -- remove?

install -Dm644 ./docs/drush.api.php ${pkgdir}/usr/share/webapps/drush/drush.api.php

jamesan commented on 2014-12-26 15:42

This package correctly tracks the latest upstream git commit, but its pkgver() function doesn't calculate the correct latest release version.

It calculates:
when it should be:

I'm marking this package as out-of-date as the version string is now one full release number behind, which has implications for its use and other AUR packages that depend on drush.

jamesan commented on 2014-11-21 06:36

Additional improvements:
- add a provides=('drush') line so this package is compatible with other packages with a drush dependency
- change the pkgver() git command to include unannotated tags (i.e. git describe --long --tags) to pick up on the alpha releases of drush 7.0.0.