-
Notifications
You must be signed in to change notification settings - Fork 131
Description
The dnf4 repoquery command has a lot of options.
There are two categories:
Select Options
Together with the <package-file-spec> argument, control what packages are displayed in the output.
-
<package-file-spec>
-
-a, --all
-
- Proposing to drop it (document as a change). It is a default dnf behavior and it was added as compatibility option with yum
-
--arch / --archlist
-
- Please change other command that uses the same o similar options (even option can be the same, but schematic of arguments can be different) in DNF and unify it
-
--duplicates
-
--available
-
--disable-modular-filtering
-
--extras
-
-f <file>, --file <file>
-
--installed
-
--installonly
-
--latest-limit <number>
-
--recent
-
- Priority low
-
--repo <repoid>
-
- It is a general option. Investigate why it is explicitly mentioned in repoquery
-
- [amatej] The best I can tell the option got imported together with repoquery command into dnf. Perhaps before when repoquery was separate the option was needed.
-
--upgrades
-
--userinstalled
-
--whatdepends <capability>[,<capability>...]
-
--whatconflicts <capability>[,<capability>...]
-
--whatenhances <capability>[,<capability>...]
-
--whatobsoletes <capability>[,<capability>...]
-
--whatprovides <capability>[,<capability>...]
-
--whatrecommends <capability>[,<capability>...]
-
--whatrequires <capability>[,<capability>...]
-
--whatsuggests <capability>[,<capability>...]
-
--whatsupplements <capability>[,<capability>...]
-
--alldeps
-
- It is a default behavior of DNF therefore I propose to remove it (document the change). The reason of presence of the option -> the default was changed in history
-
--exactdeps
-
--srpm
-
- Please verify that other commands use --srpm, or --source using the same principle
Formatting Options
Set what information is displayed about each package.
- -i, --info #479
- -l, --list
-
- Proposing to rename to more appropriate --files
- -s, --source
-
- Please verify that other commands use --srpm, or --source using the same principle
- --changelogs
- --conflicts
- --depends
- --enhances
- --location
- --obsoletes
- --provides
- --recommends
- --requires
- --requires-pre
- --suggests
- --supplements
- --nvr
-
- Proposing to drop it (document as a change) (yum compatibility)
- --nevra
-
- Proposing to drop it (document as a change) (yum compatibility) - default behavior
- --envra
-
- Proposing to drop it (document as a change) (yum compatibility) - DNF is unable to parse such a spec
- --qf , --queryformat <format>
-
- Priority medium (required by fedora-review)
Additional options:
- --querytags
-
--groupmember <package-spec>-> move togroupcommand--contains-pkgs <pkg>option? -
- moving to group command is a good suggestion. Please document it to DNF to DNF5 changes
Additional tasks:
- Add option conflicts (if/where needed)
- Enable autocomplete
- Add man pages/documentation
- Enable CI tests
Options tracked in separate issues:
- repoquery --unsatisfied #910
- repoquery --recursive #911
- repoquery --resolve #912
- repoquery --tree #913
-
- Priority low
-
- [amatej] Perhaps this would be better suited as a plugin?
- repoquery --deplist #914
-
- [amatej] Perhaps this would be better suited as a plugin?
Metadata
Metadata
Assignees
Labels
Type
Projects
Status