Timeline for How can I use Drush to determine if a module is being used or not in a multisite architecture?
Current License: CC BY-SA 3.0
13 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 13, 2014 at 1:40 | answer | added | alec | timeline score: 0 | |
Feb 20, 2014 at 17:17 | history | edited | blue928 | CC BY-SA 3.0 |
more info
|
Feb 20, 2014 at 16:59 | comment | added | blue928 | .... just to clarify my last comment above, I had to use 'atSign' because the 'at' symbol can only be used once in a comment on SE. How should I have formatted that so it is text rather than it think I'm trying to ping a responder? .. we can delete this comment of course after that's clear. thanks! | |
Feb 20, 2014 at 1:05 | answer | added | greg_1_anderson | timeline score: 4 | |
Feb 19, 2014 at 17:05 | comment | added | Mark G |
@blue928: you may want to add a --yes after drush ATsites pm-list before piping it into grep search . Without --yes , Drush by default offers a confirmation "(y/n)" but you never see the prompt because it's being piped into your second command
|
|
Feb 19, 2014 at 16:35 | history | tweeted | twitter.com/#!/StackDrupal/status/436177180847255552 | ||
Feb 19, 2014 at 16:18 | comment | added | Clive♦ |
Come to think of it, that's quite a specific bit of functionality, might be worth feature request to the module - what were you hoping your supplied parameters and output to look like? Something like drush @sites <command-name> <module-name> <version> as the input and a list of site names with a yes/no for the output?
|
|
Feb 19, 2014 at 16:02 | comment | added | Clive♦ |
Hmm, @sites hasn't worked for me for ages on multisites, that's why I was suggesting the manual way. But yeah, I did mean setting one up manually
|
|
Feb 19, 2014 at 16:00 | comment | added | blue928 | I did some digging into aliases and saw that 'atSign'sites is available. drush 'atSign'sites pm-list | grep search drove my server crazy but finally spit out something that looked like garbage. Interestingly, the last 5 columns of the output listed package names from vertically, with one letter of the name on each row. by setting up an alias, you mean in PHP right? Create a file for a custom alias? (drush.ws/examples/example.aliases.drushrc.php) I wonder how that would be different from the built in @sites alias | |
Feb 19, 2014 at 15:30 | answer | added | Mark G | timeline score: -1 | |
Feb 19, 2014 at 15:21 | history | edited | blue928 | CC BY-SA 3.0 |
misworded sentence.
|
Feb 19, 2014 at 15:17 | comment | added | Clive♦ | I'd guess that output is for the default site, that's where Drush will look without an alias (I think). Could you set up an alias that looks at all of the sites and run the command @alias maybe? | |
Feb 19, 2014 at 15:09 | history | asked | blue928 | CC BY-SA 3.0 |