Package Details: drush-git 9.0.0.alpha1.r159.g8042c32-1

Git Clone URL: https://aur.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=9.0.0.alpha1.r159.g8042c32
Submitter: socketwench
Maintainer: jamesan (socketwench)
Last Packager: jamesan
Votes: 3
Popularity: 0.053757
First Submitted: 2013-09-19 01:30
Last Updated: 2016-08-14 21:27

Dependencies (5)

Required by (10)

Sources (2)

Latest Comments

afaikifreedom commented on 2016-06-23 16:12

Please help me.
http://pastebin.com/Pj8vhDNq

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.

https://github.com/socketwench/arch-drush-git

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:

https://github.com/jamesan/aur-pkgs/blob/master/drush-git/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.

Thx

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:
6.0.0-1160-g763fad5;
when it should be:
7.0.0.alpha7.r70.g763fad5.

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.

All comments