constant. Also do not forget to prepend the namespace of the constant:
$pool->set_flag($solv::Pool::POOL_FLAG_OBSOLETEUSESCOLORS, 1);
-
+
Python Specifics
----------------
TCL $pool set_flag $solv::Pool_POOL_FLAG_OBSOLETEUSESCOLORS 1
TCL puts [$solvable lookup_str $solv::SOLVABLE_SUMMARY]
-
+
The Solv Class
--------------
pool = Solv::Pool.new()
Create a new pool instance. In most cases you just need one pool.
-Note that the returned object "owns" the pool, i.e. if the object is
+Note that the returned object "owns" the pool, i.e. if the object is
freed, the pool is also freed. You can use the disown method to
break this ownership relation.
my $sel = $pool->Selection_all();
sel = pool.Selection_all()
sel = pool.Selection_all()
-
+
Create a selection containing all packages. Useful as starting point for
intersecting other selections or for update/distupgrade jobs.
$repo->{name}
repo.name
repo.name
-
+
The repositories name. To libsolv, the name is just a string with no specific
meaning.
my @deps = $solvable->lookup_deparray($keyname);
deps = solvable.lookup_deparray(keyname)
deps = solvable.lookup_deparray(keyname)
-
+
Generic lookup methods. Retrieve data stored for the specific keyname.
The lookup_idarray() method will return an array of Ids, use
lookup_deparray if you want an array of Dependency objects instead.
*SELECTION_DOTARCH*::
Allow an ".<architecture>" suffix when matching names or
provides.
-
+
*SELECTION_REL*::
Allow the specification of a relation when matching names
or dependencies, e.g. "name >= 1.2".
of the specified packages are installed, try to update the installed
packages to the specified versions. See the section about targeted
updates about more information.
-
+
*SOLVER_WEAKENDEPS*::
Allow to break the dependencies of the matching packages. Handle with care.
update A-2-1 (other: A-1-1)
erase B
-in active mode. If the mode contains SOLVER_TRANSACTION_SHOW_ALL, the
+in active mode. If the mode contains SOLVER_TRANSACTION_SHOW_ALL, the
passive mode list will be unchanged but the active mode list will just
contain A-2-1.
chksum.add_fp(file)
Add the contents of a file to the checksum.
-
+
void add_stat(const char *filename)
$chksum->add_stat($filename);
chksum.add_stat(filename)
The Repodata stores attributes for packages and the repository itself, each
repository can have multiple repodata areas. You normally only need to
directly access them if you implement lazy downloading of repository data.
-Repodata areas are created by calling the repository's add_repodata() method
+Repodata areas are created by calling the repository's add_repodata() method
or by using repo_add methods without the REPO_REUSE_REPODATA or REPO_USE_LOADING
flag.