Bug 56724 - Remove deprecated App Center API
Summary: Remove deprecated App Center API
Status: CLOSED FIXED
Alias: None
Product: UCS
Classification: Unclassified
Component: App Center
Version: UCS 5.2
Hardware: Other Linux
: P5 normal
Target Milestone: UCS 5.1
Assignee: Dirk Wiesenthal
QA Contact: Florian Best
URL: https://git.knut.univention.de/univen...
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-10 20:50 CEST by Dirk Wiesenthal
Modified: 2025-02-05 15:08 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):
Customer ID:
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Wiesenthal univentionstaff 2023-10-10 20:50:35 CEST
We have ancient code in the App Center that imports univention.management.console.modules.appcenter.app_center

But ModuleNotFoundError: No module named 'univention.management.console.modules.appcenter.app_center'

The App Center library is univention.appcenter since UCS 4.2. We need to remove everything that still imports this.
Comment 1 Dirk Wiesenthal univentionstaff 2023-10-10 21:23:42 CEST
Removed univention-register-apps and univention-rename-app which are unused, unneeded and would not work anyway. There is even more unneeded code (umc/python/appcenter/util.py ComponentManager#put_app et. al.). But I will leave it as is for now.

Package: univention-appcenter
Version: 9.100.0-1A~5.2.0.202310102121
Branch: ucs_5.2-0
Comment 2 Florian Best univentionstaff 2023-10-11 12:20:34 CEST
OK: code is unused/broken
OK: code has been removed
~OK: not removing more dead code
OK: changelog entry
Comment 3 Florian Best univentionstaff 2024-03-08 11:04:44 CET
univention-appcenter (10.0.3)
5143ca1cd5ac | refactor(appcenter): remove unneeded code from App Center UMC module