diff options
author | Arttu Tarkiainen <arttu.tarkiainen@qt.io> | 2021-03-23 12:31:31 +0200 |
---|---|---|
committer | Arttu Tarkiainen <arttu.tarkiainen@qt.io> | 2021-04-12 12:24:30 +0300 |
commit | b06f5b541748afc30bff787858702ed575662382 (patch) | |
tree | 302fbd39905ef74e44a97edcc8019358eeb410e0 /doc/installerfw-examples.qdoc | |
parent | 6c70f89e8e8e312a4a738c180742c0ab41b3ab95 (diff) |
Offline-generator: Fix duplicate package entries in internal Updates.xml
In a somewhat rare case, it is possible that a same package exist in
multiple repositories. The latest available package from remotes is
used - however if we select that package for inclusion and also
implicitly get some other package from the another repository it exists
in with an older version (autodependency, etc.), that repository is then
also used to parse package information, and we store a duplicate entry
of the package to the Updates.xml to-be-written to the offline
installer binary.
Fix by appending only the package with the latest version to the
PackageInfoVector object used to temporarily hold the package
information.
Task-number: QTIFW-2190
Change-Id: Icdb3dc979153dfada37fdb0aabb3c718bc8aedff
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
Diffstat (limited to 'doc/installerfw-examples.qdoc')
0 files changed, 0 insertions, 0 deletions