libzypp 17.36.2
|
RPM PackageProvider implementation (with deltarpm processing). More...
Protected Member Functions | |
ManagedFile | doProvidePackage () const override |
Actually provide the final rpm. | |
![]() | |
ManagedFile | doProvidePackageFromCache () const |
Lookup the final rpm in cache. | |
Report & | report () const |
Access to the DownloadResolvableReport. | |
bool | progressPackageDownload (int value) const |
Redirect ProvideFilePolicy package download progress to this. | |
void | rpmSigFileChecker (const Pathname &file_r) const |
RpmDb::CheckPackageResult | packageSigCheck (const Pathname &path_r, bool isMandatory_r, UserData &userData) const |
Actual rpm package signature check. | |
void | resolveSignatureErrorAction (repo::DownloadResolvableReport::Action action_r) const |
React on signature verification error user action. | |
void | defaultReportSignatureError (RpmDb::CheckPackageResult ret, const std::string &detail_r=std::string()) const |
Default signature verification error handling. | |
Private Types | |
using | DeltaRpm = packagedelta::DeltaRpm |
Private Member Functions | |
ManagedFile | tryDelta (const DeltaRpm &delta_r) const |
bool | progressDeltaDownload (int value) const |
void | progressDeltaApply (int value) const |
bool | queryInstalled (const Edition &ed_r=Edition()) const |
Private Attributes | |
DeltaCandidates | _deltas |
Additional Inherited Members | |
![]() | |
using | Base |
using | Report |
using | RpmDb |
PackageProviderPolicy | _policy |
TPackagePtr | _package |
RepoMediaAccess & | _access |
RPM PackageProvider implementation (with deltarpm processing).
Definition at line 534 of file PackageProvider.cc.
|
private |
Definition at line 549 of file PackageProvider.cc.
|
inline |
Definition at line 537 of file PackageProvider.cc.
|
overrideprotectedvirtual |
Actually provide the final rpm.
Report start/problem/finish and retry loop are hadled by providePackage. Here you trigger just progress and delta/plugin callbacks as needed.
Proxy method for progressPackageDownload is provided here.
Reimplemented from zypp::repo::PackageProviderImpl< Package >.
Definition at line 567 of file PackageProvider.cc.
|
private |
Definition at line 593 of file PackageProvider.cc.
|
inlineprivate |
Definition at line 553 of file PackageProvider.cc.
|
inlineprivate |
Definition at line 556 of file PackageProvider.cc.
|
inlineprivate |
Definition at line 559 of file PackageProvider.cc.
|
private |
Definition at line 563 of file PackageProvider.cc.