summaryrefslogtreecommitdiffstats
path: root/dist
diff options
context:
space:
mode:
authorArttu Tarkiainen <arttu.tarkiainen@qt.io>2022-05-16 15:24:22 +0300
committerArttu Tarkiainen <arttu.tarkiainen@qt.io>2022-05-17 09:42:39 +0300
commitd0d848e8849a25b4599e9a7b01093721e1b1a366 (patch)
tree4cbb0e40c64724b5a11c6b05179f993f3d3e9df1 /dist
parentc107d9ae122f83ae653badc04c37f9bfe099f45d (diff)
Swap priority of remote and binary resource package sources
When a component with the same name and equal version is available from both remote repository and installer binary, it makes more sense to use the installer resource as the package source for the component. This also fixes the issue of erroneously registering duplicate archives to a single resource collection. Because both the internal resources and downloaded archives are registered in the same naming scheme of "installer://<component>/<version><archive>", we would register the same archive second time when using the remote source. If the packager has not explicitly added Extract operations for the component, these would be created automatically by looking for archive entries from the component's resource collection, and so the same operation would be added twice. Task-number: QTIFW-2242 Change-Id: I82d4ed8a94a67d982b016bf7cec972e43bef8f03 Reviewed-by: Katja Marttila <katja.marttila@qt.io>
Diffstat (limited to 'dist')
0 files changed, 0 insertions, 0 deletions