]> git.ipfire.org Git - thirdparty/libsolv.git/commitdiff
Document BPOOL_FLAG_NOWHATPROVIDESAUX and POOL_FLAG_WHATPROVIDESWITHDISABLED
authorMichael Schroeder <mls@suse.de>
Tue, 31 Jan 2023 11:52:49 +0000 (12:52 +0100)
committerMichael Schroeder <mls@suse.de>
Tue, 31 Jan 2023 11:52:49 +0000 (12:52 +0100)
At least in libsolv-bindings...

bindings/solv.i
doc/gen/libsolv-bindings.3
doc/libsolv-bindings.txt

index ef3f31c2ce8c7702cef0e0cd07035e990183a27c..a51ae2be5da92139a63b21c8b3258d5084d22e0c 100644 (file)
@@ -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();
index dae03bd6dc2a0c47ce1c225e27f6a92977b164b8..ca14b344957e9db9b50d4e3571a1c573c7eaab1a 100644 (file)
@@ -2,12 +2,12 @@
 .\"     Title: Libsolv-Bindings
 .\"    Author: [see the "Author" section]
 .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
-.\"      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 \{\
index 5106e4f460e76344ecfacdfe911dc6f42f1125ff..b1069a9bf996643a5d21e7964b4b2532f68ed1a2 100644 (file)
@@ -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()