summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorArttu Tarkiainen <arttu.tarkiainen@qt.io>2022-10-20 14:08:14 +0300
committerArttu Tarkiainen <arttu.tarkiainen@qt.io>2022-10-21 12:46:37 +0000
commit422202d41537729d6fcdb853f686a51f20239f18 (patch)
treeb2e570b13d44801bdb9e3db9a008844806edf08d /doc
parent2dbb8c19ea19b9cef28e29899e50b788eded6f4d (diff)
CLI: Add new 'clear-cache' command
The command can be used to clear the contents of local metadata cache without opening the installer GUI. Task-number: QTIFW-2810 Change-Id: I18cec027b9945f83d25fa1716858756ececae6d4 Reviewed-by: Katja Marttila <katja.marttila@qt.io>
Diffstat (limited to 'doc')
-rw-r--r--doc/installerfw-using.qdoc13
-rw-r--r--doc/installerfw.qdoc3
2 files changed, 16 insertions, 0 deletions
diff --git a/doc/installerfw-using.qdoc b/doc/installerfw-using.qdoc
index a2aac9046..1252bf548 100644
--- a/doc/installerfw-using.qdoc
+++ b/doc/installerfw-using.qdoc
@@ -479,6 +479,19 @@
installer.exe --root "C:\TargetFolder" --offline-installer-name "MyInstaller" create-offline componentA componentB
\endcode
+ \section1 Clearing the Local Cache
+
+ Online installers and maintenance tools created with the Qt Installer Framework cache the
+ meta information downloaded from remote repositories to local disk. This improves loading
+ times for subsequent metadata downloads.
+
+ The cache may grow in size over time. To clear the contents of the entire cache,
+ use the \c clear-cache command:
+
+ \code
+ maintenancetool.exe clear-cache
+ \endcode
+
\section1 Unattended Usage
By default, the generated installers may ask for additional information during installation,
diff --git a/doc/installerfw.qdoc b/doc/installerfw.qdoc
index e69a545b2..e1ade5a13 100644
--- a/doc/installerfw.qdoc
+++ b/doc/installerfw.qdoc
@@ -334,6 +334,9 @@
\li co, create-offline <pkg ...>
\li Create offline installer from selected packages.
\row
+ \li cc, clear-cache
+ \li Clear contents of the local metadata cache.
+ \row
\li pr, purge
\li Uninstall all packages and remove the program directory.
\endtable