Go to the documentation of this file.
32 const std::string & s( url_r.
getScheme() );
33 return s ==
"dir" || s ==
"file";
52 !=
CheckSum( CheckSum::md5Type(), std::ifstream( pi.c_str() ) ) )
91 static const IdString support_unsupported(
"support_unsupported" );
92 static const IdString support_acc(
"support_acc" );
93 static const IdString support_l1(
"support_l1" );
94 static const IdString support_l2(
"support_l2" );
95 static const IdString support_l3(
"support_l3" );
101 if ( solv.edition() ==
edition()
102 && solv.ident() ==
ident()
150 ERR <<
"Target not initialized. Changelog is not available." << std::endl;
157 target->rpmDb().getData(
name(), header);
158 return header ? header->tag_changelog() :
Changelog();
160 WAR <<
"changelog is not available for uninstalled packages" << std::endl;
190 std::list<std::string> ret;
Repository repository() const
std::string getScheme() const
Returns the scheme name of the URL.
std::list< ChangelogEntry > Changelog
List of ChangelogEntry.
A Solvable object within the sat Pool.
Container of Solvable providing a Capability (read only).
OnMediaLocation location() const
Location of the resolvable in the repository.
CheckSum checksum() const
Checksum the source says this package should have.
std::string distribution() const
Problem isolation, which means technical support designed to duplicate customer problems,...
Solvable satSolvable() const
Return the corresponding sat::Solvable.
RepoInfo repoInfo() const
What is known about a repository.
std::string sourcePkgLongName() const
The source rpms "name-version-release.type".
std::string group() const
static const SolvAttr packager
Edition represents [epoch:]version[-release]
static const SolvAttr sourcearch
Additional Customer Contract necessary.
std::string sourcePkgName() const
Name of the source rpm this package was built from.
The support for this package is unknown.
Changelog changelog() const
Get the package change log.
Solvable::IdType id() const
FileList filelist() const
Return the packages filelist (if available).
static const SolvAttr sourceevr
Pathname packagesPath() const
Path where this repo packages are cached.
Store and operate with byte count.
sat::ArrayAttr< PackageKeyword, IdString > Keywords
std::string asString() const
Conversion to std::string
static const SolvAttr url
Access to the sat-pools string space.
unsigned split(const C_Str &line_r, TOutputIterator result_r, const C_Str &sepchars_r=" \t", const Trim trim_r=NO_TRIM)
Split line_r into words.
Wrapper class for ::stat/::lstat.
std::string lookupStrAttribute(const SolvAttr &attr) const
static const SolvAttr license
std::list< std::string > authors() const
unsigned long long lookupNumAttribute(const SolvAttr &attr) const
#define IMPL_PTR_TYPE(NAME)
int IdType
Generic Id type.
std::string form(const char *format,...) __attribute__((format(printf
Printf style construction of std::string.
static const SolvAttr buildhost
Easy-to use interface to the ZYPP dependency resolver.
std::string sourcePkgType() const
The type of the source rpm ("src" or "nosrc").
ByteCount sourcesize() const
Size of corresponding the source package.
Problem resolution, which means technical support designed to resolve complex problems by engaging en...
detail::IdType lookupIdAttribute(const SolvAttr &attr) const
The package is known to be unsupported by the vendor.
Problem determination, which means technical support designed to provide compatibility information,...
static const SolvAttr authors
std::string buildhost() const
static const SolvAttr checksum
LookupAttr::TransformIterator based container to retrieve list attributes.
Pathname cachedLocation(const OnMediaLocation &loc_r, const RepoInfo &repo_r)
bool schemeIsLocalDir(const Url &url_r)
static const SolvAttr keywords
static const SolvAttr sourcename
Keywords keywords() const
std::string getPathName(EEncoding eflag=zypp::url::E_DECODED) const
Returns the path name from the URL.
Url url() const
Pars pro toto: The first repository url.
static const SolvAttr group
static const SolvAttr filelist
std::string packager() const
OnMediaLocation lookupLocation() const
static const SolvAttr distribution
static const SolvAttr sourcesize
sat::ArrayAttr< std::string, std::string > FileList
std::string license() const
bool maybeUnsupported() const
True if the vendor support for this package is unknown or explictly unsupported.
bool identical(const Solvable &rhs) const
CheckSum lookupCheckSumAttribute(const SolvAttr &attr) const
Edition sourcePkgEdition() const
Edition of the source rpm this package was built from.
Pathname cachedLocation() const
Location of the downloaded package in cache or an empty path.
VendorSupportOption vendorSupport() const
Returns the level of supportability the vendor gives to this package.
Base for resolvable objects.
std::string url() const
Don't ship it as class Url, because it might be in fact anything but a legal Url.
Pathname path() const
Repository path.