Bug 51588 - Support pool/ structure for UCS-5
Support pool/ structure for UCS-5
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Update - univention-updater
UCS 5.0
Other Linux
: P5 normal (vote)
: UCS 5.0
Assigned To: Philipp Hahn
Jürn Brodersen
https://luns.knut.univention.de/ether...
:
: 31074 (view as bug list)
Depends on:
Blocks: 53299 52018 54233
  Show dependency treegraph
 
Reported: 2020-06-27 18:12 CEST by Philipp Hahn
Modified: 2021-12-10 08:10 CET (History)
4 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 Philipp Hahn univentionstaff 2020-06-27 18:12:51 CEST
For UCS-5 we want to switch to the pool/ structure similar to Debian. repo-ng needs to support that.
Comment 1 Philipp Hahn univentionstaff 2020-08-07 18:55:26 CEST
phahn/51588-updater5
Comment 2 Erik Damrose univentionstaff 2020-08-11 14:08:35 CEST
4a6f1cef Bug #51588: Fix autobuild for amd64 packages
Comment 3 Florian Best univentionstaff 2020-08-14 10:38:08 CEST
Why are you creating the directories like "dists/ucs500/" and not like "dists/ucs5.0-0/" ?
This causes that "UCS 5.1-10" is the same as "UCS 5.11-0" and makes the detection of the UCS version in the tests harder.
Comment 4 Philipp Hahn univentionstaff 2020-09-10 18:36:08 CEST
Package: apt-mirror
Version: 0.5.4-1A~5.0.0.202009101828
Branch: ucs_5.0-0
Comment 5 Sönke Schwardt-Krummrich univentionstaff 2020-09-11 11:00:24 CEST
I simply rebuild the package, since is was not part of the Packages[.gz] files:

Package: apt-mirror
Version: 0.5.4-1A~5.0.0.202009111051
Branch: ucs_5.0-0
Comment 6 Florian Best univentionstaff 2020-09-17 13:54:16 CEST
The code is not yet Python 3 compatible:

# python3 $(which ucr) filter < /etc/univention/templates/files/etc/apt/sources.list.d/20_ucs-online-component.list                                                                                   
Traceback (most recent call last):
  File "<stdin>", line 9, in <module>
  File "/usr/lib/python3/dist-packages/univention/updater/__init__.py", line 33, in <module>
    from univention.updater.tools import UniventionUpdater  # NOQA
  File "/usr/lib/python3/dist-packages/univention/updater/tools.py", line 64, in <module>
    import httplib
ModuleNotFoundError: No module named 'httplib'

Also a dependency to python3-univention-updater should be added by default!
Comment 7 Florian Best univentionstaff 2020-09-21 11:16:24 CEST
I am changing the product to UCS because the bug is referenced in the updater-changes of UCS 5.0.
Comment 8 Philipp Hahn univentionstaff 2020-10-04 10:13:53 CEST
apt-mirror: r19159…19160 = https://github.com/univention/apt-mirror.git patch-queue/ucs-5

Package: apt-mirror
Version: 0.5.4-1A~5.0.0.202010040948
Branch: ucs_5.0-0
Comment 9 Philipp Hahn univentionstaff 2020-10-16 18:23:16 CEST
DONE: Updater is using pool/
DONE: Local repository can be created
DONE: repo-ng does announce to pool

TODO: Adapt UCS-4.4-6 updater to find UCS-5.0-0 update (including {pre,post}up.sh{,.pgp,.gpg})!
TODO: Remove legacy code iterating over UCS<=4 versions.
Comment 10 Philipp Hahn univentionstaff 2021-02-16 15:18:18 CET
*** Bug 31074 has been marked as a duplicate of this bug. ***
Comment 11 Philipp Hahn univentionstaff 2021-03-09 16:14:00 CET
[5.0-0] dfa91d47de doc[up]: Changelog for pool/ layout
 doc/changelog/changelog-5.0-0.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 12 Jürn Brodersen univentionstaff 2021-04-12 11:01:30 CEST
Changes -> OK
Pool structure implemented -> OK
Pool structure used -> OK
{pre,post}up.sh{,.pgp,.gpg} working -> OK
New releases.json working -> OK
Tests -> OK
Changelog -> OK

-> Verified
Comment 13 Florian Best univentionstaff 2021-05-25 16:02:19 CEST
UCS 5.0 has been released:
 https://docs.software-univention.de/release-notes-5.0-0-en.html
 https://docs.software-univention.de/release-notes-5.0-0-de.html

If this error occurs again, please use "Clone This Bug".