Skip to content
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

Merged
merged 1 commit into from
Mar 1, 2023
Merged

Document --strict deprecation #321

merged 1 commit into from
Mar 1, 2023

Conversation

m-blaha
Copy link
Member

@m-blaha m-blaha commented Feb 27, 2023

It's a difference between dnf4 and dnf5 and we should forget to mention it in the docs.

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)
Copy link
Contributor

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:
Copy link
Contributor

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.

Copy link
Member Author

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.

@kontura kontura self-assigned this Feb 28, 2023
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.
Copy link
Contributor

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.
@m-blaha m-blaha force-pushed the mblaha/strict_doc branch from e1c223e to e207473 Compare March 1, 2023 07:45
Copy link
Contributor

@kontura kontura left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kontura kontura merged commit 1c3142f into main Mar 1, 2023
@kontura kontura deleted the mblaha/strict_doc branch March 1, 2023 08:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants