libzypp 17.31.6
zypp::ZConfig::Impl Class Reference

ZConfig implementation. More...

Classes

struct  MultiversionMap
 
struct  TargetDefaults
 Settings that follow a changed Target. More...
 

Public Member Functions

 Impl ()
 
 ~Impl ()
 
void notifyTargetChanged ()
 
MultiversionSpecmultiversion ()
 
const MultiversionSpecmultiversion () const
 
const TargetDefaultstargetDefaults () const
 
TargetDefaultstargetDefaults ()
 

Public Attributes

Pathname _parsedZyppConf
 Remember any parsed zypp.conf. More...
 
Arch cfg_arch
 
Locale cfg_textLocale
 
DefaultOption< Pathnamecfg_cache_path
 
DefaultOption< Pathnamecfg_metadata_path
 
DefaultOption< Pathnamecfg_solvfiles_path
 
DefaultOption< Pathnamecfg_packages_path
 
Pathname cfg_config_path
 
Pathname cfg_known_repos_path
 
Pathname cfg_known_services_path
 
Pathname cfg_vars_path
 
Pathname cfg_repo_mgr_root_path
 
Pathname cfg_vendor_path
 
Pathname cfg_multiversion_path
 
std::string cfg_kernel_keep_spec
 
Pathname locks_file
 
Pathname update_data_path
 
Pathname update_scripts_path
 
Pathname update_messages_path
 
DefaultOption< std::string > updateMessagesNotify
 
bool repo_add_probe
 
unsigned repo_refresh_delay
 
LocaleSet repoRefreshLocales
 
bool repoLabelIsAlias
 
bool download_use_deltarpm
 
bool download_use_deltarpm_always
 
DefaultOption< booldownload_media_prefer_download
 
DefaultOption< Pathnamedownload_mediaMountdir
 
Option< DownloadModecommit_downloadMode
 
DefaultOption< boolgpgCheck
 
DefaultOption< TriBoolrepoGpgCheck
 
DefaultOption< TriBoolpkgGpgCheck
 
Pathname solver_checkSystemFile
 
Pathname solver_checkSystemFileDir
 
bool apply_locks_file
 
target::rpm::RpmInstFlags rpmInstallFlags
 
Pathname history_log_path
 
std::string userData
 
Option< PathnamepluginsPath
 
bool geoipEnabled
 
std::vector< std::string > geoipHosts
 
MediaConfig & _mediaConf = MediaConfig::instance()
 

Private Types

typedef std::set< std::string > MultiversionSpec
 

Private Member Functions

MultiversionSpecgetMultiversion () const
 

Private Attributes

TargetDefaults _initialTargetDefaults
 Initial TargetDefaults from /. More...
 
std::optional< TargetDefaults_currentTargetDefaults
 TargetDefaults while –root. More...
 
MultiversionMap _multiversionMap
 

Detailed Description

ZConfig implementation.

Todo:
Enrich section and entry definition by some comment (including the default setting and provide some method to write this into a sample zypp.conf.

Definition at line 315 of file ZConfig.cc.

Member Typedef Documentation

◆ MultiversionSpec

typedef std::set<std::string> zypp::ZConfig::Impl::MultiversionSpec
private

Definition at line 317 of file ZConfig.cc.

Constructor & Destructor Documentation

◆ Impl()

zypp::ZConfig::Impl::Impl ( )
inline

Definition at line 396 of file ZConfig.cc.

◆ ~Impl()

zypp::ZConfig::Impl::~Impl ( )
inline

Definition at line 633 of file ZConfig.cc.

Member Function Documentation

◆ notifyTargetChanged()

void zypp::ZConfig::Impl::notifyTargetChanged ( )
inline

Definition at line 636 of file ZConfig.cc.

◆ multiversion() [1/2]

MultiversionSpec & zypp::ZConfig::Impl::multiversion ( )
inline

Definition at line 707 of file ZConfig.cc.

◆ multiversion() [2/2]

const MultiversionSpec & zypp::ZConfig::Impl::multiversion ( ) const
inline

Definition at line 708 of file ZConfig.cc.

◆ targetDefaults() [1/2]

const TargetDefaults & zypp::ZConfig::Impl::targetDefaults ( ) const
inline

Definition at line 729 of file ZConfig.cc.

◆ targetDefaults() [2/2]

TargetDefaults & zypp::ZConfig::Impl::targetDefaults ( )
inline

Definition at line 730 of file ZConfig.cc.

◆ getMultiversion()

MultiversionSpec & zypp::ZConfig::Impl::getMultiversion ( ) const
inlineprivate

Definition at line 820 of file ZConfig.cc.

Member Data Documentation

◆ _parsedZyppConf

Pathname zypp::ZConfig::Impl::_parsedZyppConf

Remember any parsed zypp.conf.

Definition at line 662 of file ZConfig.cc.

◆ cfg_arch

Arch zypp::ZConfig::Impl::cfg_arch

Definition at line 664 of file ZConfig.cc.

◆ cfg_textLocale

Locale zypp::ZConfig::Impl::cfg_textLocale

Definition at line 665 of file ZConfig.cc.

◆ cfg_cache_path

DefaultOption<Pathname> zypp::ZConfig::Impl::cfg_cache_path

Definition at line 667 of file ZConfig.cc.

◆ cfg_metadata_path

DefaultOption<Pathname> zypp::ZConfig::Impl::cfg_metadata_path

Definition at line 668 of file ZConfig.cc.

◆ cfg_solvfiles_path

DefaultOption<Pathname> zypp::ZConfig::Impl::cfg_solvfiles_path

Definition at line 669 of file ZConfig.cc.

◆ cfg_packages_path

DefaultOption<Pathname> zypp::ZConfig::Impl::cfg_packages_path

Definition at line 670 of file ZConfig.cc.

◆ cfg_config_path

Pathname zypp::ZConfig::Impl::cfg_config_path

Definition at line 672 of file ZConfig.cc.

◆ cfg_known_repos_path

Pathname zypp::ZConfig::Impl::cfg_known_repos_path

Definition at line 673 of file ZConfig.cc.

◆ cfg_known_services_path

Pathname zypp::ZConfig::Impl::cfg_known_services_path

Definition at line 674 of file ZConfig.cc.

◆ cfg_vars_path

Pathname zypp::ZConfig::Impl::cfg_vars_path

Definition at line 675 of file ZConfig.cc.

◆ cfg_repo_mgr_root_path

Pathname zypp::ZConfig::Impl::cfg_repo_mgr_root_path

Definition at line 676 of file ZConfig.cc.

◆ cfg_vendor_path

Pathname zypp::ZConfig::Impl::cfg_vendor_path

Definition at line 678 of file ZConfig.cc.

◆ cfg_multiversion_path

Pathname zypp::ZConfig::Impl::cfg_multiversion_path

Definition at line 679 of file ZConfig.cc.

◆ cfg_kernel_keep_spec

std::string zypp::ZConfig::Impl::cfg_kernel_keep_spec

Definition at line 680 of file ZConfig.cc.

◆ locks_file

Pathname zypp::ZConfig::Impl::locks_file

Definition at line 681 of file ZConfig.cc.

◆ update_data_path

Pathname zypp::ZConfig::Impl::update_data_path

Definition at line 683 of file ZConfig.cc.

◆ update_scripts_path

Pathname zypp::ZConfig::Impl::update_scripts_path

Definition at line 684 of file ZConfig.cc.

◆ update_messages_path

Pathname zypp::ZConfig::Impl::update_messages_path

Definition at line 685 of file ZConfig.cc.

◆ updateMessagesNotify

DefaultOption<std::string> zypp::ZConfig::Impl::updateMessagesNotify

Definition at line 686 of file ZConfig.cc.

◆ repo_add_probe

bool zypp::ZConfig::Impl::repo_add_probe

Definition at line 688 of file ZConfig.cc.

◆ repo_refresh_delay

unsigned zypp::ZConfig::Impl::repo_refresh_delay

Definition at line 689 of file ZConfig.cc.

◆ repoRefreshLocales

LocaleSet zypp::ZConfig::Impl::repoRefreshLocales

Definition at line 690 of file ZConfig.cc.

◆ repoLabelIsAlias

bool zypp::ZConfig::Impl::repoLabelIsAlias

Definition at line 691 of file ZConfig.cc.

◆ download_use_deltarpm

bool zypp::ZConfig::Impl::download_use_deltarpm

Definition at line 693 of file ZConfig.cc.

◆ download_use_deltarpm_always

bool zypp::ZConfig::Impl::download_use_deltarpm_always

Definition at line 694 of file ZConfig.cc.

◆ download_media_prefer_download

DefaultOption<bool> zypp::ZConfig::Impl::download_media_prefer_download

Definition at line 695 of file ZConfig.cc.

◆ download_mediaMountdir

DefaultOption<Pathname> zypp::ZConfig::Impl::download_mediaMountdir

Definition at line 696 of file ZConfig.cc.

◆ commit_downloadMode

Option<DownloadMode> zypp::ZConfig::Impl::commit_downloadMode

Definition at line 698 of file ZConfig.cc.

◆ gpgCheck

DefaultOption<bool> zypp::ZConfig::Impl::gpgCheck

Definition at line 700 of file ZConfig.cc.

◆ repoGpgCheck

DefaultOption<TriBool> zypp::ZConfig::Impl::repoGpgCheck

Definition at line 701 of file ZConfig.cc.

◆ pkgGpgCheck

DefaultOption<TriBool> zypp::ZConfig::Impl::pkgGpgCheck

Definition at line 702 of file ZConfig.cc.

◆ solver_checkSystemFile

Pathname zypp::ZConfig::Impl::solver_checkSystemFile

Definition at line 704 of file ZConfig.cc.

◆ solver_checkSystemFileDir

Pathname zypp::ZConfig::Impl::solver_checkSystemFileDir

Definition at line 705 of file ZConfig.cc.

◆ apply_locks_file

bool zypp::ZConfig::Impl::apply_locks_file

Definition at line 710 of file ZConfig.cc.

◆ rpmInstallFlags

target::rpm::RpmInstFlags zypp::ZConfig::Impl::rpmInstallFlags

Definition at line 712 of file ZConfig.cc.

◆ history_log_path

Pathname zypp::ZConfig::Impl::history_log_path

Definition at line 714 of file ZConfig.cc.

◆ userData

std::string zypp::ZConfig::Impl::userData

Definition at line 716 of file ZConfig.cc.

◆ pluginsPath

Option<Pathname> zypp::ZConfig::Impl::pluginsPath

Definition at line 718 of file ZConfig.cc.

◆ geoipEnabled

bool zypp::ZConfig::Impl::geoipEnabled

Definition at line 720 of file ZConfig.cc.

◆ geoipHosts

std::vector<std::string> zypp::ZConfig::Impl::geoipHosts

Definition at line 722 of file ZConfig.cc.

◆ _mediaConf

MediaConfig& zypp::ZConfig::Impl::_mediaConf = MediaConfig::instance()

Definition at line 725 of file ZConfig.cc.

◆ _initialTargetDefaults

TargetDefaults zypp::ZConfig::Impl::_initialTargetDefaults
private

Initial TargetDefaults from /.

Definition at line 732 of file ZConfig.cc.

◆ _currentTargetDefaults

std::optional<TargetDefaults> zypp::ZConfig::Impl::_currentTargetDefaults
private

TargetDefaults while –root.

Definition at line 733 of file ZConfig.cc.

◆ _multiversionMap

MultiversionMap zypp::ZConfig::Impl::_multiversionMap
mutableprivate

Definition at line 823 of file ZConfig.cc.


The documentation for this class was generated from the following file: