Univention Bugzilla – Bug 52715
New maintained / unmaintained check
Last modified: 2021-05-25 16:02:23 CEST
New maintained / unmaintained check We decided to move all packages into one repo without the maintained / unmaintained distinction in the repo. Instead a tool should check the package status on the server. Plan: A list of maintained packages is distributed through the "univention-errata-level" package. A tool to compare that list with currently installed packages is supplied by the updater.
Hi, ccastens/52715-list-installed-unmaintained-pkgs looks good, made a small change to
(In reply to Felix Botner from comment #1) > Hi, > > ccastens/52715-list-installed-unmaintained-pkgs looks good, made a small > change to ... .. "pretty up" the output (adaaf3b75bb75a611e5e853c4af1e1dc40526f38), please re-check that * please rename list-installed-unmaintained-packages.py to univention-list-installed-unmaintained-package * install in usr/sbin/ * add a short description in univention-list-installed-unmaintained-package (-h/--help with argparse) * commit to 5.0-0/feature_branch (the structure there is a little bit different)
Merge request 5.0-0: https://git.knut.univention.de/univention/ucs/-/merge_requests/70 Branch ccastens/52715-installed-unmaintained
Package: univention-updater Version: 15.0.3-9A~5.0.0.202102191223 Branch: ucs_5.0-0
Package: univention-errata-level Version: 5.0.0-2A~5.0.0.202102191331 Branch: ucs_5.0-0
The new script "list_installed_unmaintained_packages.py" (univention-updater module) uses the list "univention-maintained-packages.txt" (univention-errata-level module) in order to list all currently installed unmaintained packages. Current status: Before every release the file `univention-maintained-packages.txt` has to be updated manually by replacing its content with the latest list of maintained packages (univention-errata-release README.md for more info)
a624685eb1 update docs
OK - univention-maintained-packages.txt OK - univention-list-installed-unmaintained-package (still finds unmaintained packages on new UCS 5 systems, but that is another issue) OK - changelog
I had to revert the change partly and had to move the "unamintained.txt" from "univention-errata-level" to "univention-updater". univention-errata-level/debian/README.source exists for a reason: <https://git.knut.univention.de/univention/ucs/-/blob/5.0-0/base/univention-errata-level/debian/README.source> Package: univention-updater Version: 15.0.3-31A~5.0.0.202103231337 Package: univention-errata-level Version: 5.0.0-0A~5.0.0.202103231343 QA: univention-list-installed-unmaintained-packages
(In reply to Philipp Hahn from comment #10) > I had to revert the change partly and had to move the "unamintained.txt" > from "univention-errata-level" to "univention-updater". > > univention-errata-level/debian/README.source exists for a reason: > <https://git.knut.univention.de/univention/ucs/-/blob/5.0-0/base/univention- > errata-level/debian/README.source> > > Package: univention-updater > Version: 15.0.3-31A~5.0.0.202103231337 > > Package: univention-errata-level > Version: 5.0.0-0A~5.0.0.202103231343 > > QA: univention-list-installed-unmaintained-packages I am not OK with that. This was done on purpose, the idea is that we include the maintained list during the automatic build of univention-errata-level during errata update process (so that we don't have to update univention-updater every time we a add a package to maintained) There is already a merge request for repo-ng: https://git.knut.univention.de/dist/repo-ng/-/merge_requests/18 If you don't agree with this approach, fine, re-open and discuss with all stake-holders, if there is a better idea, your welcome. But please don't just change the package on your own
As discussed we move the maintained list back to univention-errata-level The important note from Philipp is that version of the univention-errata-level must be major.minor.0- (5.0.0-0) for major/minor releases so that the version of the next automatically built u-e-l package (which is *-1) is greater than the release version. fc713570b463893a9f4de4cf396924b450b38624 - univention-errata-level 0c7bd66f96638db6debf454ea0233c33fc5712b5 - univention-updater Also updated the maintained list, unfortunately there are still some packages "unmaintained" on a new system univention-list-installed-unmaintained-packages The following packages are unmaintained: gconf2-common gsfonts ifplugd libdaemon0 libdbi1 libfile-copy-recursive-perl libgconf-2-4 libmcrypt4 libnet-snmp-perl libradcli4 libsnmp-session-perl linux-image-4.19.0-14-amd64 memtest86+ but we track that on Bug #52834
"maintained-packages.txt" has been moved back into univention-errata-level -> OK Version number (5.0.0-0) has not been increased -> OK
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".