diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-admin/drush/files | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'app-admin/drush/files')
-rw-r--r-- | app-admin/drush/files/update-bash-completion-script-for-2.1.patch | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/app-admin/drush/files/update-bash-completion-script-for-2.1.patch b/app-admin/drush/files/update-bash-completion-script-for-2.1.patch new file mode 100644 index 000000000000..a6a9b6a0ff43 --- /dev/null +++ b/app-admin/drush/files/update-bash-completion-script-for-2.1.patch @@ -0,0 +1,39 @@ +From e0f53949d35f32d251ab003d6e9e70a7f8c0e69a Mon Sep 17 00:00:00 2001 +From: Michael Orlitzky <mjo@gentoo.org> +Date: Tue, 21 Oct 2014 19:48:37 -0400 +Subject: [PATCH 1/1] Update bash completion script for new + bash-completion-2.1 (Gentoo bug #526222). + +* Don't use `which drush ...` to detect the presence of drush in the + bash-completion script (https://github.com/drush-ops/drush/issues/521). + +* Don't install completions for commands that we don't "own" + (https://github.com/drush-ops/drush/issues/915). + +--- + drush.complete.sh | 5 +---- + 1 file changed, 1 insertion(+), 4 deletions(-) + +diff --git a/drush.complete.sh b/drush.complete.sh +index 067a67c..2f97317 100644 +--- a/drush.complete.sh ++++ b/drush.complete.sh +@@ -5,9 +5,6 @@ + # examples/example.bashrc instead, as it will automatically find and source + # this file. + +-# Ensure drush is available. +-which drush > /dev/null || alias drush &> /dev/null || return +- + __drush_ps1() { + f="${TMPDIR:-/tmp/}/drush-env/drush-drupal-site-$$" + if [ -f $f ] +@@ -31,4 +28,4 @@ _drush_completion() { + } + + # Register our completion function. We include common short aliases for Drush. +-complete -o bashdefault -o default -o nospace -F _drush_completion d dr drush drush5 drush6 drush7 drush.php ++complete -o bashdefault -o default -o nospace -F _drush_completion drush +-- +2.0.4 + |