9#ifndef ZYPP_NG_REPOMANAGER_WORKFLOW_INCLUDED
10#define ZYPP_NG_REPOMANAGER_WORKFLOW_INCLUDED
13#include <zypp-core/ng/async/task.h>
14#include <zypp-core/ng/pipelines/Expected>
15#include <zypp-media/ng/LazyMediaHandle>
21#include <zypp/ng/repo/Refresh>
34 MaybeAwaitable<expected<zypp::repo::RepoType> >
probeRepoType( ContextRef ctx,
RepoInfo repo, std::optional<zypp::Pathname> targetPath = {} );
38 MaybeAwaitable<expected<repo::RefreshCheckStatus> >
checkIfToRefreshMetadata( repo::RefreshContextRef refCtx, LazyMediaHandle<Provide> medium, ProgressObserverRef progressObserver =
nullptr );
40 MaybeAwaitable<expected<repo::RefreshContextRef> >
refreshMetadata( repo::RefreshContextRef refCtx, ProgressObserverRef progressObserver =
nullptr );
42 MaybeAwaitable<expected<repo::RefreshContextRef> >
refreshMetadata( repo::RefreshContextRef refCtx, LazyMediaHandle<Provide> medium, ProgressObserverRef progressObserver =
nullptr );
46 MaybeAwaitable<expected<RepoInfo>>
addRepository( RepoManagerRef mgr,
RepoInfo info, ProgressObserverRef myProgress =
nullptr,
const zypp::TriBool & forcedProbe = zypp::indeterminate );
48 MaybeAwaitable<expected<void>>
addRepositories( RepoManagerRef mgr,
zypp::Url url, ProgressObserverRef myProgress =
nullptr );
A smart container that manages a collection of MirroredOrigin objects, automatically grouping endpoin...
What is known about a repository.
boost::logic::tribool TriBool
3-state boolean logic (true, false and indeterminate).
MaybeAwaitable< expected< repo::RefreshCheckStatus > > checkIfToRefreshMetadata(repo::RefreshContextRef refCtx, LazyMediaHandle< Provide > medium, ProgressObserverRef progressObserver)
MaybeAwaitable< expected< void > > addRepositories(RepoManagerRef mgr, zypp::Url url, ProgressObserverRef myProgress)
MaybeAwaitable< expected< std::list< RepoInfo > > > readRepoFile(ContextRef ctx, zypp::Url repoFileUrl)
MaybeAwaitable< expected< zypp::repo::RepoType > > probeRepoType(ContextRef ctx, Provide::LazyMediaHandle medium, zypp::Pathname path, std::optional< zypp::Pathname > targetPath)
MaybeAwaitable< expected< RepoInfo > > addRepository(RepoManagerRef mgr, RepoInfo info, ProgressObserverRef myProgress, const zypp::TriBool &forcedProbe)
MaybeAwaitable< expected< repo::RefreshContextRef > > refreshMetadata(repo::RefreshContextRef refCtx, LazyMediaHandle< Provide > medium, ProgressObserverRef progressObserver)
MaybeAwaitable< expected< repo::RefreshContextRef > > buildCache(repo::RefreshContextRef refCtx, zypp::RepoManagerFlags::CacheBuildPolicy policy, ProgressObserverRef progressObserver)
MaybeAwaitable< expected< void > > refreshGeoIPData(ContextRef ctx, RepoInfo::url_set urls)
#define ZYPP_FWD_DECL_TYPE_WITH_REFS(T)