libzypp  17.38.7
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/ng/pipelines/MTry>
#include <zypp-core/ng/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/media/provide.h>
Include dependency graph for serviceswf.cc:

Go to the source code of this file.

Namespaces

 zyppng::RepoServicesWorkflow
 

Macros

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

Functions

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

Macro Definition Documentation

◆ ZYPP_BASE_LOGGER_LOGGROUP

#define ZYPP_BASE_LOGGER_LOGGROUP   "zypp::repomanager"

Definition at line 29 of file serviceswf.cc.

◆ Z_CHKGPG

#define Z_CHKGPG (   I,
 
)
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; \
}
bool sameTriboolState(tribool lhs, tribool rhs)
relates: TriBool whether 2 tribool have the same state (this is NOT ==)
Definition: TriBool.h:74

Variable Documentation

◆ _ctx

ContextRef _ctx
private

Definition at line 93 of file serviceswf.cc.

◆ _root_r

zypp::Pathname _root_r
private

Definition at line 94 of file serviceswf.cc.

◆ _service

zypp::ServiceInfo _service
private

Definition at line 95 of file serviceswf.cc.

◆ _myProgress

ProgressObserverRef _myProgress
private

Definition at line 96 of file serviceswf.cc.

◆ _stdoutBuf

std::string _stdoutBuf
private

Definition at line 215 of file serviceswf.cc.

◆ _stderrBuf

std::string _stderrBuf
private

Definition at line 216 of file serviceswf.cc.

◆ _repoMgr

RepoManagerRef _repoMgr

Definition at line 696 of file serviceswf.cc.

◆ _options

RepoManager::RefreshServiceOptions _options

Definition at line 698 of file serviceswf.cc.

◆ _serviceModified

bool _serviceModified = false

Definition at line 703 of file serviceswf.cc.

◆ _informalError

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

Definition at line 709 of file serviceswf.cc.