Univention Bugzilla – Bug 41770
Prepare App Center for Self Service (3)
Last modified: 2016-09-22 07:13:59 CEST
We need .udeb support (Debian Installer package - used in UCS@school) and there is a bug in the dpkg-name replacement code: The order was not always correct. Also add univention-app dev-use-test-appcenter. Setting up the Test App Center now is more than one UCRV.
If the ini file is malformed or missing required fields, only the following traceback is shown: Die Ausführung des Kommandos appcenter-selfservice/upload ist fehlgeschlagen: Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/univention/management/console/base.py", line 283, in execute function(self, request) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/decorators.py", line 628, in _response return function(self, request) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/appcenter-selfservice/__init__.py", line 264, in upload self._add_meta_file(upload_type, app, uploaded_file, filename_as_uploaded, clear) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/appcenter-selfservice/__init__.py", line 398, in _add_meta_file self._process_dir(tmp_dir, split_app_dir(app.get_cache_dir())) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/appcenter-selfservice/__init__.py", line 436, in _process_dir app.component_id = dst_dir.component_id AttributeError: 'NoneType' object has no attribute 'component_id'
univention-appcenter 5.0.21-19.190.201607141025 New command: univention-app dev-use-test-appcenter [--revert]
(In reply to Dirk Wiesenthal from comment #2) > univention-appcenter 5.0.21-19.190.201607141025 > > New command: > univention-app dev-use-test-appcenter [--revert] This is basically: ucr set repository/app_center/server=appcenter-test.software-univention.de \ update/secure_apt=no \ appcenter/index/verify=no univention-app update
OK - udeb (i can see udeb packages on the test appcenter, code looks good) OK - dev-use-test-appcenter OK - yaml
<http://errata.software-univention.de/ucs/4.1/218.html>