Bug 52594 - Migrate ucs-school-umc-lists to dh_python
Migrate ucs-school-umc-lists 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:34 CET
The package ucs-school-umc-lists 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:49 CEST
ucs-school-umc-lists.yaml
f1e950d339ac | Bug #52594: migrate ucs-school-umc-lists to dh_python

ucs-school-umc-lists (2.0.0-7)
f1e950d339ac | Bug #52594: migrate ucs-school-umc-lists to dh_python
Comment 2 Tobias Wenzel univentionstaff 2021-06-03 15:53:52 CEST
QA -> All OK
I'm leaving this resolved until jenkins is happy.


code already in 4.4 -> no reopen needed
changelog -> OK
yaml -> OK, fix will be added before release

git log --grep='#52594' --stat
->  ucs-school-umc-lists/
grep Package:  ucs-school-umc-lists/debian/control 
Package: ucs-school-umc-lists


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

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
-> no errors during update

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

diff before.list after.list
8a9,24

> /usr/lib/python2.7/dist-packages/univention/management/console/modules/schoollists/__init__.py
> /usr/lib/python3/dist-packages/univention/management/console/modules/schoollists/__init__.py
20,28d35

< /usr/share/pyshared/univention/management/console/modules/schoollists/__init__.py
< /usr/share/python-support/ucs-school-umc-lists.public


-> no pyshared & python-support
-> added python2 + 3 schoolgroups/__init__.py

Scripts -> none
UMC modules

Class Lists
-> exporting class lists works as expected

UCR templates? -> none
Comment 3 Tobias Wenzel univentionstaff 2021-06-07 08:33:20 CEST
No tests connected to this fail 
-> verify
Comment 4 Tobias Wenzel univentionstaff 2021-07-01 12:04:15 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.