Since version 7.x-5.8 of drush, the action pm-list(pml) with the option "--no-core" does not filter the optionnal core modules any more. It used to be the case in version 5.7.

Repeatable: Always

Steps to repeat:
drush pml --no-core

Expected result :
no core modules (neither optionals) in the list.

Actual Results :
optional core modules are listed :

Core - optional Aggregator (aggregator) Module Enabled 6.28
Core - optional Blog (blog) Module Not installed 6.28
Core - optional Blog API (blogapi) Module Not installed 6.28
Core - optional Book (book) Module Enabled 6.28
Core - optional Color (color) Module Enabled 6.28
Core - optional Comment (comment) Module Enabled 6.28
Core - optional Contact (contact) Module Enabled 6.28
Core - optional Content translation (translation) Module Not installed 6.28
Core - optional Database logging (dblog) Module Enabled 6.28
Core - optional Forum (forum) Module Not installed 6.28
Core - optional Help (help) Module Enabled 6.28

Reproduced on all of our Drupal 6 environments :
-ubuntu / CentOS linux
-PHP 5.3
-Mysql 5.5

Untested in D7 environment.

Drush debug in attached file.

Comments

greg.1.anderson’s picture

Status: Active » Postponed (maintainer needs more info)

Could you try on 7.x-5.x dev and 8.x-6.x dev? Some work has gone into --core and --no-core, and this may be a duplicate of a problem that has already been fixed.

Fred.Barrau’s picture

StatusFileSize
new53.18 KB
new60.66 KB
new59.74 KB

No luck with the versions 7.x-5.x dev and 8.x-6.x dev : they both show the core modules (optional AND required) with the --no-core option.

I've attached the outputs from the drush pml of the versions 7.x-5.7, 7.x-5x.dev and 8.x.6.dev.

Fred.Barrau’s picture

Status: Postponed (maintainer needs more info) » Postponed
wavesailor’s picture

Status: Postponed » Active

I'm experiencing the same problem.

moshe weitzman’s picture

Assigned: Unassigned » jonhattan

This seems like a problem with Drupal 6 only. Assigning to jonhattan.

In the future, please use --debug while running the problem command. Don't include it separately. +1 for the ASCII art though. Thanks.

greg.1.anderson’s picture

Version: 7.x-5.8 » 8.x-6.x-dev
Status: Active » 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 bug 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