-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document --strict deprecation #321
Conversation
CHANGES-DNF-5.md
Outdated
`--strict` option is now deprecated. The problem with this option is that it does two things: | ||
|
||
1. it allows the solver to skip uninstallable packages to resolve depsolv problems | ||
2. it allowd dnf to skip unavailable packages (this is for `install` command mostly) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
allowd -> allowed
CHANGES-DNF-5.md
Outdated
@@ -49,6 +49,14 @@ options and implemented only for related commands | |||
Renaming boolean options to format `--<option>`, and `--no-<option>` | |||
`--nobest` -> `--no-best`. Proposing to keep `--nobest` as a deprecated option. | |||
|
|||
### --strict deprecation | |||
`--strict` option is now deprecated. The problem with this option is that it does two things: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If I understand correctly I would maybe reword it a bit:
- isn't the
strict
option a config option? I can't find any--strict
switch - I would say if the strict option was disabled it allows those two things, currently to me the text suggests that if the option was enabled it allows those things.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for suggestions. I've tried to make it more clear.
CHANGES-DNF-5.md
Outdated
1. it allows the solver to skip uninstallable packages to resolve depsolv problems | ||
2. it allowd dnf to skip unavailable packages (this is for `install` command mostly) | ||
|
||
The functionality is now splitted to two options - `--skip-broken` for the uninstallable packages and `--skip-unavailable` for packages not present in repositories. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that while splitted
is a word just split
would be better.
It's a difference between dnf4 and dnf5 and we should forget to mention it in the docs.
e1c223e
to
e207473
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
It's a difference between dnf4 and dnf5 and we should forget to mention it in the docs.