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