Univention Bugzilla – Bug 39726
Adjust appcenter-dev/actions/local_appcenter.py to latest changes
Last modified: 2017-04-05 14:42:01 CEST
Bug 39654, comment 2: > > However, I am not sure what to do with the parts in the local_appcenter.py: > > > ... > > > parser.add_argument('-s', '--screenshot', help='Path to a screenshot...') > > > ... > > > > @Dirk: Any suggestion? > > > > Yes. -t, --thumbnails, nargs=+. Copy the args to the filenames specified in > the ini file (filter those that begin with http) Bug 39525, comment 3: > This bug can be closed now. SVG icons have been included in the app center > and all existing app icons have been converted to SVG. Along with this > change, the structure of the meta-inf directory has been adjusted such that > each app has its own subfolder below meta-inf/4.1. Along with the Bug 39654 and Bug 39525, the file local_appcenter.py needs to be adjusted as well. Both changes introduced in these bugs have not been adapted, so far. The changes concern the binary package univention-appcenter-dev.
Instead of using ConfigParser, the given ini file could be read directly via App.from_ini().
Not sure what exactly was missing. But local_appcenter.py works for me. Also, it has become less important with the Provider Portal.