Tuesday, December 10, 2019

[389-commits] [389-ds-base] branch 389-ds-base-1.4.0 updated: Issue 50758 - Need to enable CLI arg completion

This is an automated email from the git hooks/post-receive script.

mhonek pushed a commit to branch 389-ds-base-1.4.0
in repository 389-ds-base.

The following commit(s) were added to refs/heads/389-ds-base-1.4.0 by this push:
new ea0af42 Issue 50758 - Need to enable CLI arg completion
ea0af42 is described below

commit ea0af4261d07f07c1b6c020d98dca667dcf041cd
Author: Viktor Ashirov <vashirov@redhat.com>
AuthorDate: Mon Dec 9 16:11:36 2019 +0100

Issue 50758 - Need to enable CLI arg completion

Bug Description:

`activate-global-python-argcomplete` creates a file that belongs to
another package. We shouldn't do that.

Fix Description:

Don't call `activate-global-python-argcomplete` as the completion is
active by default when `python3-argcomplete` is installed on a system.

Relates: https://pagure.io/389-ds-base/issue/50758

Reviewed by: mhonek, mreynolds (Thanks!)

(cherry picked from commit ec229f7d11c60094fa18dca0f058bd3f48869b0b)
---
rpm/389-ds-base.spec.in | 3 ---
1 file changed, 3 deletions(-)

diff --git a/rpm/389-ds-base.spec.in b/rpm/389-ds-base.spec.in
index a46fd92..4da5fd1 100644
--- a/rpm/389-ds-base.spec.in
+++ b/rpm/389-ds-base.spec.in
@@ -468,9 +468,6 @@ if ! make DESTDIR="$RPM_BUILD_ROOT" check; then cat ./test-suite.log && false; f
rm -rf $RPM_BUILD_ROOT

%post
-# activate arg completion for CLI tools
-activate-global-python-argcomplete > /dev/null
-
if [ -n "$DEBUGPOSTTRANS" ] ; then
output=$DEBUGPOSTTRANS
output2=${DEBUGPOSTTRANS}.upgrade

--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
389-commits mailing list -- 389-commits@lists.fedoraproject.org
To unsubscribe send an email to 389-commits-leave@lists.fedoraproject.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/389-commits@lists.fedoraproject.org

No comments:

Post a Comment