libzypp  14.48.5
zypp::RepoInfo::Impl Struct Reference

RepoInfo implementation. More...

Public Member Functions

 Impl ()
 
 ~Impl ()
 
void setProbedType (const repo::RepoType &t) const
 
Pathname licenseTgz () const
 
const
RepoVariablesReplacedUrlList
baseUrls () const
 
RepoVariablesReplacedUrlListbaseUrls ()
 
bool baseurl2dump () const
 
const
RepoVariablesReplacedUrlList
gpgKeyUrls () const
 
RepoVariablesReplacedUrlListgpgKeyUrls ()
 
void addContent (const std::string &keyword_r)
 
bool hasContent (const std::string &keyword_r) const
 
TriBool rawGpgCheck () const
 
TriBool rawRepoGpgCheck () const
 
TriBool rawPkgGpgCheck () const
 
void rawGpgCheck (TriBool val_r)
 
void rawRepoGpgCheck (TriBool val_r)
 
void rawPkgGpgCheck (TriBool val_r)
 
bool cfgGpgCheck () const
 
TriBool cfgRepoGpgCheck () const
 
TriBool cfgPkgGpgCheck () const
 
TriBool internalValidRepoSignature () const
 Signature check result needs to be stored/retrieved from _metadatapath. More...
 
void internalSetValidRepoSignature (TriBool value_r)
 
bool internalUnsignedConfirmed () const
 We definitely have a symlink pointing to "indeterminate" (for repoGpgCheckIsMandatory)? I.e. More...
 
bool triBoolFromPath (const Pathname &path_r, TriBool &ret_r) const
 
TriBool triBoolFromPath (const Pathname &path_r) const
 

Public Attributes

TriBool keeppackages
 
RepoVariablesReplacedUrl _mirrorListUrl
 
repo::RepoType type
 
Pathname path
 
std::string service
 
std::string targetDistro
 
Pathname metadatapath
 
Pathname packagespath
 
DefaultIntegral< unsigned,
defaultPriority
priority
 
bool emptybaseurls
 
repo::RepoVariablesUrlReplacer replacer
 

Static Public Attributes

static const unsigned defaultPriority = 99
 

Private Member Functions

Implclone () const
 clone for RWCOW_pointer More...
 

Private Attributes

TriBool _rawGpgCheck
 default gpgcheck behavior: Y/N/ZConf More...
 
TriBool _rawRepoGpgCheck
 need to check repo sign.: Y/N/(ZConf(Y/N/gpgCheck)) More...
 
TriBool _rawPkgGpgCheck
 need to check pkg sign.: Y/N/(ZConf(Y/N/gpgCheck)) More...
 
TriBool _validRepoSignature
 have signed and valid repo metadata More...
 
RepoVariablesReplacedUrlList _baseUrls
 
std::set< std::string > _keywords
 
RepoVariablesReplacedUrlList _gpgKeyUrls
 

Friends

ImplrwcowClone (const Impl *rhs)
 

Related Functions

(Note that these are not member functions.)

std::ostream & operator<< (std::ostream &str, const RepoInfo::Impl &obj)
 

Detailed Description

RepoInfo implementation.

Definition at line 43 of file RepoInfo.cc.

Constructor & Destructor Documentation

zypp::RepoInfo::Impl::Impl ( )
inline

Definition at line 45 of file RepoInfo.cc.

zypp::RepoInfo::Impl::~Impl ( )
inline

Definition at line 55 of file RepoInfo.cc.

Member Function Documentation

void zypp::RepoInfo::Impl::setProbedType ( const repo::RepoType t) const
inline

Definition at line 61 of file RepoInfo.cc.

Pathname zypp::RepoInfo::Impl::licenseTgz ( ) const
inline

Definition at line 72 of file RepoInfo.cc.

const RepoVariablesReplacedUrlList& zypp::RepoInfo::Impl::baseUrls ( ) const
inline

Definition at line 75 of file RepoInfo.cc.

RepoVariablesReplacedUrlList& zypp::RepoInfo::Impl::baseUrls ( )
inline

Definition at line 88 of file RepoInfo.cc.

bool zypp::RepoInfo::Impl::baseurl2dump ( ) const
inline

Definition at line 91 of file RepoInfo.cc.

const RepoVariablesReplacedUrlList& zypp::RepoInfo::Impl::gpgKeyUrls ( ) const
inline

Definition at line 95 of file RepoInfo.cc.

RepoVariablesReplacedUrlList& zypp::RepoInfo::Impl::gpgKeyUrls ( )
inline

Definition at line 98 of file RepoInfo.cc.

void zypp::RepoInfo::Impl::addContent ( const std::string &  keyword_r)
inline

Definition at line 101 of file RepoInfo.cc.

bool zypp::RepoInfo::Impl::hasContent ( const std::string &  keyword_r) const
inline

Definition at line 104 of file RepoInfo.cc.

TriBool zypp::RepoInfo::Impl::internalValidRepoSignature ( ) const
inline

Signature check result needs to be stored/retrieved from _metadatapath.

Don't call them from outside validRepoSignature/setValidRepoSignature

Definition at line 153 of file RepoInfo.cc.

void zypp::RepoInfo::Impl::internalSetValidRepoSignature ( TriBool  value_r)
inline

Definition at line 167 of file RepoInfo.cc.

bool zypp::RepoInfo::Impl::internalUnsignedConfirmed ( ) const
inline

We definitely have a symlink pointing to "indeterminate" (for repoGpgCheckIsMandatory)? I.e.

user accepted the unsigned repo in Downloader. A test whether internalValidRepoSignature is indeterminate would include not yet checked repos, which is unwanted here.

Definition at line 189 of file RepoInfo.cc.

bool zypp::RepoInfo::Impl::triBoolFromPath ( const Pathname &  path_r,
TriBool ret_r 
) const
inline

Definition at line 195 of file RepoInfo.cc.

TriBool zypp::RepoInfo::Impl::triBoolFromPath ( const Pathname &  path_r) const
inline

Definition at line 221 of file RepoInfo.cc.

TriBool zypp::RepoInfo::Impl::rawGpgCheck ( ) const
inline

Definition at line 232 of file RepoInfo.cc.

TriBool zypp::RepoInfo::Impl::rawRepoGpgCheck ( ) const
inline

Definition at line 233 of file RepoInfo.cc.

TriBool zypp::RepoInfo::Impl::rawPkgGpgCheck ( ) const
inline

Definition at line 234 of file RepoInfo.cc.

void zypp::RepoInfo::Impl::rawGpgCheck ( TriBool  val_r)
inline

Definition at line 236 of file RepoInfo.cc.

void zypp::RepoInfo::Impl::rawRepoGpgCheck ( TriBool  val_r)
inline

Definition at line 237 of file RepoInfo.cc.

void zypp::RepoInfo::Impl::rawPkgGpgCheck ( TriBool  val_r)
inline

Definition at line 238 of file RepoInfo.cc.

bool zypp::RepoInfo::Impl::cfgGpgCheck ( ) const
inline

Definition at line 240 of file RepoInfo.cc.

TriBool zypp::RepoInfo::Impl::cfgRepoGpgCheck ( ) const
inline

Definition at line 242 of file RepoInfo.cc.

TriBool zypp::RepoInfo::Impl::cfgPkgGpgCheck ( ) const
inline

Definition at line 244 of file RepoInfo.cc.

Impl* zypp::RepoInfo::Impl::clone ( ) const
inlineprivate

clone for RWCOW_pointer

Definition at line 270 of file RepoInfo.cc.

Friends And Related Function Documentation

Impl* rwcowClone ( const Impl rhs)
friend
std::ostream & operator<< ( std::ostream &  str,
const RepoInfo::Impl obj 
)
related

Stream output

Definition at line 276 of file RepoInfo.cc.

Member Data Documentation

const unsigned zypp::RepoInfo::Impl::defaultPriority = 99
static

Definition at line 59 of file RepoInfo.cc.

TriBool zypp::RepoInfo::Impl::_rawGpgCheck
private

default gpgcheck behavior: Y/N/ZConf

Definition at line 227 of file RepoInfo.cc.

TriBool zypp::RepoInfo::Impl::_rawRepoGpgCheck
private

need to check repo sign.: Y/N/(ZConf(Y/N/gpgCheck))

Definition at line 228 of file RepoInfo.cc.

TriBool zypp::RepoInfo::Impl::_rawPkgGpgCheck
private

need to check pkg sign.: Y/N/(ZConf(Y/N/gpgCheck))

Definition at line 229 of file RepoInfo.cc.

TriBool zypp::RepoInfo::Impl::_validRepoSignature
private

have signed and valid repo metadata

Definition at line 248 of file RepoInfo.cc.

TriBool zypp::RepoInfo::Impl::keeppackages

Definition at line 250 of file RepoInfo.cc.

RepoVariablesReplacedUrl zypp::RepoInfo::Impl::_mirrorListUrl

Definition at line 251 of file RepoInfo.cc.

repo::RepoType zypp::RepoInfo::Impl::type

Definition at line 252 of file RepoInfo.cc.

Pathname zypp::RepoInfo::Impl::path

Definition at line 253 of file RepoInfo.cc.

std::string zypp::RepoInfo::Impl::service

Definition at line 254 of file RepoInfo.cc.

std::string zypp::RepoInfo::Impl::targetDistro

Definition at line 255 of file RepoInfo.cc.

Pathname zypp::RepoInfo::Impl::metadatapath

Definition at line 256 of file RepoInfo.cc.

Pathname zypp::RepoInfo::Impl::packagespath

Definition at line 257 of file RepoInfo.cc.

DefaultIntegral<unsigned,defaultPriority> zypp::RepoInfo::Impl::priority

Definition at line 258 of file RepoInfo.cc.

bool zypp::RepoInfo::Impl::emptybaseurls
mutable

Definition at line 259 of file RepoInfo.cc.

repo::RepoVariablesUrlReplacer zypp::RepoInfo::Impl::replacer

Definition at line 260 of file RepoInfo.cc.

RepoVariablesReplacedUrlList zypp::RepoInfo::Impl::_baseUrls
mutableprivate

Definition at line 263 of file RepoInfo.cc.

std::set<std::string> zypp::RepoInfo::Impl::_keywords
mutableprivate

Definition at line 264 of file RepoInfo.cc.

RepoVariablesReplacedUrlList zypp::RepoInfo::Impl::_gpgKeyUrls
private

Definition at line 266 of file RepoInfo.cc.


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