Bug 29505 - univention-repository-addpackage / univention-repository-delpackage entfernen
univention-repository-addpackage / univention-repository-delpackage entfernen
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Update - univention-updater
UCS 4.3
Other Linux
: P5 enhancement (vote)
: UCS 4.3-3-errata
Assigned To: Philipp Hahn
Jürn Brodersen
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-12-01 16:58 CET by Stefan Gohmann
Modified: 2019-02-13 13:27 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:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Gohmann univentionstaff 2012-12-01 16:58:07 CET
Wir sollten die Tools entfernen und beschreiben, wie eine lokale Ergänzung zu einem Repository erstellt werden kann.

Das ist aus meiner Sicht besser und deutlich effektiver. Auch weil man dann nicht unbedingt ein lokales Repository benötigt um weitere Pakete in einer Domäne zur Verfügung zu stellen.
Comment 1 Stefan Gohmann univentionstaff 2017-06-16 20:40:59 CEST
This issue has been filed against UCS 3. UCS 3 is out of the normal maintenance and many UCS components have vastly changed in UCS 4.

If this issue is still valid, please change the version to a newer UCS version otherwise this issue will be automatically closed in the next weeks.
Comment 2 Stefan Gohmann univentionstaff 2017-08-08 07:09:48 CEST
This issue has been filed against UCS 3.1.

UCS 3.1 is out of maintenance and many UCS components have vastly changed in later releases. Thus, this issue is now being closed.

If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen this issue. In this case please provide detailed information on how this issue is affecting you.
Comment 3 Philipp Hahn univentionstaff 2019-01-04 14:03:23 CET
 univention-repository-addpackage
 univention-repository-delpackage
 univention-repository-merge
are marked as deprecated in UCS-4.3-3 and will be removed with UCS-4.4-0

The last caller of "update_indexes()" is  univention-repository-update when updating from a local ISO image. That one does NOT include the Packages files.
We need to update repo-ng to include it on the ISO image.
Then we can univention.updater.repository.gen_indexes()
Comment 4 Philipp Hahn univentionstaff 2019-02-07 09:20:47 CET
[4.3-3] 8a2753e3b4 Bug #29505 up: Mark repository tools as deprecated
 base/univention-updater/debian/changelog   | 6 ++++++
 doc/errata/staging/univention-updater.yaml | 9 ++++++---
 2 files changed, 12 insertions(+), 3 deletions(-)

[4.3-3] 7d2a970b27 Bug #29505 up: Mark repository tools as deprecated
 base/univention-updater/modules/univention/updater/repository.py | 3 +++
 base/univention-updater/python/univention-repository-addpackage  | 1 +
 base/univention-updater/python/univention-repository-delpackage  | 1 +
 base/univention-updater/python/univention-repository-merge       | 1 +
 4 files changed, 6 insertions(+)

Package: univention-updater
Version: 13.0.1-70A~4.3.0.201902070856
Branch: ucs_4.3-0
Scope: errata4.3-3

[4.3-3] 1ee94c9320 Bug #46600: univention-updater 13.0.1-70A~4.3.0.201902070856
 doc/errata/staging/univention-updater.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)



[4.4-0] dbaec21ce3 Bug #46600,#29505 up: changelog
 base/univention-updater/debian/changelog | 7 +++++++
 1 file changed, 7 insertions(+)

[4.4-0] 7845aa168a Bug #29505 up: Remove deprecated repository tools
 .../debian/univention-updater.install              |   3 -
 .../modules/univention/updater/repository.py       |  44 ------
 .../python/univention-repository-addpackage        | 151 ------------------
 .../python/univention-repository-delpackage        | 107 -------------
 .../python/univention-repository-merge             | 176 ---------------------
 .../python/univention-repository-update            |   2 +-
 6 files changed, 1 insertion(+), 482 deletions(-)

Package: univention-updater
Version: 14.0.0-10A~4.4.0.201902070917
Branch: ucs_4.4-0
Comment 5 Jürn Brodersen univentionstaff 2019-02-11 17:30:23 CET
I changed univention-repository-update to use UCS_Version instead of a regex in 4.4. Otherwise gen_indexes wouldn't work.

[4.4-0 e799224624] Bug #29505: switch version regex to UCS_Version
Package: univention-updater
Version: 14.0.0-11A~4.4.0.201902111716
Branch: ucs_4.4-0

What I tested:
4.3:
  Deprecation warning is shown -> OK

4.4:
  univention-repository-create -> OK
  univention-repository-update cdrom -i UCS_Update_4.3-2_-_4.3-3-amd64.iso -> OK
  univention-repository-update net -> OK
  apt install libvlc5 -> from local mirror -> OK
Comment 6 Erik Damrose univentionstaff 2019-02-13 13:27:17 CET
<http://errata.software-univention.de/ucs/4.3/422.html>