Some processes, such as the installation of Eclipse, take over 10 minutes to achieve without any user feedback before they are completed. A more verbose installation & setup procedure (or a warning to wait out the dead spots) for default drubuntu-install would be helpful. I was about to terminate the process when it snapped forward again.
The full extremis of what I encountered could be the result of multitasking & a virtual machine, but is still worth something.
If more verbose feedback/% completion is not readily feasible, a standardized "This process is known to take a while. Go get some coffee." would be welcome on those items which will probably take a while.
Comments
Comment #1
owen barton commenteddrush_shell_exec blocks php while the command executes so there is not much we could do. We could switch to using drush_shell_exec_interactive, which would print the apt-get output - however this would mean the drubuntu-install output would get pretty long, and I would like it if we could keep all the output in the terminal buffer, so users can easily review for issues. The other alternative would be to fork and monitor processes (possible, but not that easy in php), so we can indicate activity using dots or whatever. In the mean time, I think adding a "make a coffee" type note would be good.
Comment #2
Grayside commentedAppending a message makes sense. At this stage, this is mostly an icing feature.
Attached patch is very simple, and only targets the base install of Eclipse to demonstrate a standard approach and text. I'd rather an engine-level hook, but not all routines in an engine are made equal.
Needs work, because I think it needs a from-scratch review of which routines are long so this can be added to all of them.
Comment #3
Grayside commentedHaving gone through this again, I found that every process was 20 seconds to three minutes long, except Eclipse, which was 20-25 minutes long. Perhaps separating out Eclipse and some of its packages would break up time a little better, providing more effective feedback.
Comment #4
sirviejo commentedHi, first of all thanks for Drubuntu it's great project. I'm documenting my experience installing it and i will post it as soon as it finished.
I agree with Greyside that the user must receive more verbose feedback about whats going on when installing packages.
I also find interensting to have the ability to select wich software i want to install from an ini file. What do you think?
Comment #5
Grayside commented@sirviejo
See #1007588: Separate CLI from GUI tools and #1007080: More advanced tools (Varnish/Memcached/Solr/etc?).