Pacm module

PackageManager::Options

Startup configuration for repository endpoints, credentials, and directories.

Options

#include <icy/pacm/packagemanager.h>

Startup configuration for repository endpoints, credentials, and directories.

Public Attributes

ReturnNameDescription
std::stringendpointThe HTTP server endpoint.
std::stringindexURIThe HTTP server URI for querying packages JSON.
std::stringhttpUsernameUsername for HTTP basic auth.
std::stringhttpPasswordPAssword for HTTP basic auth.
std::stringhttpOAuthTokenWill be used instead of HTTP basic if provided.
std::stringtempDirDirectory where package files will be downloaded and extracted.
std::stringdataDirDirectory where package manifests will be kept.
std::stringinstallDirDirectory where packages will be installed.
std::stringplatformPlatform (win32, linux, mac)
std::stringchecksumAlgorithmChecksum algorithm (MDS/SHA1)
boolclearFailedCacheThis flag tells the package manager weather or not to clear the package cache if installation fails.

endpoint

std::string endpoint

The HTTP server endpoint.


indexURI

std::string indexURI

The HTTP server URI for querying packages JSON.


httpUsername

std::string httpUsername

Username for HTTP basic auth.


httpPassword

std::string httpPassword

PAssword for HTTP basic auth.


httpOAuthToken

std::string httpOAuthToken

Will be used instead of HTTP basic if provided.


tempDir

std::string tempDir

Directory where package files will be downloaded and extracted.


dataDir

std::string dataDir

Directory where package manifests will be kept.


installDir

std::string installDir

Directory where packages will be installed.


platform

std::string platform

Platform (win32, linux, mac)


checksumAlgorithm

std::string checksumAlgorithm

Checksum algorithm (MDS/SHA1)


clearFailedCache

bool clearFailedCache

This flag tells the package manager weather or not to clear the package cache if installation fails.

Public Methods

ReturnNameDescription
Options inline

Options

inline

inline Options(const std::string & root)