libzypp 17.35.9
serviceswf.cc File Reference
#include "serviceswf.h"
#include <zypp-core/ExternalProgram.h>
#include <zypp-core/base/Gettext.h>
#include <zypp-core/base/LogTools.h>
#include <zypp-core/zyppng/pipelines/MTry>
#include <zypp-core/zyppng/pipelines/Await>
#include <zypp-core/zyppng/io/Process>
#include <zypp-media/ng/providespec.h>
#include <zypp/parser/RepoindexFileReader.h>
#include <zypp/parser/RepoFileReader.h>
#include <zypp/repo/RepoException.h>
#include <zypp/Target.h>
#include <zypp/zypp_detail/urlcredentialextractor_p.h>
#include <zypp/ng/Context>
#include <zypp/ng/workflows/contextfacade.h>
#include <zypp/ng/workflows/logichelpers.h>
#include <zypp/ng/workflows/mediafacade.h>
Include dependency graph for serviceswf.cc:

Go to the source code of this file.

Namespaces

namespace  zyppng
 
namespace  zyppng::RepoServicesWorkflow
 

Macros

#define ZYPP_BASE_LOGGER_LOGGROUP   "zypp::repomanager"
 
#define Z_CHKGPG(I, N)
 

Functions

AsyncOpRef< expected< std::pair< zypp::ServiceInfo, RepoInfoList > > > zyppng::RepoServicesWorkflow::fetchRepoListfromService (ContextRef ctx, zypp::Pathname root_r, ServiceInfo service, ProgressObserverRef myProgress)
 
expected< std::pair< zypp::ServiceInfo, RepoInfoList > > zyppng::RepoServicesWorkflow::fetchRepoListfromService (SyncContextRef ctx, zypp::Pathname root_r, ServiceInfo service, ProgressObserverRef myProgress)
 
AsyncOpRef< expected< zypp::repo::ServiceType > > zyppng::RepoServicesWorkflow::probeServiceType (ContextRef ctx, const zypp::Url &url)
 
expected< zypp::repo::ServiceTypezyppng::RepoServicesWorkflow::probeServiceType (SyncContextRef ctx, const zypp::Url &url)
 
AsyncOpRef< expected< void > > zyppng::RepoServicesWorkflow::refreshService (AsyncRepoManagerRef repoMgr, ServiceInfo info, zypp::RepoManagerFlags::RefreshServiceOptions options)
 
expected< voidzyppng::RepoServicesWorkflow::refreshService (SyncRepoManagerRef repoMgr, ServiceInfo info, zypp::RepoManagerFlags::RefreshServiceOptions options)
 

Macro Definition Documentation

◆ ZYPP_BASE_LOGGER_LOGGROUP

#define ZYPP_BASE_LOGGER_LOGGROUP   "zypp::repomanager"

Definition at line 31 of file serviceswf.cc.

◆ Z_CHKGPG

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

Variable Documentation

◆ _ctx

ZyppContextRefType _ctx
private

Definition at line 102 of file serviceswf.cc.

◆ _root_r

zypp::Pathname _root_r
private

Definition at line 103 of file serviceswf.cc.

◆ _service

zypp::ServiceInfo _service
private

Definition at line 104 of file serviceswf.cc.

◆ _myProgress

ProgressObserverRef _myProgress
private

Definition at line 105 of file serviceswf.cc.

◆ _stdoutBuf

std::string _stdoutBuf
protected

Definition at line 165 of file serviceswf.cc.

◆ _stderrBuf

std::string _stderrBuf
protected

Definition at line 166 of file serviceswf.cc.

◆ _repoMgr

RepoMgrRefType _repoMgr

Definition at line 722 of file serviceswf.cc.

◆ _options

Definition at line 724 of file serviceswf.cc.

◆ _serviceModified

bool _serviceModified = false

Definition at line 729 of file serviceswf.cc.

◆ _informalError

std::optional<zypp::repo::ServicePluginInformalException> _informalError

Definition at line 735 of file serviceswf.cc.