Univention Bugzilla – Bug 30077
Dependencies in the App Center
Last modified: 2013-11-19 06:44:28 CET
It might be helpful if the App Center would support dependencies between different APPs in addition to Conflicts. For example a clb. DV. App would certainly depend on UCC, but currently there is no way to reflect this in the ini file.
Yes, definitively! Something we were thinking about, as well, these days :) .
I think it is not required for 3.1-1.
*** Bug 29599 has been marked as a duplicate of this bug. ***
We should provide only a simple dependency on app layer.
Bug 29599 comment 2 says to also adapt the documentation of the ini file.
(In reply to Stefan Gohmann from comment #4) > We should provide only a simple dependency on app layer. What about versions (e.g. RequiredApps: ucc=1.1)? Shall the corresponding apps be installed automatically or shall we just point the user to these apps and he has to install them manually? I think it would be better to just point the user to it. Otherwise we have to think of a lot of details like license agreement and get problems in the future, e.g. if we want to support some initial pre-install-ucr-variables-wizard.
Added a very simple implementation in: univention-management-console-module-appcenter 3.0.10-1.155.201307291423 This affects only cannot_install_reason() and cannot_uninstall_reason(). If someone really wants to install the application, he is still able to do so (e.g. via univention-add-app). This is more of a frontend fix which disables certain buttons. If any application is mentioned in RequiredApps of the ini and this application is not yet installed, the install button is not shown and a message says: "%s requires the following Applications. Install them first." If self is mentioned in any application's ini file as RequiredApps and this application is installed, the uninstall button is not shown and a message says: "%s is required for the following Applications to work. Uninstall them first."
(In reply to Dirk Wiesenthal from comment #7) > If any application is mentioned in RequiredApps of the ini and this > application is not yet installed, the install button is not shown and a > message says: "%s requires the following Applications. Install them first." Is it possible to show it in a pop up dialog?
(In reply to Stefan Gohmann from comment #8) > (In reply to Dirk Wiesenthal from comment #7) > > If any application is mentioned in RequiredApps of the ini and this > > application is not yet installed, the install button is not shown and a > > message says: "%s requires the following Applications. Install them first." > > Is it possible to show it in a pop up dialog? Yes, but it is currently placed where also ConflictedApps or insufficient RAM show up. So it seems to be the right place - or we revise the overall layout. Do you mean "Install" should not be hidden but when clicking on it the popup should be shown? If you want this message to appear somewhere else I suggest placing all other "prohibiting messages" there, too. And then it should be another bug.
(In reply to Dirk Wiesenthal from comment #9) > Do you mean "Install" should not be hidden but when clicking on it the popup > should be shown? Yes. > If you want this message to appear somewhere else I suggest placing all > other "prohibiting messages" there, too. And then it should be another bug. Yes: Bug #32163.
(In reply to Dirk Wiesenthal from comment #9) > (In reply to Stefan Gohmann from comment #8) > > (In reply to Dirk Wiesenthal from comment #7) > > > If any application is mentioned in RequiredApps of the ini and this > > > application is not yet installed, the install button is not shown and a > > > message says: "%s requires the following Applications. Install them first." > > > > Is it possible to show it in a pop up dialog? > > Yes, but it is currently placed where also ConflictedApps or insufficient > RAM show up. So it seems to be the right place - or we revise the overall > layout. I've looked again at this issue. I think we should solve it together with Bug #32163 otherwise the usability is not OK. The pop up dialog should include a link to the other App.
Looks better now with Bug#32163 fixed. Link to (the first of possibly many) app is available
Changelog: OK Tests: OK (z-push now depends on zarafa) Documentation: Fail - it should be documented in the developer guide
(In reply to Stefan Gohmann from comment #13) > Changelog: OK > > Tests: OK (z-push now depends on zarafa) > > Documentation: Fail - it should be documented in the developer guide It already is: http://docs.univention.de/developer-reference-3.2.html#app:iniFile (RequiredApps)
(In reply to Dirk Wiesenthal from comment #14) > (In reply to Stefan Gohmann from comment #13) > > Changelog: OK > > > > Tests: OK (z-push now depends on zarafa) > > > > Documentation: Fail - it should be documented in the developer guide > > It already is: > http://docs.univention.de/developer-reference-3.2.html#app:iniFile > (RequiredApps) I see .. → Verified.
UCS 3.2 has been released: http://docs.univention.de/release-notes-3.2-en.html http://docs.univention.de/release-notes-3.2-de.html If this error occurs again, please use "Clone This Bug".