Univention Bugzilla – Bug 49770
App Suggestions: Dynamic suggestions from App Center server
Last modified: 2019-07-10 13:20:40 CEST
We should download a recommendations.json and use that information instead of hard coding it in the UMC frontend. This way, we can quickly update the suggestions without using errata updates.
Fixed in univention-appcenter 8.0.11-41A~4.4.0.201907011529 File is http://appcenter.software-univention.de/meta-inf/recommendations.json The content is loaded with tools.umcpCommand("appcenter/recommendations", {"version": "v1"}) Needed to use some callbacks. query() should now be slightly slower.
"all" docker/appcenter tests failed, see http://jenkins.knut.univention.de:8080/job/UCS-4.4/job/UCS-4.4-0/job/AutotestJoin/lastCompletedBuild/testReport/
Adjusted dockertest.py to create a recommendations.json. ucs-test 9.0.2-115A~4.4.0.201907040023 Unfortunately, I built it too late for the nightly test run, so we need to wait until Friday. Or install ucs-test, execute one test and assume that if this one succeeds, they all will.
some tests still fail (2019-07-05 01:32:29.361072) http://10.210.254.15/meta-inf/recommendations.json could not be downloaded. This seems to be a problem with the App Center server. Please try again later. (2019-07-05 01:32:29.361174) http://10.210.254.15/meta-inf/recommendations.json could not be downloaded. This seems to be a problem with the App Center server. Please try again later. (2019-07-05 01:32:29.373033) http://10.210.254.15/meta-inf/recommendations.json could not be downloaded. This seems to be a problem with the App Center server. Please try again later. (2019-07-05 01:32:29.385951) http://10.210.254.15/meta-inf/recommendations.json could not be downloaded. This seems to be a problem with the App Center server. Please try again later. (2019-07-05 01:32:29.386035) http://10.210.254.15/meta-inf/recommendations.json could not be downloaded. This seems to be a problem with the App Center server. Please try again later. (2019-07-05 01:32:29.405225) http://10.210.254.15/meta-inf/recommendations.json could not be downloaded. This seems to be a problem with the App Center server. Please try again later. (2019-07-05 01:32:29.405312) http://10.210.254.15/meta-inf/recommendations.json could not be downloaded. This seems to be a problem with the App Center server. Please try again later. (2019-07-05 01:32:29.424368) http://10.210.254.15/meta-inf/recommendations.json could not be downloaded. This seems to be a problem with the App Center server. Please try again later. (2019-07-05 01:32:29.424455) http://10.210.254.15/meta-inf/recommendations.json could not be downloaded. This seems to be a problem with the App Center server. Please try again later. (2019-07-05 01:32:29.797777) dpkg-buildpackage: Warnung: Verwendung eines root-werde-Befehls, obwohl bereits root (2019-07-05 01:32:29.862493) dpkg-buildpackage: Warnung: debian/rules ist nicht ausführbar: wird korrigiert (2019-07-05 01:32:29.862659) dpkg-source --before-build test-install-remove (2019-07-05 01:32:30.118847) fakeroot debian/rules clean (2019-07-05 01:32:30.336450) debian/rules build (2019-07-05 01:32:30.589940) fakeroot debian/rules binary http://jenkins.knut.univention.de:8080/job/UCS-4.4/job/UCS-4.4-0/job/AutotestJoin/lastCompletedBuild/testReport/
Fixed in univention-appcenter 8.0.11-43A~4.4.0.201907081107 Also renamed recommendations.json to suggestions.json
OK - suggestions.json (equal to former _getAppSuggestions list) OK - umc-command -U Administrator -P univention "appcenter/suggestions" -o version=v1 OK - .suggestions.json copied during UMC appcenter update OK - suggestions in UMC TODO - jenkins Tests (wait for tomorrows results)
OK - jenkins OK - yaml
<http://errata.software-univention.de/ucs/4.4/179.html>