Closed (fixed)
Project:
Drush
Version:
8.x-6.x-dev
Component:
Make
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
7 Feb 2012 at 22:17 UTC
Updated:
24 Jun 2013 at 16:30 UTC
Jump to comment: Most recent file
Drush make will take awhile to grab all of the stuff. After running it though you're kind of in limbo not knowing if it worked or not, since the cursor just blinks at you for a period of time.
It'd be nice if immediately upon running drush make you got some visual feedback like "Now assembling your distribution. Please wait."
| Comment | File | Size | Author |
|---|---|---|---|
| #12 | 1431972-12.drush-make-say-something-8x.patch | 539 bytes | dww |
| #11 | 1431972-11.drush-make-say-something-8x.patch | 600 bytes | dww |
| #8 | 1431972-8.drupalorg_drush_say_something.patch | 1.29 KB | dww |
| #7 | 1431972-7.drush-make-say-something.patch | 573 bytes | dww |
| #6 | 1431972-6.drupalorg_drush_say_something.patch | 564 bytes | dww |
Comments
Comment #1
dwwAgreed, this would be useful. Here's a start.
Comment #2
moshe weitzman commentedWe usually use drush_log() with type='ok' for this. Also, lets not emit anything for validation unless that really takes a while.
Comment #3
dwwThe main delay before you get any output at all is the validation step. We could skip the 2nd message entirely perhaps, since once validation completes, you usually get feedback pretty quickly. Unless of course your .make file says to get core via git in which case it usually takes another long time before you see any progress. So, I'd actually just recommend keeping both messages (or something better worded if you prefer).
That said, duly noted on drush_log(). I'll re-roll.
Thanks,
-Derek
Comment #4
jhedstromUnless I'm mistaken, validation only takes a long time with the
--drupal-orgoption set. Drush make on its own doesn't really do any time consuming validation. I'd vote for putting the validation log message into drupalorg_drush.Comment #5
webchickThat makes sense. And actually might be cleared up magically when #1432476: drupalorg_drush always try to download release history XML info is fixed.
Comment #6
dwwComment #7
dwwAnd here's a patch for drush make itself to log something before calling make_projects(). I still think it's useful to log something then, too, since cloning from Git can often take quite a while and it's nice to let people know something's happening.
Comment #8
dwwRerolled #6 for latest master. Any objections?
Once that's in, we can worry about trying to patch drush itself.
Comment #9
dwwWith a little more local testing, pushed a modified version of #8 to drupalorg_drush:
http://drupalcode.org/project/drupalorg_drush.git/commit/0995a6f
Moving this back to the drush queue for fixing drush make itself via #7 (which still applies cleanly at the end of the 7.x-5.x branch and still works):
This patch is giving us this part:
Comment #10
moshe weitzman commented#7 looks good. We need a reroll for 8.x
Comment #11
dwwAsk and ye shall receive! ;)
Comment #12
dwwI hadn't done a pull, so that patch has some fuzz. Here's a re-roll without fuzz.
Comment #13
moshe weitzman commentedCommitted to 6 and 5.
Comment #14
dwwThanks!