Learn more about these different git repos.
Other Git URLs
Hello,
If I use fedpkg clone, and semi-enter a package name and press tab, the console spits out the following:
fedpkg clone kf5-kjob<Where I pressed TAB>Command line error: argument -C/--cacheonly: ignored explicit argument 's' at 06:32:16 Command line error: argument -C/--cacheonly: ignored explicit argument 's'
To be clear, I'm not sure there's any way for it to guess what I am entering, so I think autocomplete should just literally not work in this scenario.
Technical background: fedpkg executes a completer: https://pagure.io/fedpkg/blob/master/f/fedpkg/completers.py#_40 In your case it runs:
repoquery -C --qf=%{sourcerpm} kf5-kjob* | sed -r 's/(-[^-]*){2}\.src\.rpm$//'
On my machine, it returns: kf5-kjobwidgets. Only because this package is already installed on the machine. When it is not present, it should not complete the rest of the query. On your machine, there is probably something wrong with the repoquery command's arguments.
kf5-kjobwidgets
This completer tries to help at least a little. I guess the better/valid result would be to query a list of repositories on dist-git server. I haven't analyzed the possible solution so far, but I am afraid such query would take quite a long to be user-friendly.
Log in to comment on this ticket.