Bug 54208 - Migrate univention-config-registry scripts to Python 3
Migrate univention-config-registry scripts to Python 3
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UCR
UCS 5.0
Other Linux
: P5 normal (vote)
: UCS 5.0-1-errata
Assigned To: Philipp Hahn
Florian Best
: python3-migration
Depends on: 52157
Blocks:
  Show dependency treegraph
 
Reported: 2021-12-08 09:24 CET by Philipp Hahn
Modified: 2022-02-16 12:07 CET (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:
hahn: Patch_Available+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Hahn univentionstaff 2021-12-08 09:24:01 CET
Migrate univention-config-registry scripts to Python 3:

scripts/ldapsearch-wrapper = tests/unwrap/unwrap.py
scripts/ldapsearch-decode64

Test still use #!/usr/bin/pyt{hon,est}

+++ This bug was initially created as a clone of Bug #52157 +++
which only migrated:

scripts/univention-check-templates
python/univention-config-registry
python/univention-install-service-info
python/univention-install-config-registry-info
python/univention-install-config-registry
Comment 2 Florian Best univentionstaff 2022-02-10 10:56:16 CET
OK: `univention-ldapsearch -o ldif-wrap=no` equals `ldapsearch -ZZ -D ... -y ... | python3 -m univention.ldif unwrap`
OK: python3 -m univention.ldif
OK: python3 -m univention.ldif unwrap
OK: python3 -m univention.ldif decode
OK: Tests
OK: cleanups
OK: univention-ldb-modules build
OK: univention-samba build
OK: YAML
Comment 3 Florian Best univentionstaff 2022-02-14 11:37:47 CET
OK

univention-samba (14.0.5-4)
cf9b98580c69 | churn[samba]: Drop/fix Python2 dependencies
5855f995230a | churn[UCR]: Drop/fix Python2 dependencies
163891c9c8c8 | churn[UCR]: Drop/fix Python2 dependencies

univention-ldb-modules (8.0.0-6)
163891c9c8c8 | churn[UCR]: Drop/fix Python2 dependencies

univention-directory-notifier.yaml
1789c99ac81c | fixup! Bug #54208: Make sure notifier_cache_size is not negative
bb166e5f1334 | Bug #54208: Advisory update
714a411a42fd | Bug #54208: advisory

univention-directory-notifier (14.0.5-7)
1789c99ac81c | fixup! Bug #54208: Make sure notifier_cache_size is not negative
11bb3d7c0442 | Bug #54208: Make sure notifier_cache_size is not negative
9d8fe894b884 | fixup! Bug #54208: Fix unsigned values fail to compare when negative

univention-directory-notifier (14.0.5-6)
30192bbfbdc6 | Bug #54208: Fix unsigned values fail to compare when negative

univention-config-registry.yaml
1b4a136fbdc6 | test[UCR]: Switch to Python3

univention-config-registry (15.0.7-17)
cc5ee3a58d61 | refactor[UCR]: Remove legacy upgrade code
163891c9c8c8 | churn[UCR]: Drop/fix Python2 dependencies
7e8d4d81ba19 | style[UCR]: Switch to setuptools
2e3561c5960d | refactor[UCR]: Convert to ldif.py
84c9b9d7a237 | test[UCR]: Refactor for multi argument commands
1b4a136fbdc6 | test[UCR]: Switch to Python3

univention-config-registry (15.0.7-16)
27c955cf7d77 | style[UCR]: flake8
004769a63408 | refactor[UCR] Cleanup ArgumentParser
bf1ace9b30bc | style[UCR] Python3 wrapper
bfc913285c68 | style[UCR] Python3 decode64
89dae7e98953 | style[UCR] isort
5f552b9714cf | style[UCR] shellcheck issues

ucs-test (10.0.6-90)
a52099c10a0f | fixup! Bug #54208: Fix unsigned values fail to compare when negative
30192bbfbdc6 | Bug #54208: Fix unsigned values fail to compare when negative