Forum OpenACS Development: Asking questions on install

Collapse
Posted by Dave Bauer on
Should/Can the APM ask a question of the user on a package/instance install? For example, lars-blogger can generate an RSS feed. Currently the user has to click on a "Generate RSS feed" link to turn this on. So maybe the user could be offered when the package instance is installed the option to turn this on.  See this thread: https://openacs.org/forums/message-view?message_id=91222

I am thinking of something along the lines of the debian package installer that offers options at the time a package is installed.

Collapse
Posted by Joel Aufrecht on
I really like the non-interactive package installs.  I would much prefer that all questions and config stay in an admin page.
Collapse
Posted by Tilmann Singer on
Seconding Joel here ... especially regarding Don's new install.xml functionality, which would become less admin-friendly after such an addition I think.
Collapse
Posted by Peter Marklund on
Dave,
yes, I think it might make sense for the APM to prompt for parameter settings upon installation and instantiation. This does not necessarily imply that installation and instantiation cannot be done non-interactively, only that the user has the opportunity to change default parameter values at the point in time when it makes the most sense.

The way we currently solve this issue, for example for the Bug Tracker, is that a package instance detects when it is used for the first time and prompts an admin to do configuration. This works, but it's not the ideal solution.

As far as I can remember Bryan Quinn who designed the APM at ArsDigita had just this feature that Dave is requesting in mind but it never got implemented. I remember Bryan offering a t-shirt to whoever would implement those missing APM features. Dave - you should call him on that offer 😊

Btw, speaking of APM parameters, something that would be nice would be to have site-wide package parameters (the equivalent of a static variable for a class in object oriented programming). Not sure how urgently we need that feature though and it's also not really relevant to this discussion.