Bug 51317 - base/univention-quota: migrate to python3
base/univention-quota: migrate to python3
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UMC (Generic)
UCS 4.4
Other Linux
: P5 normal (vote)
: UCS 5.0-0-errata
Assigned To: Florian Best
Johannes Keiser
: python3-migration
Depends on:
Blocks: 56273
  Show dependency treegraph
 
Reported: 2020-05-19 14:31 CEST by Florian Best
Modified: 2023-07-06 18:57 CEST (History)
2 users (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 2020-05-19 14:31:21 CEST
The UMC module of base/univention-quota has to be python3-compatible.
Comment 1 Arvid Requate univentionstaff 2021-03-10 11:29:47 CET
The quota.py listener module has already been adjusted by Florian:

60d1fb5e69 | fix LDAP filter escaping
572b43095c | fix pickle loading for Python 2 pickle files
a2e803d9be | migrate quota listener to Python 3
Comment 2 Florian Best univentionstaff 2021-03-10 12:14:07 CET
(In reply to Arvid Requate from comment #1)
> The quota.py listener module has already been adjusted by Florian:
> 
> 60d1fb5e69 | fix LDAP filter escaping
> 572b43095c | fix pickle loading for Python 2 pickle files
> a2e803d9be | migrate quota listener to Python 3

OK, this gets QAed by Bug #52310.
We don't migrate the UMC module to Python 3 for UCS 5.0.
Therefore I change the Target Milestone.
Comment 3 Florian Best univentionstaff 2021-05-26 23:08:32 CEST
The rest of the module has been migrated. All commits are:

univention-quota.yaml
ec0c10a3d5c8 | Bug #51317: migrate univention-quota to Python 3

univention-quota (14.0.1-8)
ec0c10a3d5c8 | Bug #51317: migrate univention-quota to Python 3

univention-quota (14.0.1-4)
60d1fb5e6989 | Bug #51317: fix LDAP filter escaping

univention-quota (14.0.0-2)
79818a008629 | Bug #51317: fix potential code execution vulnerability
572b43095cac | Bug #51317: fix pickle loading for Python 2 pickle files
62b3e28594db | fixup! Bug #51317: move error handling into the backend
d9352cb38121 | fixup! Bug #51317: use univention.lib.fstab as reliable parsing implementation of /etc/mtab
2cef2f947591 | Bug #51317: move error handling into the backend
8f11a77df8de | Bug #51317: basic Python 3 compatibility
2f08f0349ecf | Bug #51317: use univention.lib.fstab as reliable parsing implementation of /etc/mtab

univention-quota (14.0.0-1)
a2e803d9bec4 | Bug #51317: migrate quota listener to Python 3

ucs-test (10.0.1-24)
0afb27baf37a | fixup! Bug #51317: move error handling into the backend
2cef2f947591 | Bug #51317: move error handling into the backend
Comment 5 Johannes Keiser univentionstaff 2021-09-13 20:59:20 CEST
OK: code changes
OK: tests
OK: UMC module / setting quota / removing quota / quota is acknowledged
OK: yaml
-> verified
Comment 6 Erik Damrose univentionstaff 2021-09-15 17:41:45 CEST
<https://errata.software-univention.de/#/?erratum=5.0x93>