libzypp  13.10.6
zypp::repo Namespace Reference

Namespaces

 susetags
 
 yum
 

Classes

class  DeltaCandidates
 Candidate delta and patches for a package. More...
 
class  Downloader
 Downloader base class. More...
 
class  RpmPackageProvider
 RPM PackageProvider implementation. More...
 
class  PackageProviderPolicy
 Policies and options for PackageProvider. More...
 
class  PackageProvider
 Provide a package from a Repo. More...
 
class  PluginServices
 
class  RepoException
 Exception for repository handling. More...
 
class  RepoNotCachedException
 The repository cache is not built yet so you can't create the repostories from the cache. More...
 
class  RepoNoUrlException
 thrown when it was impossible to determine one url for this repo. More...
 
class  RepoNoAliasException
 thrown when it was impossible to determine an alias for this repo. More...
 
class  RepoInvalidAliasException
 Thrown when the repo alias is found to be invalid. More...
 
class  RepoNotFoundException
 thrown when it was impossible to match a repository More...
 
class  RepoAlreadyExistsException
 Repository already exists and some unique attribute can't be duplicated. More...
 
class  RepoUnknownTypeException
 thrown when it was impossible to determine this repo type. More...
 
class  RepoMetadataException
 thrown when it was impossible to use the raw metadata for this repo. More...
 
class  ServiceException
 Base Exception for service handling. More...
 
class  ServiceNoAliasException
 Service without alias was used in an operation. More...
 
class  ServiceInvalidAliasException
 Thrown when the repo alias is found to be invalid. More...
 
class  ServiceAlreadyExistsException
 Service already exists and some unique attribute can't be duplicated. More...
 
class  ServiceNoUrlException
 Service has no or invalid url defined. More...
 
class  ServicePluginInformalException
 Service plugin has trouble providing the metadata but this should not be treated as error. More...
 
class  RepoInfoBase
 Base class implementing common features of RepoInfo and ServiceInfo. More...
 
class  RepoMirrorList
 
class  RepoMediaAccess
 Provides files from different repos. More...
 
struct  RepoType
 Repository type enumeration. More...
 
struct  RepoVariablesStringReplacer
 Functor replacing repository variables. More...
 
struct  RepoVariablesUrlReplacer
 Functor replacing repository variables. More...
 
class  RIMServiceRepos
 
class  PluginServiceRepos
 
class  ServiceRepos
 Retrieval of repository list for a service. More...
 
struct  ServiceType
 Service type enumeration. More...
 
class  SrcPackageProvider
 
class  SUSEMediaVerifier
 Implementation of the traditional SUSE media verifier. More...
 
struct  DownloadResolvableReport
 
struct  ProbeRepoReport
 
struct  RepoCreateReport
 
struct  RepoReport
 

Functions

std::ostream & operator<< (std::ostream &str, const DeltaCandidates &obj)
 
void downloadMediaInfo (const Pathname &dest_dir, MediaSetAccess &media, const ProgressData::ReceiverFnc &progress=ProgressData::ReceiverFnc())
 Downloads the media info (/media.1) to a local directory. More...
 
std::ostream & operator<< (std::ostream &str, const PluginServices &obj)
 
 DEF_CTORS (RepoNotCachedException,"Repository is not cached")
 
 DEF_CTORS (RepoNoUrlException,"Repository has no or invalid url defined.")
 
 DEF_CTORS (RepoNoAliasException,"Repository has no alias defined.")
 
 DEF_CTORS (RepoInvalidAliasException,"Repository has an invalid alias.")
 
 DEF_CTORS (RepoNotFoundException,"Repository not found.")
 
 DEF_CTORS (RepoAlreadyExistsException,"Repository already exists.")
 
 DEF_CTORS (RepoUnknownTypeException,"Repository type can't be determined.")
 
 DEF_CTORS (RepoMetadataException,"Repository metadata not usable.")
 
 DEF_CTORS (ServiceNoAliasException,"Service has no alias defined.")
 
 DEF_CTORS (ServiceInvalidAliasException,"Service has an invalid alias.")
 
 DEF_CTORS (ServiceAlreadyExistsException,"Service already exists.")
 
 DEF_CTORS (ServiceNoUrlException,"Service has no or invalid url defined.")
 
 DEF_CTORS (ServicePluginInformalException,"Service plugin has trouble providing the metadata but this should not be treated as error.")
 
std::ostream & operator<< (std::ostream &str, const RepoInfoBase &obj)
 
bool operator< (const RepoInfoBase &lhs, const RepoInfoBase &rhs)
 
ManagedFile provideFile (RepoInfo repo_r, const OnMediaLocation &loc_r, const ProvideFilePolicy &policy_r=ProvideFilePolicy())
 Provide a file from a Repository. More...
 
std::ostream & operator<< (std::ostream &str, const RepoType &obj)
 
bool operator== (const RepoType &obj1, const RepoType &obj2)
 
bool operator!= (const RepoType &obj1, const RepoType &obj2)
 
std::ostream & operator<< (std::ostream &str, const ServiceType &obj)
 
bool operator== (const ServiceType &obj1, const ServiceType &obj2)
 
bool operator!= (const ServiceType &obj1, const ServiceType &obj2)
 

Variables

static std::map< std::string,
ServiceType::Type
_table
 

Function Documentation

std::ostream& zypp::repo::operator<< ( std::ostream &  str,
const DeltaCandidates &  obj 
)
related

Definition at line 107 of file DeltaCandidates.cc.

void zypp::repo::downloadMediaInfo ( const Pathname &  dest_dir,
MediaSetAccess &  media,
const ProgressData::ReceiverFnc &  progress = ProgressData::ReceiverFnc() 
)

Downloads the media info (/media.1) to a local directory.

Parameters
dest_dirDestination directory
mediaMediaSetAccess object to some media
progressProgress callback function
Exceptions
Exceptionon error

Definition at line 25 of file MediaInfoDownloader.cc.

std::ostream& zypp::repo::operator<< ( std::ostream &  str,
const PluginServices &  obj 
)

Definition at line 80 of file PluginServices.cc.

zypp::repo::DEF_CTORS ( RepoNotCachedException  ,
"Repository is not cached"   
)
zypp::repo::DEF_CTORS ( RepoNoUrlException  ,
"Repository has no or invalid url defined."   
)
zypp::repo::DEF_CTORS ( RepoNoAliasException  ,
"Repository has no alias defined."   
)
zypp::repo::DEF_CTORS ( RepoInvalidAliasException  ,
"Repository has an invalid alias."   
)
zypp::repo::DEF_CTORS ( RepoNotFoundException  ,
"Repository not found."   
)
zypp::repo::DEF_CTORS ( RepoAlreadyExistsException  ,
"Repository already exists."   
)
zypp::repo::DEF_CTORS ( RepoUnknownTypeException  ,
"Repository type can't be determined."   
)
zypp::repo::DEF_CTORS ( RepoMetadataException  ,
"Repository metadata not usable."   
)
zypp::repo::DEF_CTORS ( ServiceNoAliasException  ,
"Service has no alias defined."   
)
zypp::repo::DEF_CTORS ( ServiceInvalidAliasException  ,
"Service has an invalid alias."   
)
zypp::repo::DEF_CTORS ( ServiceAlreadyExistsException  ,
"Service already exists."   
)
zypp::repo::DEF_CTORS ( ServiceNoUrlException  ,
"Service has no or invalid url defined."   
)
zypp::repo::DEF_CTORS ( ServicePluginInformalException  ,
"Service plugin has trouble providing the metadata but this should not be treated as error."   
)
std::ostream& zypp::repo::operator<< ( std::ostream &  str,
const RepoInfoBase &  obj 
)
related

Definition at line 180 of file RepoInfoBase.cc.

bool zypp::repo::operator< ( const RepoInfoBase &  lhs,
const RepoInfoBase &  rhs 
)
inline

Definition at line 170 of file RepoInfoBase.h.

ManagedFile zypp::repo::provideFile ( RepoInfo  repo_r,
const OnMediaLocation &  loc_r,
const ProvideFilePolicy &  policy_r = ProvideFilePolicy() 
)

Provide a file from a Repository.

Let source_r provide the file described by loc_r. In case loc_r contains a checksum, the file is verified. policy_r provides callback hooks for download progress reporting and behaviour on failed checksum verification.

Exceptions
Exception

Definition at line 112 of file RepoProvideFile.cc.

std::ostream& zypp::repo::operator<< ( std::ostream &  str,
const RepoType &  obj 
)
inline

Definition at line 58 of file RepoType.h.

bool zypp::repo::operator== ( const RepoType &  obj1,
const RepoType &  obj2 
)
inline

Definition at line 61 of file RepoType.h.

bool zypp::repo::operator!= ( const RepoType &  obj1,
const RepoType &  obj2 
)
inline

Definition at line 64 of file RepoType.h.

std::ostream& zypp::repo::operator<< ( std::ostream &  str,
const ServiceType &  obj 
)
inline

Definition at line 68 of file ServiceType.h.

bool zypp::repo::operator== ( const ServiceType &  obj1,
const ServiceType &  obj2 
)
inline

Definition at line 71 of file ServiceType.h.

bool zypp::repo::operator!= ( const ServiceType &  obj1,
const ServiceType &  obj2 
)
inline

Definition at line 74 of file ServiceType.h.

Variable Documentation

std::map<std::string,ServiceType::Type> zypp::repo::_table
static

Definition at line 21 of file ServiceType.cc.