aboutsummaryrefslogtreecommitdiffstats
path: root/packaging-tools/tests
diff options
context:
space:
mode:
authorIikka Eklund <iikka.eklund@qt.io>2022-08-26 07:56:11 +0300
committerIikka Eklund <iikka.eklund@qt.io>2022-09-09 11:54:32 +0000
commit2083a9e4f96f710946c9ca679b79f64570741df4 (patch)
treedc286443b71f96199ed122a1d520fc347d05eb7b /packaging-tools/tests
parentdce4c6f68c8753d634a7f9ab55426b560bc0763d (diff)
Support staging repositories as a source for production updates
Allow using existing staging repositories as the source for production repository updates. This reduces the need to run separate production repository builds if the staging content can be used for distribution. In this case the staging repository is just copied as the production repository. Examples: - build repos and update staging '--build-repositories --update-staging' - build repos and update staging and production '--build-repositories --update-staging --update-production' - do not build repos but update production from existing staging repos '--update-production --update-source=staging' Introduced a RepoUpdateStrategy class to encapsulate the logic of different update scenarios there. This class knows what to update and to where, depending on the use case. Removed printing of "done" repositories as the output did not make much sense. The 'handle_update()' returned only the names of the built repositories, although the 'handle_update()' does also updates and production sync steps and no verbose output was given from these. This requires a follow-up patch to fix the output reporting. Task-number: QTQAINFRA-5118 Change-Id: If67916035619557e0516eeaca715f44838c87b37 Reviewed-by: Antti Kokko <antti.kokko@qt.io>
Diffstat (limited to 'packaging-tools/tests')
0 files changed, 0 insertions, 0 deletions