|
| ZYPP_IMPL_PRIVATE_CONSTR (Context) |
|
| ZYPP_FWD_DECL_TYPE_WITH_REFS (Context) |
|
| ZYPP_FWD_DECL_TYPE_WITH_REFS (ProgressObserver) |
|
| ZYPP_FWD_DECL_TYPE_WITH_REFS (Provide) |
|
template<typename T > |
auto | joinPipeline (ContextRef ctx, AsyncOpRef< T > res) |
|
| ZYPP_FWD_DECL_TYPE_WITH_REFS (EventDispatcher) |
|
| ZYPP_FWD_DECL_TYPE_WITH_REFS (SyncContext) |
|
std::ostream & | operator<< (std::ostream &str, zypp::RepoManagerFlags::RawMetadataRefreshPolicy obj) |
|
std::ostream & | operator<< (std::ostream &str, zypp::RepoManagerFlags::RefreshCheckStatus obj) |
|
std::ostream & | operator<< (std::ostream &str, zypp::RepoManagerFlags::CacheBuildPolicy obj) |
|
std::string | filenameFromAlias (const std::string &alias_r, const std::string &stem_r) |
| Generate a related filename from a repo/service infos alias.
|
|
expected< std::list< RepoInfo > > | repositories_in_file (const zypp::Pathname &file) |
| Reads RepoInfo's from a repo file.
|
|
template<typename ZContextRef > |
std::list< RepoInfo > | repositories_in_dir (ZContextRef zyppContext, const zypp::Pathname &dir) |
| List of RepoInfo's from a directory.
|
|
expected< void > | assert_urls (const RepoInfo &info) |
|
bool | autoPruneInDir (const zypp::Pathname &path_r) |
| bsc#1204956: Tweak to prevent auto pruning package caches.
|
|
| ZYPP_FWD_DECL_TEMPL_TYPE_WITH_REFS_ARG1 (RepoManager, ZyppContextRefType) |
|
bool | isTmpRepo (const RepoInfo &info_r) |
| Whether repo is not under RM control and provides its own methadata paths.
|
|
expected< void > | assert_alias (const RepoInfo &info) |
|
expected< void > | assert_alias (const ServiceInfo &info) |
|
template<class Iterator > |
bool | foundAliasIn (const std::string &alias_r, Iterator begin_r, Iterator end_r) |
| Check if alias_r is present in repo/service container.
|
|
template<class Container > |
bool | foundAliasIn (const std::string &alias_r, const Container &cont_r) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
template<class Iterator > |
Iterator | findAlias (const std::string &alias_r, Iterator begin_r, Iterator end_r) |
| Find alias_r in repo/service container.
|
|
template<class Container > |
Container::iterator | findAlias (const std::string &alias_r, Container &cont_r) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
template<class Container > |
Container::const_iterator | findAlias (const std::string &alias_r, const Container &cont_r) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
expected< void > | assert_url (const ServiceInfo &info) |
|
expected< zypp::Pathname > | rawcache_path_for_repoinfo (const RepoManagerOptions &opt, const RepoInfo &info) |
| Calculates the raw cache path for a repository, this is usually /var/cache/zypp/alias.
|
|
expected< zypp::Pathname > | rawproductdata_path_for_repoinfo (const RepoManagerOptions &opt, const RepoInfo &info) |
| Calculates the raw product metadata path for a repository, this is inside the raw cache dir, plus an optional path where the metadata is.
|
|
expected< zypp::Pathname > | packagescache_path_for_repoinfo (const RepoManagerOptions &opt, const RepoInfo &info) |
| Calculates the packages cache path for a repository.
|
|
expected< zypp::Pathname > | solv_path_for_repoinfo (const RepoManagerOptions &opt, const RepoInfo &info) |
| Calculates the solv cache path for a repository.
|
|
| ZYPP_FWD_DECL_REFS (Context) |
|
| ZYPP_IMPL_PRIVATE_CONSTR_ARGS (TrustKeyRequest, std::string label, KeyTrust trust, UserData userData) |
|
| ZYPP_FWD_DECL_TYPE_WITH_REFS (TrustKeyRequest) |
|
| ZYPP_IMPL_PRIVATE_CONSTR (SyncContext) |
|
template<typename T > |
auto | joinPipeline (SyncContextRef ctx, T &&val) |
|
| ZYPP_FWD_DECL_REFS (AsyncCacheProviderContext) |
|
| ZYPP_FWD_DECL_REFS (SyncCacheProviderContext) |
|
| IMPL_PTR_TYPE (AttachedSyncMediaInfo) |
|
| ZYPP_IMPL_PRIVATE_CONSTR (MediaSyncFacade) |
|
| ZYPP_FWD_DECL_TYPE_WITH_REFS (MediaSyncFacade) |
|
| DEFINE_PTR_TYPE (AttachedSyncMediaInfo) |
|
| ZYPP_FWD_DECL_TYPE_WITH_REFS (AsyncOpBase) |
|
template<typename T , bool isAsync = true> |
std::conditional_t< isAsync, AsyncOpRef< T >, T > | makeReadyResult (T &&result) |
|
template<typename Obj , typename Functor , std::enable_if_t< std::is_base_of_v< Base, Obj >||std::is_base_of_v< BasePrivate, Obj >, bool > = true> |
decltype(auto) | base_slot (Obj *o, Functor &&f) |
|
template<typename Obj , typename Functor , std::enable_if_t< std::is_base_of_v< Base, Obj >||std::is_base_of_v< BasePrivate, Obj >, bool > = true> |
decltype(auto) | base_slot (Obj &o, Functor &&f) |
|
| ZYPP_FWD_DECL_TYPE_WITH_REFS (UnixSignalSource) |
|
static int | readMask () |
|
static int | writeMask () |
|
static int | excpMask () |
|
static int | evModeToMask (int mode) |
|
static int | gioConditionToEventTypes (const GIOCondition rEvents, const int requestedEvs) |
|
static gboolean | eventLoopIdleFunc (gpointer user_data) |
| Called when the event loop is idle, here we run cleanup tasks and call later() callbacks of the user.
|
|
| ZYPP_FWD_DECL_TYPE_WITH_REFS (EventLoop) |
|
bool | blockAllSignalsForCurrentThread () |
|
bool | blockSignalsForCurrentThread (const std::vector< int > &sigs) |
|
bool | trySocketConnection (int &sockFD, const SockAddr &addr, uint64_t timeout) |
|
void | renumberFd (int origfd, int newfd) |
|
int64_t | bytesAvailableOnFD (int fd) |
|
std::string | strerr_cxx (const int err=-1) |
|
template<typename Fun , typename RestartCb , typename... Args> |
auto | eintrSafeCallEx (const Fun &function, const RestartCb &restartCb, Args &&... args) |
|
template<typename Fun , typename... Args> |
auto | eintrSafeCall (Fun &&function, Args &&... args) |
|
ThreadData & | threadData () |
|
constexpr bool | DefaultStateCondition (true) |
|
constexpr std::nullptr_t | DefaultStateTransition (nullptr) |
|
| ZYPP_FWD_DECL_TYPE_WITH_REFS (Timer) |
|
| ZYPP_IMPL_PRIVATE (UnixSignalSource) |
|
std::unique_ptr< zyppng::AbstractSpawnEngine > | engineFromEnv () |
|
| ZYPP_FWD_DECL_TYPE_WITH_REFS (IODevice) |
|
| ZYPP_DECLARE_OPERATORS_FOR_FLAGS (IODevice::OpenMode) |
|
| ZYPP_FWD_DECL_TYPE_WITH_REFS (Process) |
|
template<class Transformation , class DefaultType , class Predicate > |
auto | firstOf (Transformation &&transformFunc, DefaultType &&def, Predicate &&predicate=detail::ContinueUntilValidPredicate()) |
|
template<typename ... Excpt> |
bool | containsOneOfException (const std::exception_ptr &exceptionPtr) |
|
template<typename Excpt > |
bool | containsException (const std::exception_ptr &exceptionPtr) |
|
template<typename T , typename SignalGetter > |
auto | await (SignalGetter &&sigGet) |
|
template<typename Type , typename Err = std::exception_ptr> |
static expected< std::decay_t< Type >, Err > | make_expected_success (Type &&t) |
|
template<typename T , typename E , typename Function , typename ResultType = detail::mbind_cb_result_t<Function, T>> |
ResultType | and_then (const expected< T, E > &exp, Function &&f) |
|
template<typename T , typename E , typename Function , typename ResultType = detail::mbind_cb_result_t<Function, T>> |
ResultType | and_then (expected< T, E > &&exp, Function &&f) |
|
template<typename T , typename E , typename Function , typename ResultType = detail::mbind_cb_result_t<Function, E>> |
ResultType | or_else (const expected< T, E > &exp, Function &&f) |
|
template<typename T , typename E , typename Function , typename ResultType = detail::mbind_cb_result_t<Function, E>> |
ResultType | or_else (expected< T, E > &&exp, Function &&f) |
|
template<template< class, class... > class Container, typename T , typename E , typename ... CArgs> |
std::enable_if_t<!std::is_same_v< void, T >, expected< Container< T >, E > > | collect (Container< expected< T, E >, CArgs... > &&in) |
|
template<template< class, class... > class Container, typename T , typename E , typename ... CArgs> |
std::enable_if_t< std::is_same_v< void, T >, expected< T, E > > | collect (Container< expected< T, E >, CArgs... > &&in) |
|
template<typename T , typename E , typename Function > |
expected< T, E > | inspect (expected< T, E > exp, Function &&f) |
|
template<typename T , typename E , typename Function > |
expected< T, E > | inspect_err (expected< T, E > exp, Function &&f) |
|
template<template< class, class... > class Container, typename Msg , typename Transformation , typename Ret = std::result_of_t<Transformation(Msg)>, typename ... CArgs> |
auto | transform_collect (Container< Msg, CArgs... > &&in, Transformation &&f) |
|
template<typename Fun > |
auto | lift (Fun &&func) |
|
template<typename F , typename ... Args, typename Ret = std::invoke_result_t<F, Args...>, typename Exp = expected<Ret, std::exception_ptr>> |
Exp | mtry (F &&f, Args &&...args) |
|
template<typename Task , typename Pred > |
auto | redo_while (Task &&todo, Pred &&until) |
|
template<template< class, class... > class Container, typename Msg , typename Transformation , typename Ret = std::result_of_t<Transformation(Msg)>, typename ... CArgs> |
Container< Ret > | transform (Container< Msg, CArgs... > &&val, Transformation &&transformation) |
|
template<template< class, class... > class Container, typename Msg , typename Transformation , typename Ret = std::result_of_t<Transformation(Msg)>, typename ... CArgs> |
Container< Ret > | transform (const Container< Msg, CArgs... > &val, Transformation &&transformation) |
|
auto | waitFor () |
|
auto | join () |
|
| ZYPP_FWD_DECL_TYPE_WITH_REFS (StompFrameStream) |
|
| ZYPP_IMPL_PRIVATE_CONSTR_ARGS (ProgressObserver, const std::string &label, int steps) |
|
| ZYPP_IMPL_PRIVATE_CONSTR (UserInterface) |
|
| ZYPP_FWD_DECL_TYPE_WITH_REFS (UserInterface) |
|
| ZYPP_FWD_DECL_TYPE_WITH_REFS (UserRequest) |
|
| ZYPP_IMPL_PRIVATE_CONSTR_ARGS (ShowMessageRequest, std::string message, MType mType, UserData data) |
|
| ZYPP_IMPL_PRIVATE_CONSTR_ARGS (ListChoiceRequest, std::string label, std::vector< Choice > answers, index_type defaultAnswer, UserData userData) |
|
| ZYPP_IMPL_PRIVATE_CONSTR_ARGS (BooleanChoiceRequest, std::string label, const bool defaultAnswer, UserData userData) |
|
| ZYPP_FWD_DECL_TYPE_WITH_REFS (ShowMessageRequest) |
|
| ZYPP_FWD_DECL_TYPE_WITH_REFS (ListChoiceRequest) |
|
| ZYPP_FWD_DECL_TYPE_WITH_REFS (BooleanChoiceRequest) |
|
static const std::string & | defaultAgentString () |
|
| ZYPP_IMPL_PRIVATE (NetworkRequestError) |
|
| ZYPP_FWD_DECL_TYPE_WITH_REFS (SuseMediaDataVerifier) |
|
std::ostream & | operator<< (std::ostream &str, const MediaDataVerifierRef &obj) |
|
| DEFINE_PTR_TYPE (AttachedMediaInfo) |
|
bool | provideDebugEnabled () |
|
| ZYPP_FWD_DECL_TYPE_WITH_REFS (ProvideQueue) |
|
| ZYPP_FWD_DECL_TYPE_WITH_REFS (ProvideWorker) |
|
| ZYPP_FWD_DECL_TYPE_WITH_REFS (ProvideFileItem) |
|
| ZYPP_FWD_DECL_TYPE_WITH_REFS (AttachMediaItem) |
|
| ZYPP_FWD_DECL_TYPE_WITH_REFS (DetachMediaItem) |
|
| ZYPP_FWD_DECL_TYPE_WITH_REFS (ProvideRequest) |
|
constexpr std::string_view | AGENT_STRING_CONF ("zconfig://media/UserAgent") |
|
constexpr std::string_view | DISTRO_FLAV_CONF ("zconfig://media/DistributionFlavor") |
|
constexpr std::string_view | ANON_ID_CONF ("zconfig://media/AnonymousId") |
|
constexpr std::string_view | ATTACH_POINT ("zconfig://media/AttachPoint") |
|
constexpr std::string_view | PROVIDER_ROOT ("zconfig://media/ProviderRoot") |
|
constexpr std::string_view | NETWORK_METALINK_ENABLED ("zypp-nw-metalink-enabled") |
|
constexpr std::string_view | HANDLER_SPECIFIC_DEVICES ("zypp-req-specific-devices") |
|
| ZYPP_IMPL_PRIVATE (Provide) |
|
| ZYPP_FWD_DECL_TYPE_WITH_REFS (ProvideMediaSpec) |
|
| ZYPP_FWD_DECL_TYPE_WITH_REFS (ProvideFileSpec) |
|
| ZYPP_FWD_DECL_TYPE_WITH_REFS (ProvideItem) |
|
| ZYPP_FWD_DECL_TYPE_WITH_REFS (MediaDataVerifier) |
|
| ZYPP_FWD_DECL_TYPE_WITH_REFS (ProvideStatus) |
|
static constexpr std::string_view | DEFAULT_MEDIA_VERIFIER ("SuseMediaV1") |
|
| ZYPP_IMPL_PRIVATE (ProvideItem) |
|
template<typename T > |
static zyppng::expected< void > | doParseField (const std::string &val, ProvideMessage &t, std::string_view msgtype, std::string_view name) |
|
std::ostream & | operator<< (std::ostream &str, const ProvideFileSpec &obj) |
|
std::ostream & | dumpOn (std::ostream &str, const ProvideFileSpec &obj) |
|
@TODO Fix bsc#1174011 "auth=basic ignored in some cases" for provider We should proactively add the password to the request if basic auth is configured and a password is available in the credentials but not in the URL.
We should be a bit paranoid here and require that the URL has a user embedded, otherwise we go the default route and ask the server first about the auth method
@TODO Make sure URLs are rewritten, e.g. MediaSetAccess::rewriteUrl