@@ -59,7 +59,7 @@ natural constant subs), so don't forget the leading ``$'' when accessing a
5959constant. Also do not forget to prepend the namespace of the constant:
6060
6161 $pool->set_flag($solv::Pool::POOL_FLAG_OBSOLETEUSESCOLORS, 1);
62-
62+
6363
6464Python Specifics
6565----------------
@@ -185,7 +185,7 @@ to a libsolv class are prefixed with the class name:
185185
186186 TCL $pool set_flag $solv::Pool_POOL_FLAG_OBSOLETEUSESCOLORS 1
187187 TCL puts [$solvable lookup_str $solv::SOLVABLE_SUMMARY]
188-
188+
189189
190190The Solv Class
191191--------------
@@ -248,7 +248,7 @@ Repositories, Dependencies, each indexed by Ids.
248248 pool = Solv::Pool.new()
249249
250250Create a new pool instance. In most cases you just need one pool.
251- Note that the returned object "owns" the pool, i.e. if the object is
251+ Note that the returned object "owns" the pool, i.e. if the object is
252252freed, the pool is also freed. You can use the disown method to
253253break this ownership relation.
254254
@@ -488,6 +488,21 @@ the call to addfileprovides().
488488Return all solvables that provide the specified dependency. You can use either
489489a Dep object or a simple Id as argument.
490490
491+ Solvable *best_solvables(Solvable *solvables, int flags = 0)
492+ my @solvables = $pool->best_solvables($solvables);
493+ solvables = pool.best_solvables(solvables)
494+ solvables = pool.best_solvables(solvables)
495+
496+ Filter list of solvables by repo priority, architecture and version.
497+
498+ Solvable *whatmatchessolvable(Id keyname, Solvable solvable, Id marker = -1)
499+ my @solvables = $pool->whatmatchessolvable($keyname, $solvable)
500+ solvables = pool.whatmatchessolvable(keyname, solvable)
501+ solvables = pool.whatmatchessolvable(keyname, solvable)
502+
503+ Return all solvables that match package dependencies in against solvable's
504+ provides.
505+
491506 Id *matchprovidingids(const char *match, int flags)
492507 my @ids = $pool->matchprovidingids($match, $flags);
493508 ids = pool.matchprovidingids(match, flags)
@@ -554,7 +569,7 @@ selections.
554569 my $sel = $pool->Selection_all();
555570 sel = pool.Selection_all()
556571 sel = pool.Selection_all()
557-
572+
558573Create a selection containing all packages. Useful as starting point for
559574intersecting other selections or for update/distupgrade jobs.
560575
@@ -860,7 +875,7 @@ The id of the repository.
860875 $repo->{name}
861876 repo.name
862877 repo.name
863-
878+
864879The repositories name. To libsolv, the name is just a string with no specific
865880meaning.
866881
@@ -1371,7 +1386,7 @@ a specific id and want to avoid the string compare overhead.
13711386 my @deps = $solvable->lookup_deparray($keyname);
13721387 deps = solvable.lookup_deparray(keyname)
13731388 deps = solvable.lookup_deparray(keyname)
1374-
1389+
13751390Generic lookup methods. Retrieve data stored for the specific keyname.
13761391The lookup_idarray() method will return an array of Ids, use
13771392lookup_deparray if you want an array of Dependency objects instead.
@@ -1719,7 +1734,7 @@ the version, and the architecture of a package.
17191734*SELECTION_DOTARCH*::
17201735Allow an ".<architecture>" suffix when matching names or
17211736provides.
1722-
1737+
17231738*SELECTION_REL*::
17241739Allow the specification of a relation when matching names
17251740or dependencies, e.g. "name >= 1.2".
@@ -1945,7 +1960,7 @@ Update the matching installed packages to their best version. If none
19451960of the specified packages are installed, try to update the installed
19461961packages to the specified versions. See the section about targeted
19471962updates about more information.
1948-
1963+
19491964*SOLVER_WEAKENDEPS*::
19501965Allow to break the dependencies of the matching packages. Handle with care.
19511966
@@ -3164,7 +3179,7 @@ in passive mode, but
31643179 update A-2-1 (other: A-1-1)
31653180 erase B
31663181
3167- in active mode. If the mode contains SOLVER_TRANSACTION_SHOW_ALL, the
3182+ in active mode. If the mode contains SOLVER_TRANSACTION_SHOW_ALL, the
31683183passive mode list will be unchanged but the active mode list will just
31693184contain A-2-1.
31703185
@@ -3290,7 +3305,7 @@ Add a (binary) string to the checksum.
32903305 chksum.add_fp(file)
32913306
32923307Add the contents of a file to the checksum.
3293-
3308+
32943309 void add_stat(const char *filename)
32953310 $chksum->add_stat($filename);
32963311 chksum.add_stat(filename)
@@ -3422,7 +3437,7 @@ The Repodata Class
34223437The Repodata stores attributes for packages and the repository itself, each
34233438repository can have multiple repodata areas. You normally only need to
34243439directly access them if you implement lazy downloading of repository data.
3425- Repodata areas are created by calling the repository's add_repodata() method
3440+ Repodata areas are created by calling the repository's add_repodata() method
34263441or by using repo_add methods without the REPO_REUSE_REPODATA or REPO_USE_LOADING
34273442flag.
34283443
0 commit comments