Skip to content

Commit 3cd3850

Browse files
committed
Document SOLVER_FLAG_STRONG_RECOMMENDS flag
1 parent 5fddfaf commit 3cd3850

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

doc/gen/libsolv-bindings.3

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
.\" Title: Libsolv-Bindings
33
.\" Author: [see the "Author" section]
44
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
5-
.\" Date: 07/09/2024
5+
.\" Date: 07/29/2025
66
.\" Manual: LIBSOLV
77
.\" Source: libsolv
88
.\" Language: English
99
.\"
10-
.TH "LIBSOLV\-BINDINGS" "3" "07/09/2024" "libsolv" "LIBSOLV"
10+
.TH "LIBSOLV\-BINDINGS" "3" "07/29/2025" "libsolv" "LIBSOLV"
1111
.\" -----------------------------------------------------------------
1212
.\" * Define some portability stuff
1313
.\" -----------------------------------------------------------------
@@ -4061,6 +4061,11 @@ Make the solver aware of special provides of the form \(lq<packagename>:<path>\(
40614061
Do not process optional (aka weak) dependencies\&.
40624062
.RE
40634063
.PP
4064+
\fBSOLVER_FLAG_STRONG_RECOMMENDS\fR
4065+
.RS 4
4066+
Make the solver backtrack to satisfy Recommends dependencies (e\&.g\&., update packages, choose different alternatives, etc\&.)\&. With this flag, Recommends function like Requires, which can be broken\&. You can use this feature to allow the solver to install weak dependencies, even if it requires updating currently installed packages\&.
4067+
.RE
4068+
.PP
40644069
\fBSOLVER_FLAG_ADD_ALREADY_RECOMMENDED\fR
40654070
.RS 4
40664071
Install recommended or supplemented packages even if they have no connection to the current transaction\&. You can use this feature to implement a simple way for the user to install new recommended packages that were not available in the past\&.

doc/libsolv-bindings.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2405,6 +2405,14 @@ splits.
24052405
*SOLVER_FLAG_IGNORE_RECOMMENDED*::
24062406
Do not process optional (aka weak) dependencies.
24072407

2408+
*SOLVER_FLAG_STRONG_RECOMMENDS*::
2409+
Make the solver backtrack to satisfy Recommends dependencies (e.g.,
2410+
update packages, choose different alternatives, etc.). With this
2411+
flag, Recommends function like Requires, which can be broken.
2412+
You can use this feature to allow the solver to install weak
2413+
dependencies, even if it requires updating currently installed
2414+
packages.
2415+
24082416
*SOLVER_FLAG_ADD_ALREADY_RECOMMENDED*::
24092417
Install recommended or supplemented packages even if they have no
24102418
connection to the current transaction. You can use this feature

0 commit comments

Comments
 (0)