Univention Bugzilla – Bug 52771
add univention-app update-check
Last modified: 2023-01-05 09:08:59 CET
see https://taiga.knut.univention.de/project/oschwieg-ucs-5/us/255
ucs-test: * added 20_appcenter/90_update_check univention-updater: * also check apps, extend blocking_components by blocking apps univention-appcenter * added actions/update_check.py to check if installed apps are available in next ucs version -> univention-app update-check --ucs-version 5.0 The update to 5.0 is currently not possible, because the following Apps are not available for UCS 5.0: * Nextcloud Hub * UCS Dashboard Client MR: https://git.knut.univention.de/univention/ucs/-/merge_requests/68 all the above changes + an additional check "update_check_blocking_apps" in base/univention-updater/script/check.sh for command line updates
OK: u-updater, u-appcenter OK: ucs-test 90_update_check OK: Update blocked with e.g. installed OIDC App by UMC and CLI updater (univention-app update-check --ucs-version 5.0-0) OK: Merge request OK: yaml
<https://errata.software-univention.de/#/?erratum=4.4x909> <https://errata.software-univention.de/#/?erratum=4.4x910>
Knowledge about the introduced ucr Variable would have been interesting and helpful, so I could have helped the customer more efficiently, now he helped me. # Bug #52771: check if apps are available update_check_blocking_apps () { local var="update$VERSION/ignore_blocking_apps" ignore_check "$var" && return 100 [ -f /var/univention-join/joined ] || return 0 univention-app update-check --ucs-version "${VERSION_NAME}" }