12#ifndef ZYPP_RESOLVER_H
13#define ZYPP_RESOLVER_H
64 void setDefaultSolverFlags(
bool all_r =
true );
158 std::list<PoolItem> problematicUpdateItems()
const;
191 void setForceResolve(
bool force );
192 bool forceResolve()
const;
198 void setIgnoreAlreadyRecommended(
bool yesno_r );
199 bool ignoreAlreadyRecommended()
const;
206 void setOnlyRequires(
bool yesno_r );
207 void resetOnlyRequires();
208 bool onlyRequires()
const;
215 void setUpgradeMode(
bool yesno_r );
216 bool upgradeMode()
const;
223 void setUpdateMode(
bool yesno_r );
224 bool updateMode()
const;
240 void setRemoveOrphaned(
bool yesno_r );
241 bool removeOrphaned()
const;
256 void setRemoveUnneeded(
bool yesno_r );
257 bool removeUnneeded()
const;
291 void setSystemVerification(
bool yesno_r );
292 void setDefaultSystemVerification();
293 bool systemVerification()
const;
304 void setSolveSrcPackages(
bool yesno_r );
305 void setDefaultSolveSrcPackages();
306 bool solveSrcPackages()
const;
312 void setCleandepsOnRemove(
bool yesno_r );
313 void setDefaultCleandepsOnRemove();
314 bool cleandepsOnRemove()
const;
358 bool upgradingRepos()
const;
363 bool upgradingRepo(
Repository repo_r )
const;
373 void removeUpgradeRepos();
380 void addRequire(
const Capability & capability );
386 void addConflict(
const Capability & capability );
392 void removeRequire(
const Capability & capability );
398 void removeConflict(
const Capability & capability );
418 bool createSolverTestcase(
const std::string & dumpPath =
"/var/log/YaST2/solverTestcase",
bool runSolver =
true );
Common types used in the Resolver public API and need to be passed down to the details tree.
Combining sat::Solvable and ResStatus.
Dependency resolver interface.
void setDefaultAllowVendorChange()
void setAllowNameChange(bool yesno_r)
Whether to allow one to change name of installed solvable.
void dupSetAllowNameChange(bool yesno_r)
dup mode: allow one to change name of installed solvable
void dupSetAllowVendorChange(bool yesno_r)
dup mode: allow one to change vendor of installed solvables
bool dupAllowDowngrade() const
void setDefaultAllowArchChange()
void dupSetDefaultAllowVendorChange()
bool allowNameChange() const
void dupSetDefaultAllowNameChange()
bool allowDowngrade() const
void setDefaultAllowNameChange()
void dupSetDefaultAllowDowngrade()
void setAllowVendorChange(bool yesno_r)
Whether to allow one to change vendor of installed solvables.
bool dupAllowArchChange() const
void setAllowDowngrade(bool yesno_r)
Whether to allow one to downgrade installed solvable.
bool dupAllowNameChange() const
void dupSetDefaultAllowArchChange()
bool allowArchChange() const
bool dupAllowVendorChange() const
void setDefaultAllowDowngrade()
bool allowVendorChange() const
zypp::RW_pointer< solver::detail::ResolverInternal > _pimpl
void setAllowArchChange(bool yesno_r)
Whether to allow one to change architecture of installed solvables.
void dupSetAllowArchChange(bool yesno_r)
dup mode: allow one to change architecture of installed solvables
void dupSetAllowDowngrade(bool yesno_r)
dup mode: allow one to downgrade installed solvable
Base class for reference counted objects.
Libsolv transaction wrapper.
String related utilities and Regular expression matching.
boost::noncopyable NonCopyable
Ensure derived classes cannot be copied.
::s_Solver CSolver
Wrapped libsolv C data type exposed as backdoor.
std::list< SolverQueueItem_Ptr > SolverQueueItemList
std::list< ItemCapKind > ItemCapKindList
Easy-to use interface to the ZYPP dependency resolver.
std::list< ProblemSolution_Ptr > ProblemSolutionList
ResolverFocus
The resolver's general attitude.
std::list< ResolverProblem_Ptr > ResolverProblemList
std::ostream & operator<<(std::ostream &str, const SerialNumber &obj)
std::unordered_set< Capability > CapabilitySet
const Arch Arch_armv7hnl Arch_armv7nhl ZYPP_API
Wrapper for const correct access via Smart pointer types.