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

doc: --disableexcludepkgs=all doesn't affect just file configuration #2176

Merged
merged 1 commit into from
Dec 13, 2024

Conversation

kontura
Copy link
Contributor

@kontura kontura commented Dec 12, 2024

The option --disableexcludepkgs=all disables all configuration includes and excludes including packages specified on the commandline via --exclude=, -x=, the deprecated --excludepkgs= and file configuration via --excludepkgs=, --includepkgs=.

https://issues.redhat.com/browse/RHEL-28779 (Once merged I will also backport to the 9.6 branch).

@kontura
Copy link
Contributor Author

kontura commented Dec 12, 2024

The failing tests are unrelated, in my previous PR I disabled the wrong dnf automatic test here is a fix: rpm-software-management/ci-dnf-stack#1607

There are also unrelated rawhide copr failing tests, I made an issue for that here: rpm-software-management/ci-dnf-stack#1606

@@ -167,7 +167,7 @@ Options
``--disableexcludes=[all|main|<repoid>], --disableexcludepkgs=[all|main|<repoid>]``
Disable the configuration file excludes. Takes one of the following three options:

* ``all``, disables all configuration file excludes
* ``all``, disables all configuration excludes and includes
Copy link
Member

Choose a reason for hiding this comment

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

Would it make sense to specify that --disableexcludes operates on both excludepkgs and includepkgs before this bullet list? I believe it disables both even for main and repoid values.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That is a good point.

I have updated the whole section, let me know what you think.

The option `--disableexcludepkgs=all` disables all configuration
includes and excludes including packages specified on the commandline
via `--exclude=`, `-x=`, the deprecated `--excludepkgs=` and file
configuration via `--excludepkgs=`, `--includepkgs=`.
@m-blaha m-blaha merged commit 8fcd664 into rpm-software-management:master Dec 13, 2024
4 of 7 checks passed
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