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