Univention Bugzilla – Bug 52539
Remove or migrate docker scripts to Python3
Last modified: 2022-04-27 16:11:57 CEST
Migrate following files to Python3 container/univention-docker-container-mode/usr/share/univention-docker-container-mode/restore_data_before_setup container/univention-docker-container-mode/usr/share/univention-docker-container-mode/store_data container/univention-docker/scripts/migrate_container_MountPoints_to_v2_config
There is a untested patch in git:jluttermann/bug52539-migrate-docker-to-python3
I don't think we need to migrate that at all. All three scripts do not need to be run in 5.0 (appbox and 4.3 migration script)
Created issue in GitLab for this bug at: https://git.knut.univention.de/univention/ucs/-/issues/629
@Johannes, please find out if we still need the scripts. If not, please remove them from the package. If yes, migrate them to Python as well as migrate the usage of optparse to argparse.
After a brief discussion between Dirk Wiesenthal and me, we decided to remove the appbox docker container. (univention-docker-container-mode) Aswell as the third script. (migrate_container_MountPoints_to_v2_config) They are no longer in use and a revival in the future is not expected. Merge Request: https://git.knut.univention.de/univention/ucs/-/merge_requests/325
univention-docker-container-mode (5.0.0-2) b04c19d673b3 | Bug #52539: removed deprecated appbox docker container univention-docker (5.0.2-1) 6526665f0970 | Bug #52539: removed deprecated script: migrate_container_MountPoints_to_v2_config
OK: empty transitional package # dpkg -L univention-docker-container-mode /. /usr /usr/share /usr/share/doc /usr/share/doc/univention-docker-container-mode /usr/share/doc/univention-docker-container-mode/changelog.Debian.gz /usr/share/doc/univention-docker-container-mode/copyright OK: removal of migrate_container_MountPoints_to_v2_config OK: YAML
<https://errata.software-univention.de/#/?erratum=5.0x293> <https://errata.software-univention.de/#/?erratum=5.0x294>