Download & Extend

option --no-core of action pm-list does not filter optionnal core modules

Project:Drush
Version:7.x-5.8
Component:PM (dl, en, up ...)
Category:bug report
Priority:normal
Assigned:Unassigned
Status:postponed

Issue Summary

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.

AttachmentSize
drush-debug.txt13.92 KB

Comments

#1

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.

#2

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.

AttachmentSize
drush-7.x-5.x.dev_.ouput_.txt 59.74 KB
drush-8.x-6.x.dev_.ouput_.txt 60.66 KB
drush-7.x-5.7.ouput_.txt 53.18 KB

#3

Status:postponed (maintainer needs more info)» postponed
nobody click here