Bug 52591 - Migrate ucs-school-umc-installer to dh_python
Migrate ucs-school-umc-installer to dh_python
Status: CLOSED FIXED
Product: UCS@school
Classification: Unclassified
Component: General
UCS@school 5.0
Other Linux
: P5 normal (vote)
: UCS@school 4.4 v9-errata
Assigned To: Florian Best
Tobias Wenzel
:
Depends on:
Blocks: 52578
  Show dependency treegraph
 
Reported: 2021-01-12 14:17 CET by Florian Best
Modified: 2021-07-12 15:23 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Best univentionstaff 2021-01-12 14:17:24 CET
The package ucs-school-umc-installer needs to be migrated to dh_python.

See: https://hutten.knut.univention.de/mediawiki/index.php/Python_DebHelper_Migration
Comment 1 Florian Best univentionstaff 2021-06-03 00:29:57 CEST
ucs-school-umc-installer.yaml
7b4daf8832ca | Bug #52591: migrate ucs-school-umc-installer to dh_python

ucs-school-umc-installer (7.0.2)
7b4daf8832ca | Bug #52591: migrate ucs-school-umc-installer to dh_python
Comment 2 Tobias Wenzel univentionstaff 2021-06-07 13:32:34 CEST
QA: All OK -> verify

grep Package: ucs-school-umc-installer/debian/control 
Package: ucs-school-umc-installer

dpkg -L ucs-school-umc-installer > before.list

 univention-upgrade --ignoreterm --ignoressh --noninteractive --updateto=4.4-99

echo -e 'deb [trusted=yes] http://192.168.0.10/build2/ ucs_4.4-0-ucs-school-4.4/all/\ndeb [trusted=yes] http://192.168.0.10/build2/ ucs_4.4-0-ucs-school-4.4/$(ARCH)/' >> /etc/apt/sources.list.d/30_test.list
univention-upgrade --ignoreterm --ignoressh --noninteractive --updateto=4.4-99

tail -f /var/log/univention/updater.log

dpkg -L ucs-school-umc-installer > after.list

diff -U0 before.list after.list
--- before.list	2020-11-22 00:56:16.998982080 +0100
+++ after.list	2020-11-22 01:04:10.065324562 +0100
@@ -3,0 +4,16 @@
+/usr/lib/python2.7/dist-packages/univention/management/console/modules/schoolinstaller/__init__.py
+/usr/lib/python3/dist-packages/univention/management/console/modules/schoolinstaller/__init__.py
@@ -15,9 +30,0 @@

-/usr/share/pyshared/univention/management/console/modules/schoolinstaller/__init__.py
-/usr/share/python-support/ucs-school-umc-installer.public


-> no pyshared & python-support
-> added python2 + 3
                                                                 

Scripts -> school-slave-installer.py OK

UMC modules -> 
UCS@school configuration wizard


UCR templates? -> none
Jenkins -> happy
Comment 3 Tobias Wenzel univentionstaff 2021-07-01 12:02:54 CEST
Errata updates for UCS@school 4.4 v9 have been released.

https://docs.software-univention.de/changelog-ucsschool-4.4v9-de.html

If this error occurs again, please clone this bug.