Bug 52599 - Migrate ucs-school-veyon-client to dh_python
Migrate ucs-school-veyon-client 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:52 CET
The package ucs-school-veyon-client 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:29 CEST
ucs-school-veyon-client.yaml
88d37a7224e9 | Bug #52599: migrate ucs-school-veyon-client to dh_python

ucs-school-veyon-client (1.0.1-8)
88d37a7224e9 | Bug #52599: migrate ucs-school-veyon-client to dh_python
Comment 2 Tobias Wenzel univentionstaff 2021-06-04 12:59:42 CEST
QA 

compat -> please extra line 

(the rest is ok)


tested in multi-server env

git log --grep='#52599' --stat
->  ucs-school-veyon-client
grep Package:  ucs-school-veyon-client/debian/control 
Package: ucs-school-veyon-client

dpkg -L ucs-school-veyon-client  > 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-veyon-client > after.list


diff -U0 before.list after.list
--- before.list	2021-03-23 10:13:04.524000000 +0100
+++ after.list	2021-03-23 10:21:49.708000000 +0100
@@ -2,0 +3,9 @@
+/usr/lib/python2.7/dist-packages/ucsschool/veyon_client/__init__.py
+/usr/lib/python2.7/dist-packages/ucsschool/veyon_client/client.py
+/usr/lib/python2.7/dist-packages/ucsschool/veyon_client/models.py
+/usr/lib/python2.7/dist-packages/ucsschool/veyon_client/utils.py
@@ -8,9 +16,0 @@
-/usr/share/pyshared/ucsschool/veyon_client/__init__.py
-/usr/share/pyshared/ucsschool/veyon_client/client.py
-/usr/share/pyshared/ucsschool/veyon_client/models.py
-/usr/share/pyshared/ucsschool/veyon_client/utils.py
-/usr/share/python-support/ucs-school-veyon-client.public


-> no pyshared & python-support
-> added python2 + 3 schoolgroups/__init__.py
python3 -> the files are copied in ucs-school-veyon-client.install to usr/lib/python2.7/dist-packages/ucsschool/veyon_client, i.e. when building this package for python3, this has to be adjusted.

new, OK:

Breaks:
 ucs-school-import (<< 17.0.63),
 ucs-school-lib (<< 12.2.28),


Scripts -> none
UMC modules

UMC-Computerrom uses the veyon client:

- view desktop OK
- lock/ unlock desktop OK
- lock/ unlock input OK
- logout OK
- restart OK
- shutdown OK
- presentation mode OK
 

6.3 UCR templates? none
6.4 No Traceback in listener.log OK
Comment 3 Florian Best univentionstaff 2021-06-04 13:21:24 CEST
removed newline from compat, added python3 files.

ucs-school-veyon-client (1.0.1-8)
e19ab1e2eeaf | fixup! Bug #52599: migrate ucs-school-veyon-client to dh_python
Comment 4 Tobias Wenzel univentionstaff 2021-06-07 08:32:17 CEST
QA: All OK (jenkins tests concerning veyon pass), verify 

Thanks!
Comment 5 Tobias Wenzel univentionstaff 2021-07-01 12:05:45 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.