From: Michael Schroeder Date: Tue, 31 Jan 2023 11:52:49 +0000 (+0100) Subject: Document BPOOL_FLAG_NOWHATPROVIDESAUX and POOL_FLAG_WHATPROVIDESWITHDISABLED X-Git-Tag: 0.7.24~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec0123c4fe9b530f05ddb76b5f510f9ec2bfe983;p=thirdparty%2Flibsolv.git Document BPOOL_FLAG_NOWHATPROVIDESAUX and POOL_FLAG_WHATPROVIDESWITHDISABLED At least in libsolv-bindings... --- diff --git a/bindings/solv.i b/bindings/solv.i index ef3f31c2..a51ae2be 100644 --- a/bindings/solv.i +++ b/bindings/solv.i @@ -1693,10 +1693,14 @@ returnself(matchsolvable) static const int POOL_FLAG_NOINSTALLEDOBSOLETES = POOL_FLAG_NOINSTALLEDOBSOLETES; static const int POOL_FLAG_HAVEDISTEPOCH = POOL_FLAG_HAVEDISTEPOCH; static const int POOL_FLAG_NOOBSOLETESMULTIVERSION = POOL_FLAG_NOOBSOLETESMULTIVERSION; + static const int POOL_FLAG_ADDFILEPROVIDESFILTERED = POOL_FLAG_ADDFILEPROVIDESFILTERED; + static const int POOL_FLAG_NOWHATPROVIDESAUX = POOL_FLAG_NOWHATPROVIDESAUX; + static const int POOL_FLAG_WHATPROVIDESWITHDISABLED = POOL_FLAG_WHATPROVIDESWITHDISABLED; static const int DISTTYPE_RPM = DISTTYPE_RPM; static const int DISTTYPE_DEB = DISTTYPE_DEB; static const int DISTTYPE_ARCH = DISTTYPE_ARCH; static const int DISTTYPE_HAIKU = DISTTYPE_HAIKU; + static const int DISTTYPE_CONDA = DISTTYPE_CONDA; Pool() { Pool *pool = pool_create(); diff --git a/doc/gen/libsolv-bindings.3 b/doc/gen/libsolv-bindings.3 index dae03bd6..ca14b344 100644 --- a/doc/gen/libsolv-bindings.3 +++ b/doc/gen/libsolv-bindings.3 @@ -2,12 +2,12 @@ .\" Title: Libsolv-Bindings .\" Author: [see the "Author" section] .\" Generator: DocBook XSL Stylesheets vsnapshot -.\" Date: 12/13/2022 +.\" Date: 01/31/2023 .\" Manual: LIBSOLV .\" Source: libsolv .\" Language: English .\" -.TH "LIBSOLV\-BINDINGS" "3" "12/13/2022" "libsolv" "LIBSOLV" +.TH "LIBSOLV\-BINDINGS" "3" "01/31/2023" "libsolv" "LIBSOLV" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -611,6 +611,16 @@ If a package is installed in multiversion mode, rpm used to ignore both the impl .RS 4 Make the addfileprovides method only add files from the standard locations (i\&.e\&. the \(lqbin\(rq and \(lqetc\(rq directories)\&. This is useful if you have only few packages that use non\-standard file dependencies, but you still want the fast speed that addfileprovides() generates\&. .RE +.PP +\fBPOOL_FLAG_NOWHATPROVIDESAUX\fR +.RS 4 +Disable the creation of the auxillary whatprovides index\&. This saves a bit of memory but also makes the whatprovides lookups a bit slower\&. +.RE +.PP +\fBPOOL_FLAG_WHATPROVIDESWITHDISABLED\fR +.RS 4 +Make the whatprovides index also contain disabled packages\&. This means that you do not need to recreate the index if a package is enabled/disabled, i\&.e\&. the pool→considered bitmap is changed\&. +.RE .SS "METHODS" .sp .if n \{\ diff --git a/doc/libsolv-bindings.txt b/doc/libsolv-bindings.txt index 5106e4f4..b1069a9b 100644 --- a/doc/libsolv-bindings.txt +++ b/doc/libsolv-bindings.txt @@ -352,6 +352,15 @@ useful if you have only few packages that use non-standard file dependencies, but you still want the fast speed that addfileprovides() generates. +*POOL_FLAG_NOWHATPROVIDESAUX*:: +Disable the creation of the auxillary whatprovides index. This saves +a bit of memory but also makes the whatprovides lookups a bit slower. + +*POOL_FLAG_WHATPROVIDESWITHDISABLED*:: +Make the whatprovides index also contain disabled packages. This +means that you do not need to recreate the index if a package is +enabled/disabled, i.e. the pool->considered bitmap is changed. + === METHODS === void free()