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

Use SOLVER_FLAG_FOCUS_NEW to install latests versions of deps #1582

Merged
merged 1 commit into from
Aug 6, 2024

Conversation

kontura
Copy link
Contributor

@kontura kontura commented Jul 15, 2024

This is a new flag in the recent libsolv 0.7.30 release (not yet present in rawhide).

We previously tried to use SOLVER_FLAG_FOCUS_BEST but it turned out to be too strong, this new flag should install latest versions of dependencies and update packages only if it is required.

We had several reports where users expect this behavior.

This should properly resolve issue such as:
https://bugzilla.redhat.com/show_bug.cgi?id=2150300
https://issues.redhat.com/browse/RHEL-1374

@kontura
Copy link
Contributor Author

kontura commented Jul 15, 2024

CMakeLists.txt Outdated Show resolved Hide resolved
dnf5.spec Outdated Show resolved Hide resolved
dnf5.spec Outdated Show resolved Hide resolved
This is a new flag in the recent 0.7.30 release.
It is used only in current rawhide.

We previously tried to use `SOLVER_FLAG_FOCUS_BEST` but it turned out to
be too strong, this new flag should update packages only if it is
required for installing the latests versions of dependencies.

We had several reports where users expect this behavior.

This should properly resolve issue such as:
https://bugzilla.redhat.com/show_bug.cgi?id=2150300
https://issues.redhat.com/browse/RHEL-1374
@kontura kontura marked this pull request as ready for review August 5, 2024 10:09
@Conan-Kudo Conan-Kudo self-assigned this Aug 5, 2024
@Conan-Kudo
Copy link
Member

The libsolv update for F40 is queued for stable this evening, the update for F39 still needs positive karma to land today.

@kontura kontura added this pull request to the merge queue Aug 6, 2024
Merged via the queue into rpm-software-management:main with commit 26096c9 Aug 6, 2024
16 checks passed
@kontura kontura deleted the focus-new branch August 6, 2024 11:22
kontura added a commit to kontura/ci-dnf-stack that referenced this pull request Aug 6, 2024
evan-goode pushed a commit to rpm-software-management/ci-dnf-stack that referenced this pull request Aug 7, 2024
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.

4 participants