[med-svn] [Git][med-team/q2cli][master] Revert "Upstream seems to have dropped zsh command line completion"

Liubov Chuprikova gitlab at salsa.debian.org
Sat Dec 14 23:04:12 GMT 2019



Liubov Chuprikova pushed to branch master at Debian Med / q2cli


Commits:
de54edc8 by Liubov Chuprikova at 2019-12-14T23:03:04Z
Revert "Upstream seems to have dropped zsh command line completion"

This reverts commit bc77d875b5097078cb7b82e0e29e9b016b5f4044.

- - - - -


3 changed files:

- debian/changelog
- debian/qiime.1
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -4,11 +4,6 @@ q2cli (2019.10.0-1) UNRELEASED; urgency=medium
   * New upstream version
   * Standards-Version: 4.4.1
   * Drop unneeded patches
-  * Upstream seems to have dropped zsh command line completion
-  TODO: The dir q2tamplates is pretty much a copy of package q2templates -
-        specifically its also carrying the third party JS + fonts stuff
-        we just excluded in q2templates.  It might be worth investigating
-        whether this can be removed in q2cli completely
 
  -- Andreas Tille <tille at debian.org>  Tue, 12 Nov 2019 09:39:41 +0100
 


=====================================
debian/qiime.1
=====================================
@@ -11,6 +11,11 @@ QIIME 2 command\-line interface (q2cli)
 \fB\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\fR
 .IP
 To get help with QIIME 2, visit https://qiime2.org.
+.IP
+To enable tab completion in ZSH, run the following commands or add them to
+your .zshrc:
+.IP
+autoload bashcompinit && bashcompinit && source \fI\,/usr/share/bashcompletion/completions/qiime\/\fP
 .SH OPTIONS
 .TP
 \fB\-\-version\fR


=====================================
debian/rules
=====================================
@@ -9,3 +9,8 @@ override_dh_auto_test:
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 	LC_ALL=C.UTF-8 dh_auto_test -- -s custom --test-args='cd {build_dir}; HOME=${CURDIR} QIIMETEST= nosetests3'
 endif
+
+override_dh_install:
+	dh_install
+	mkdir -p debian/$(DEB_SOURCE)/usr/share/bash-completion/completions
+	mv debian/$(DEB_SOURCE)/usr/bin/tab-qiime debian/$(DEB_SOURCE)/usr/share/bash-completion/completions/qiime



View it on GitLab: https://salsa.debian.org/med-team/q2cli/commit/de54edc82504fa51d0ca3e4edf0a77d6d691d52d

-- 
View it on GitLab: https://salsa.debian.org/med-team/q2cli/commit/de54edc82504fa51d0ca3e4edf0a77d6d691d52d
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20191214/e93a144d/attachment-0001.html>


More information about the debian-med-commit mailing list