I'm running the command: drush upc --pipe
pm-updatecode will only provide update info for enabled projects as documented[1]. Is there a way to have it return update info for all projects in my site instead? I'd like to see that info for my "Disabled" and "Not installed" projects that are in my site.
I suppose if there isn't a way to currently get this information I'll change the issue to a feature request. In that case, to implement such a feature I imagine I'd need to look at...
commands/pm/updatecode.pm.inc [2]
commands/pm/update_info/drupal.inc -> _pm_get_update_info($projects) [3]
...to create a patch. Any thoughts?
[1] http://drush.ws/help/4#pm-updatecode
[2] http://drupalcode.org/project/drush.git/blob/dba41e0b08c615ff1bc3a99a574...
[3] http://drupalcode.org/project/drush.git/blob/dba41e0b08c615ff1bc3a99a574...
Comments
Comment #1
jonhattanIn drupal 7 it is the option "Check for updates of disabled modules and themes" at admin/reports/updates/settings. For drupal6 this functionality is provide by advanced_status module.
Comment #2
dkingofpa commentedThanks for the response, but it didn't answer my question. But since this was marked as "works as designed", I'll just assume it would be frowned upon to provide such functionality via the drush environment.
Comment #3
jonhattanWith that checkbox enabled in drupal you get info for all projects in drush. It works this way because drush rely on update.module
Comment #4
dkingofpa commentedAh, ok. Thanks for the clarification. I'm re-opening the ticket and changing it to a documentation task. This is good info that should be in there.
Comment #5
greg.1.anderson commentedThis issue was marked
closed (won't fix)because Drush has moved to Github.If desired, you may copy this task to our Github project and then post a link here to the new issue. Please also change the status of this issue to
closed (duplicate).Please ask support questions on Drupal Answers.
Comment #5.0
greg.1.anderson commentedSpecifying the command I'm using.