libzypp 17.31.23
RepoManager.cc File Reference
#include <cstdlib>
#include <iostream>
#include <fstream>
#include <sstream>
#include <list>
#include <map>
#include <algorithm>
#include <chrono>
#include <solv/solvversion.h>
#include <zypp-core/base/InputStream>
#include <zypp/base/LogTools.h>
#include <zypp/base/Gettext.h>
#include <zypp-core/base/DefaultIntegral>
#include <zypp/base/Function.h>
#include <zypp/base/Regex.h>
#include <zypp/PathInfo.h>
#include <zypp/TmpPath.h>
#include <zypp/ServiceInfo.h>
#include <zypp/repo/RepoException.h>
#include <zypp/RepoManager.h>
#include <zypp/media/MediaManager.h>
#include <zypp-media/auth/CredentialManager>
#include <zypp-media/MediaException>
#include <zypp/MediaSetAccess.h>
#include <zypp/ExternalProgram.h>
#include <zypp/ManagedFile.h>
#include <zypp/parser/RepoFileReader.h>
#include <zypp/parser/ServiceFileReader.h>
#include <zypp/parser/xml/Reader.h>
#include <zypp/repo/ServiceRepos.h>
#include <zypp/repo/yum/Downloader.h>
#include <zypp/repo/susetags/Downloader.h>
#include <zypp/repo/PluginServices.h>
#include <zypp/repo/PluginRepoverification.h>
#include <zypp/Target.h>
#include <zypp/ZYppFactory.h>
#include <zypp/HistoryLog.h>
#include <zypp/ZYppCallbacks.h>
#include "sat/Pool.h"
#include <zypp/base/Algorithm.h>
Include dependency graph for RepoManager.cc:

Go to the source code of this file.

Classes

class  zypp::RepoManager
 creates and provides information about known sources. More...
 

Namespaces

namespace  zypp
 Easy-to use interface to the ZYPP dependency resolver.
 
namespace  zypp::zypp_readonly_hack
 
namespace  zypp::env
 

Macros

#define OPT_PROGRESS   const ProgressData::ReceiverFnc & = ProgressData::ReceiverFnc()
 
#define OUTS(X)   str << " " #X "\t" << obj.X << endl
 
#define Z_CHKGPG(I, N)
 

Functions

bool zypp::zypp_readonly_hack::IGotIt ()
 
bool zypp::env::ZYPP_PLUGIN_APPDATA_FORCE_COLLECT ()
 To trigger appdata refresh unconditionally.
 
std::list< RepoInfo > zypp::readRepoFile (const Url &repo_file)
 Parses repo_file and returns a list of RepoInfo objects corresponding to repositories found within the file.
 
std::ostream & zypp::operator<< (std::ostream &str, const RepoManagerOptions &obj)
 
std::ostream & zypp::operator<< (std::ostream &str, const RepoManager &obj)
 

Macro Definition Documentation

◆ OPT_PROGRESS

#define OPT_PROGRESS   const ProgressData::ReceiverFnc & = ProgressData::ReceiverFnc()

Definition at line 66 of file RepoManager.cc.

◆ OUTS

#define OUTS (   X)    str << " " #X "\t" << obj.X << endl

◆ Z_CHKGPG

#define Z_CHKGPG (   I,
 
)
Value:
if ( ! sameTriboolState( ogpg[I], ngpg[I] ) ) \
{ \
DBG << "Service repo " << it->alias() << " gets new "#N"Check " << ngpg[I] << endl; \
oldRepo->set##N##Check( ngpg[I] ); \
oldRepoModified = true; \
}
#define DBG
Definition: Logger.h:95

Variable Documentation

◆ _root

const Pathname& _root
private

Definition at line 151 of file RepoManager.cc.

◆ _cmPtr

scoped_ptr<media::CredentialManager> _cmPtr
private

Definition at line 152 of file RepoManager.cc.

◆ _mid

media::MediaAccessId _mid
private

Definition at line 193 of file RepoManager.cc.

◆ repos

RepoInfoList repos

Definition at line 285 of file RepoManager.cc.

◆ targetDistro

std::string targetDistro

Definition at line 286 of file RepoManager.cc.

◆ _services

ServiceSet& _services
private

Definition at line 458 of file RepoManager.cc.