49 static const IdString support_unsupported(
"support_unsupported" );
50 static const IdString support_acc(
"support_acc" );
51 static const IdString support_l1(
"support_l1" );
52 static const IdString support_l2(
"support_l2" );
53 static const IdString support_l3(
"support_l3" );
59 if ( solv.edition() ==
edition()
60 && solv.ident() ==
ident()
96 Target_Ptr target( getZYpp()->getTarget() );
99 ERR <<
"Target not initialized. Changelog is not available." << std::endl;
106 target->rpmDb().getData(
name(), header);
107 return header ? header->tag_changelog() :
Changelog();
109 WAR <<
"changelog is not available for uninstalled packages" << std::endl;
139 std::list<std::string> ret;
155 bool schemeIsLocalDir(
const Url & url_r )
158 return s ==
"dir" || s ==
"file";
167 if ( ! pi.isExist() )
173 if ( ! schemeIsLocalDir( url ) )
int IdType
Generic Id type.
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.
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.
unsigned split(const C_Str &line_r, _OutputIterator result_r, const C_Str &sepchars_r=" \t")
Split line_r into words.
Repository repository() const
std::string license() 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.
std::list< ChangelogEntry > Changelog
List of ChangelogEntry.
FileList filelist() const
Return the packages filelist (if available).
std::string lookupStrAttribute(const SolvAttr &attr) const
returns the string attribute value for attr or an empty string if it does not exists.
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.
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::list< std::string > authors() const
detail::IdType lookupIdAttribute(const SolvAttr &attr) const
returns the id attribute value for attr or detail::noId if it does not exists.
std::string asString() const
Conversion to std::string
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.
OnMediaLocation lookupLocation() const
returns OnMediaLocation data: This is everything we need to download e.g.
CheckSum lookupCheckSumAttribute(const SolvAttr &attr) const
returns the CheckSum attribute value for attr or an empty CheckSum if ir does not exist...
static const SolvAttr url
Keywords keywords() const
static const SolvAttr license
const sat::Solvable & satSolvable() const
Access the corresponding ::Solvable.
RepoInfo repoInfo() const
RepoInfo associated with the repository providing this resolvable.
std::string packager() const
The package is known to be unsupported by the vendor.
unsigned long long lookupNumAttribute(const SolvAttr &attr) const
returns the numeric attribute value for attr or 0 if it does not exists.
static const SolvAttr authors
Interface base for resolvable objects (common data).
static const SolvAttr buildhost
static const SolvAttr checksum
std::string group() const
static const SolvAttr sourcename
std::string form(const char *format,...)
Printf style construction of std::string.
std::string sourcePkgType() const
The type of the source rpm ("src" or "nosrc").
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
static const SolvAttr group
static const SolvAttr filelist
Pathname cachedLocation() const
Location of the downloaded package in cache or an empty path.
IdType id() const
Expert backdoor.
sat::ArrayAttr< std::string, std::string > FileList
std::string getScheme() const
Returns the scheme name of the URL.
static const SolvAttr distribution
static const std::string & md5Type()
std::string distribution() const
Changelog changelog() const
Get the package change log.
#define IMPL_PTR_TYPE(NAME)
bool identical(Solvable rhs) const
Test whether two Solvables have the same content.
CheckSum checksum() const
Checksum the source says this package should have.