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

jonhattan’s picture

Status: Active » Closed (works as designed)

In 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.

dkingofpa’s picture

Thanks 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.

jonhattan’s picture

With that checkbox enabled in drupal you get info for all projects in drush. It works this way because drush rely on update.module

dkingofpa’s picture

Title: How to use pm-updatecode to view update info for ALL projects in my site? » Document how pm-updatecode can be used to view update info for ALL projects in a site
Component: PM (dl, en, up ...) » Documentation
Category: support » task
Status: Closed (works as designed) » Needs work

Ah, 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.

greg.1.anderson’s picture

Version: All-versions-4.x-dev » 8.x-6.x-dev
Status: Needs work » Closed (won't fix)
Issue tags: +Needs migration

This 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.

greg.1.anderson’s picture

Issue summary: View changes

Specifying the command I'm using.