libzypp  17.38.7
repomanagerwf.cc File Reference
#include "repomanagerwf.h"
#include "zypp/parser/xml/Reader.h"
#include <zypp-core/ManagedFile.h>
#include <zypp-core/MirroredOrigin.h>
#include <zypp-core/ng/io/Process>
#include <zypp-core/ng/pipelines/MTry>
#include <zypp-core/ng/pipelines/Algorithm>
#include <zypp-media/MediaException>
#include <zypp/ng/media/Provide>
#include <zypp-media/ng/ProvideSpec>
#include <zypp-core/ExternalProgram.h>
#include <zypp/HistoryLog.h>
#include <zypp/base/Algorithm.h>
#include <zypp/ng/Context>
#include <zypp/ng/repo/workflows/repodownloaderwf.h>
#include <zypp/ng/repomanager.h>
#include <zypp/ZConfig.h>
#include <utility>
#include <fstream>
Include dependency graph for repomanagerwf.cc:

Go to the source code of this file.

Namespaces

 zyppng::RepoManagerWorkflow
 

Macros

#define ZYPP_BASE_LOGGER_LOGGROUP   "zypp::repomanager"
 

Functions

MaybeAwaitable< expected< zypp::repo::RepoType > > zyppng::RepoManagerWorkflow::probeRepoType (ContextRef ctx, Provide::LazyMediaHandle medium, zypp::Pathname path, std::optional< zypp::Pathname > targetPath)
 
MaybeAwaitable< expected< zypp::repo::RepoType > > zyppng::RepoManagerWorkflow::probeRepoType (ContextRef ctx, RepoInfo repo, std::optional< zypp::Pathname > targetPath)
 
MaybeAwaitable< expected< std::list< RepoInfo > > > zyppng::RepoManagerWorkflow::readRepoFile (ContextRef ctx, zypp::Url repoFileUrl)
 
MaybeAwaitable< expected< repo::RefreshCheckStatus > > zyppng::RepoManagerWorkflow::checkIfToRefreshMetadata (repo::RefreshContextRef refCtx, LazyMediaHandle< Provide > medium, ProgressObserverRef progressObserver)
 
MaybeAwaitable< expected< repo::RefreshContextRef > > zyppng::RepoManagerWorkflow::refreshMetadata (repo::RefreshContextRef refCtx, LazyMediaHandle< Provide > medium, ProgressObserverRef progressObserver)
 
MaybeAwaitable< expected< repo::RefreshContextRef > > zyppng::RepoManagerWorkflow::refreshMetadata (repo::RefreshContextRef refCtx, ProgressObserverRef progressObserver)
 
MaybeAwaitable< expected< repo::RefreshContextRef > > zyppng::RepoManagerWorkflow::buildCache (repo::RefreshContextRef refCtx, zypp::RepoManagerFlags::CacheBuildPolicy policy, ProgressObserverRef progressObserver)
 
MaybeAwaitable< expected< RepoInfo > > zyppng::RepoManagerWorkflow::addRepository (RepoManagerRef mgr, RepoInfo info, ProgressObserverRef myProgress, const zypp::TriBool &forcedProbe)
 
MaybeAwaitable< expected< void > > zyppng::RepoManagerWorkflow::addRepositories (RepoManagerRef mgr, zypp::Url url, ProgressObserverRef myProgress)
 
MaybeAwaitable< expected< void > > zyppng::RepoManagerWorkflow::refreshGeoIPData (ContextRef ctx, RepoInfo::url_set urls)
 
MaybeAwaitable< expected< void > > zyppng::RepoManagerWorkflow::refreshGeoIPData (ContextRef ctx, zypp::MirroredOriginSet origins)
 

Macro Definition Documentation

◆ ZYPP_BASE_LOGGER_LOGGROUP

#define ZYPP_BASE_LOGGER_LOGGROUP   "zypp::repomanager"

Definition at line 35 of file repomanagerwf.cc.

Variable Documentation

◆ _zyppContext

ContextRef _zyppContext
private

Definition at line 168 of file repomanagerwf.cc.

◆ _medium

LazyMediaHandle _medium
private

Definition at line 169 of file repomanagerwf.cc.

◆ _path

zypp::Pathname _path
private

Definition at line 170 of file repomanagerwf.cc.

◆ _targetPath

std::optional<zypp::Pathname> _targetPath
private

Definition at line 171 of file repomanagerwf.cc.

◆ _error

zypp::repo::RepoException _error
private

Definition at line 173 of file repomanagerwf.cc.

◆ _gotMediaError

bool _gotMediaError = false
private

Definition at line 174 of file repomanagerwf.cc.

◆ _refreshContext

repo::RefreshContextRef _refreshContext
protected

Definition at line 331 of file repomanagerwf.cc.

◆ _progress

ProgressObserverRef _progress
protected

Definition at line 332 of file repomanagerwf.cc.

◆ _mediarootpath

zypp::Pathname _mediarootpath

Definition at line 432 of file repomanagerwf.cc.

◆ _refCtx

repo::RefreshContextRef _refCtx
private

Definition at line 825 of file repomanagerwf.cc.

◆ _policy

Definition at line 826 of file repomanagerwf.cc.

◆ _progressObserver

ProgressObserverRef _progressObserver
private

Definition at line 827 of file repomanagerwf.cc.

◆ _productdatapath

zypp::Pathname _productdatapath
private

Definition at line 830 of file repomanagerwf.cc.

◆ _repoMgrRef

RepoManagerRef _repoMgrRef

Definition at line 899 of file repomanagerwf.cc.

◆ _doProbeUrl

bool _doProbeUrl

RepoManagerOptions::probe opt. overwritten in by ctor arg forcedProbe.

Definition at line 900 of file repomanagerwf.cc.

◆ _info

RepoInfo _info

Definition at line 901 of file repomanagerwf.cc.

◆ _myProgress

ProgressObserverRef _myProgress

Definition at line 902 of file repomanagerwf.cc.

◆ _url

zypp::Url _url
private

Definition at line 994 of file repomanagerwf.cc.

◆ _zyppCtx

ContextRef _zyppCtx
private

Definition at line 1160 of file repomanagerwf.cc.

◆ _origins

zypp::MirroredOriginSet _origins
private

Definition at line 1161 of file repomanagerwf.cc.

◆ _geoIPCache

zypp::Pathname _geoIPCache
private

Definition at line 1162 of file repomanagerwf.cc.