diff options
author | Arttu Tarkiainen <arttu.tarkiainen@qt.io> | 2022-12-08 16:44:52 +0200 |
---|---|---|
committer | Katja Marttila <katja.marttila@qt.io> | 2023-02-20 13:30:25 +0200 |
commit | 1f8aec327761e1cb287a0d3256f1026eaea7a4cc (patch) | |
tree | 30e1f45ebf9dda6e6d5d9c29a3a81262b8c402c4 /src/libs/installer/constants.h | |
parent | bc4fedad19166a803187b73327d11f05dbbc2cae (diff) |
Add support for skipping fetching already cached Updates.xml files
This speeds up the metadata evaluation with the Qt online installer,
which uses a dynamic list of temporary repositories that can be
provided with an expected checksum information. The installer or
maintenance tool can skip downloading the Updates.xml files again for
already cached metadata items, in case the checksum of the file in the
repository has not changed since the last metadata fetch.
Task-number: QTIFW-2873
Change-Id: I61384d8bcbd29e01fda3019fb00d7360b0f81435
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
Diffstat (limited to 'src/libs/installer/constants.h')
-rw-r--r-- | src/libs/installer/constants.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libs/installer/constants.h b/src/libs/installer/constants.h index e887fcba1..1ac1d8940 100644 --- a/src/libs/installer/constants.h +++ b/src/libs/installer/constants.h @@ -41,6 +41,7 @@ static const QLatin1String scScript("script"); static const QLatin1String scAllUsersStartMenuProgramsPath("AllUsersStartMenuProgramsPath"); static const QLatin1String scUserStartMenuProgramsPath("UserStartMenuProgramsPath"); static const QLatin1String scUILanguage("UILanguage"); +static const QLatin1String scUpdatesXML("Updates.xml"); static const QLatin1String scName("Name"); static const QLatin1String scVersion("Version"); |