Bug 49179 - Migrate virtualization/univention-virtual-machine-manager-daemon to dh_python2
Migrate virtualization/univention-virtual-machine-manager-daemon to dh_python2
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Virtualization - UVMM
UCS 4.4
All Linux
: P5 normal (vote)
: UCS 4.4-2-errata
Assigned To: Florian Best
Philipp Hahn
:
Depends on: 49161
Blocks: 28497
  Show dependency treegraph
 
Reported: 2019-03-28 10:28 CET by Florian Best
Modified: 2019-11-20 13:26 CET (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 2019-03-28 10:28:13 CET
The package virtualization/univention-virtual-machine-manager-daemon should be migrated to use dh_python instead of python-support.

Migration-Guide: https://hutten.knut.univention.de/mediawiki/index.php/Python_DebHelper_Migration
Comment 1 Florian Best univentionstaff 2019-11-11 14:20:01 CET
The package has been migrated to dh-python.
All python files were made more python3 compatible by applying futurize and do some manual adjustments for pep8 and python 3 syntax.
The python3-univention-virtual-machine-manager package can be installed but not yet imported.

univention-virtual-machine-manager-daemon (8.0.1-12)
4a1f8b65b4b8 | Bug #49179: fix Python3 syntax errors
1f3479506f87 | Bug #49179: fix pep8 univention-virtual-machine-manager-daemon
105808fdc7b8 | Bug #49179: futurize univention-virtual-machine-manager-daemon
293f82abe6e5 | Bug #49179: migrate univention-virtual-machine-manager-daemon to dh_python

univention-virtual-machine-manager-daemon.yaml
11f0523ebca9 | YAML Bug #49179
Comment 2 Philipp Hahn univentionstaff 2019-11-20 11:23:59 CET
OK: errata-announce  -V --only univention-virtual-machine-manager-daemon.yaml
OK: univention-virtual-machine-manager-daemon.yaml
OK: 11f0523ebca9 00806627dfe7

OK: 293f82abe6e5 105808fdc7b8 1f3479506f87 4a1f8b65b4b8
FIXED: scripts-dev/
FIXED: test/
FIXED: l10n
OK: apt install -t apt univention-virtual-machine-manager-daemon
OK: uvmm query qemu://hdmi2.phahn.dev/system
OK: uvmm @ UMC
OK: debdiff --wt --show-moved --move /usr/share/pyshared/ /usr/lib/python2.7/dist-packages/ python-univention-virtual-machine-manager_8.0.1-{11A~4.4.0.201910221522,14A~4.4.0.201911201059}_all.deb
OK: debdiff --wt --show-moved univention-management-console-module-uvmm_8.0.1-{11A~4.4.0.201910221522,14A~4.4.0.201911201059}_all.deb
OK: debdiff --wt --show-moved univention-virtual-machine-manager-daemon_8.0.1-{11A~4.4.0.201910221522,14A~4.4.0.201911201059}_all.deb

Package: univention-virtual-machine-manager-daemon
Version: 8.0.1-14A~4.4.0.201911201059
Branch: ucs_4.4-0
Scope: errata4.4-2

[4.4-2] 1d00644fc1 Bug #49179: univention-virtual-machine-manager-daemon 8.0.1-13A~4.4.0.201911201038
 doc/errata/staging/univention-virtual-machine-manager-daemon.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

[4.4-2] fc564a266a Bug #49179 UVMM: Switch to univention-l10n
 .../Makefile                                       |  93 --------
 .../debian/control                                 |   2 -
 ...thon-univention-virtual-machine-manager.install |   1 -
 .../debian/rules                                   |   1 +
 .../src/de.po                                      | 251 +++++++++------------
 .../src/univention-virtual-machine-manager-daemon  |   8 +-
 .../umc/de.po                                      |  10 +-
 7 files changed, 122 insertions(+), 244 deletions(-)

[4.4-2] aa5ee23808 Bug #49179 UVMM: Fix unit tests
 .../debian/changelog                               |  6 +++
 .../src/univention/uvmm/helpers.py                 |  2 +-
 .../test/test_domain.py                            |  2 +-
 .../test/test_domain_edit.py                       | 54 +++++++++++++++++++---
 .../test/test_domain_template.py                   |  2 +-
 .../test/test_storage.py                           | 15 +++++-
 .../test/test_storage2.py                          |  2 +-
 .../test/urlparser.py                              |  8 +++-
 8 files changed, 76 insertions(+), 15 deletions(-)

[4.4-2] e54ad5e268 Bug #49179 UVMM: Fix development scripts
 .../scripts-dev/check-vms.py                       | 49 ++++++----------------
 .../scripts-dev/watch_vm                           | 16 +++++--
 2 files changed, 24 insertions(+), 41 deletions(-)

[4.4-2] edf26d3ab3 Bug #49179: univention-virtual-machine-manager-daemon 8.0.1-14A~4.4.0.201911201059
 doc/errata/staging/univention-virtual-machine-manager-daemon.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

[4.4-2] 279007b5f2 Bug #49179 UVMM: wrap-and-sort -ast
 .../debian/control                                 | 60 +++++++++++++---------
 .../univention-virtual-machine-manager-daemon.dirs |  6 +--
 ...ivention-virtual-machine-manager-daemon.install |  4 +-
 ...vention-virtual-machine-manager-daemon.manpages |  2 +-
 4 files changed, 43 insertions(+), 29 deletions(-)

[4.4-2] f74738a844 Bug #49179 UVMM: Re-add missing translation file
 .../univention-virtual-machine-manager-daemon/debian/changelog      | 6 ++++++
 .../univention-virtual-machine-manager-daemon/debian/control        | 3 ++-
 .../univention-virtual-machine-manager-daemon/debian/rules          | 2 ++
 3 files changed, 10 insertions(+), 1 deletion(-)

OK: /var/log/univention/virtual-machine-manager-daemon-errors.log
OK: /var/log/univention/virtual-machine-manager-daemon.log
Comment 3 Arvid Requate univentionstaff 2019-11-20 13:26:48 CET
<http://errata.software-univention.de/ucs/4.4/360.html>