summaryrefslogtreecommitdiffstats
path: root/src/libs/installer/packagemanagercore.h
diff options
context:
space:
mode:
authorKatja Marttila <katja.marttila@qt.io>2019-05-29 14:04:57 +0300
committerKatja Marttila <katja.marttila@qt.io>2019-11-19 09:38:04 +0000
commit48a43de0be59639b16962ec04f1a4e07141abaf0 (patch)
treee79773f2c5acfc974a65646ffe60ca0b7355c9a0 /src/libs/installer/packagemanagercore.h
parent3bd4e7d632967b1bf77120918700c11f83318166 (diff)
List available packages from command line
Available packages can be listed from command line with --listPackages <regexp>. All packages can be listed with --listPackages . . By default package id, name and version are listed in output. In case you want to see all the packet information use logging category --logging-rules ifw.package.*=true. See --help for more detailed information on how to use logging category. Change-Id: Ic0815d2274643e3fb3f0670ed9036fe765805c0e Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
Diffstat (limited to 'src/libs/installer/packagemanagercore.h')
-rw-r--r--src/libs/installer/packagemanagercore.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libs/installer/packagemanagercore.h b/src/libs/installer/packagemanagercore.h
index eb4a630d4..45bb27286 100644
--- a/src/libs/installer/packagemanagercore.h
+++ b/src/libs/installer/packagemanagercore.h
@@ -227,6 +227,7 @@ public:
ComponentModel *defaultComponentModel() const;
ComponentModel *updaterComponentModel() const;
void listInstalledPackages();
+ void listAvailablePackages(const QString &regexp);
void updateComponentsSilently();
// convenience
@@ -361,6 +362,7 @@ private:
QList<Component *> componentsMarkedForInstallation() const;
bool fetchPackagesTree(const PackagesList &packages, const LocalPackagesHash installedPackages);
+ void printPackageInformation(const QString &name, const Package *update);
private:
PackageManagerCorePrivate *const d;