71 std::ostream & about( std::ostream &
str )
const;
88 void setRepoManagerRoot (
const Pathname &root );
93 static Arch defaultSystemArchitecture();
96 Arch systemArchitecture()
const;
104 void setSystemArchitecture(
const Arch & arch_r );
108 { setSystemArchitecture( defaultSystemArchitecture() ); }
113 static Locale defaultTextLocale();
117 Locale textLocale()
const;
120 void setTextLocale(
const Locale & locale_r );
124 { setTextLocale( defaultTextLocale() ); }
132 bool hasUserData()
const;
135 std::string userData()
const;
141 bool setUserData(
const std::string & str_r );
154 void setRepoCachePath (
const Pathname &path_r );
171 void setRepoMetadataPath (
const Pathname &path_r );
182 void setRepoSolvfilesPath (
const Pathname &path_r );
194 void setRepoPackagesPath (
const Pathname &path_r );
229 void setGeoipEnabled(
bool enable =
true );
234 bool geoipEnabled ()
const;
246 const std::vector<std::string> geoipHostnames ()
const;
260 bool repo_add_probe()
const;
265 unsigned repo_refresh_delay()
const;
277 bool repoLabelIsAlias()
const;
286 void repoLabelIsAlias(
bool yesno_r );
291 long download_max_concurrent_connections()
const;
297 long download_min_download_speed()
const;
302 long download_max_download_speed()
const;
307 long download_max_silent_tries()
const;
312 long download_transfer_timeout()
const;
318 bool download_use_deltarpm()
const;
324 bool download_use_deltarpm_always()
const;
330 bool download_media_prefer_download()
const;
333 {
return ! download_media_prefer_download(); }
337 void set_download_media_prefer_download(
bool yesno_r );
341 void set_default_download_media_prefer_download();
347 Pathname download_mediaMountdir()
const;
349 void set_download_mediaMountdir(
Pathname newval_r );
351 void set_default_download_mediaMountdir();
371 bool gpgCheck()
const;
375 void setGpgCheck(
bool val_r );
376 void setRepoGpgCheck(
TriBool val_r );
377 void setPkgGpgCheck(
TriBool val_r );
379 void resetGpgCheck();
380 void resetRepoGpgCheck();
381 void resetPkgGpgCheck();
398 bool solver_onlyRequires()
const;
404 Pathname solver_checkSystemFile()
const;
411 Pathname solver_checkSystemFileDir()
const;
416 bool solver_allowVendorChange()
const;
419 bool solver_dupAllowDowngrade()
const;
422 bool solver_dupAllowNameChange()
const;
425 bool solver_dupAllowArchChange()
const;
428 bool solver_dupAllowVendorChange()
const;
433 bool solver_cleandepsOnRemove()
const;
442 unsigned solver_upgradeTestcasesToKeep()
const;
457 bool solverUpgradeRemoveDroppedPackages()
const;
459 void setSolverUpgradeRemoveDroppedPackages(
bool val_r );
461 void resetSolverUpgradeRemoveDroppedPackages();
473 const std::set<std::string> & multiversionSpec()
const;
474 void multiversionSpec( std::set<std::string> new_r );
475 void clearMultiversionSpec();
476 void addMultiversionSpec(
const std::string & name_r );
477 void removeMultiversionSpec(
const std::string & name_r );
489 bool apply_locks_file()
const;
500 Pathname update_scriptsPath()
const;
506 Pathname update_messagesPath()
const;
511 std::string updateMessagesNotify()
const;
513 void setUpdateMessagesNotify(
const std::string & val_r );
515 void resetUpdateMessagesNotify();
526 target::rpm::RpmInstFlags rpmInstallFlags()
const;
540 Pathname credentialsGlobalDir()
const;
545 Pathname credentialsGlobalFile()
const;
555 std::string distroverpkg()
const;
567 std::string multiversionKernels()
const;
581 void notifyTargetChanged();
587 Pathname builtinRepoCachePath()
const;
589 Pathname builtinRepoMetadataPath()
const;
591 Pathname builtinRepoSolvfilesPath()
const;
593 Pathname builtinRepoPackagesPath()
const;