50 static const IdString support_unsupported(
"support_unsupported" );
51 static const IdString support_acc(
"support_acc" );
52 static const IdString support_l1(
"support_l1" );
53 static const IdString support_l2(
"support_l2" );
54 static const IdString support_l3(
"support_l3" );
60 if ( solv.edition() ==
edition()
61 && solv.ident() ==
ident()
101 Target_Ptr target( getZYpp()->getTarget() );
104 ERR <<
"Target not initialized. Changelog is not available." << std::endl;
111 target->rpmDb().getData(
name(), header);
112 return header ? header->tag_changelog() :
Changelog();
114 WAR <<
"changelog is not available for uninstalled packages" << std::endl;
144 std::list<std::string> ret;
160 bool schemeIsLocalDir(
const Url & url_r )
163 return s ==
"dir" || s ==
"file";
172 if ( ! pi.isExist() )
178 if ( ! schemeIsLocalDir( url ) )
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.
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.
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
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
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
static const std::string & md5Type()
CheckSum lookupCheckSumAttribute(const SolvAttr &attr) const
Easy-to use interface to the ZYPP dependency resolver.
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.