-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Throw an error on invalid repo input for
setopt
and *repo
options
Options `--setopt`, `--enable-repo`, `--disable-repo` and `--repo` will not accept repo-id vaule that doesn't match any configured repository. This is different to dnf4 where only `--repo` and `--enablerepo` throw an error on invalid repo id. `--disablerepo` just shows a warning and `--setopt` doesn't show any problem. In dnf4 the error also depends on `strict` conf option but this is deprecated in dnf5. dnf5 is strict by default.
- Loading branch information
Showing
2 changed files
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters