Bug 1172475

Summary: [RFE] use argcomplete for completion
Product: [Fedora] Fedora Reporter: Igor Gnatenko <ignatenko>
Component: dnfAssignee: rpm-software-management
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: low    
Version: rawhideCC: akozumpl, jmracek, ngompa13, packaging-team-maint, tim.lauridsen
Target Milestone: ---Keywords: FutureFeature, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-08-10 05:34:03 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.