Bug 1172475 - [RFE] use argcomplete for completion
Summary: [RFE] use argcomplete for completion
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: rawhide
Hardware: Unspecified
OS: Unspecified
low
unspecified
Target Milestone: ---
Assignee: rpm-software-management
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1332819 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-12-10 07:08 UTC by Igor Gnatenko
Modified: 2023-08-10 05:34 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-08-10 05:34:03 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Igor Gnatenko 2014-12-10 07:08:55 UTC
I think would be good if we will use python module instead of bash script, because this will allow us more customize completion, for example:

--enablerepo <TAB><TAB> will show to us all disabled repos without executing `dnf repolist disabled | sed .......`

https://argcomplete.readthedocs.org/en/latest/



I can't implement this, because I don't have such time.

Comment 1 Honza Silhan 2014-12-10 09:44:24 UTC
Hi Igor, that's great idea and that would be the cleanest solution. It's sad that the best completion DNF coder don't have much time so lets keep the low priority.

Comment 2 Igor Gnatenko 2014-12-10 10:01:43 UTC
I'll try do this during weekend, but I'm not sure.

Comment 3 Honza Silhan 2016-05-09 11:44:54 UTC
*** Bug 1332819 has been marked as a duplicate of this bug. ***

Comment 4 Fedora Admin XMLRPC Client 2016-07-08 09:26:46 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 5 Neal Gompa 2016-12-07 03:57:19 UTC
Has there been any progress on this? DNF 2.0 has a completely rewritten argument parsing structure, does this help with this?

Comment 6 Jaroslav Mracek 2017-06-02 07:01:33 UTC
Please Igor is this request relevant? Please can you provide additional information about the plan here or if the solution is still compatible with our present argparser implementation?

Comment 7 Igor Gnatenko 2017-06-02 08:22:54 UTC
(In reply to Jaroslav Mracek from comment #6)
> Please Igor is this request relevant? Please can you provide additional
> information about the plan here or if the solution is still compatible with
> our present argparser implementation?

This request is definitely relevant because out bash completion is handly written and maintained... So we need something more automated (e.g. what argcomplete provides)..

So I would call this FutureFeature with low priority.

Comment 8 Jaroslav Mracek 2023-08-10 05:34:03 UTC
I consider the bug report as not relevant anymore. We used another approach to delivery a functionality.


Note You need to log in before you can comment on or make changes to this bug.