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.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | drush-7.x-5.x.dev_.ouput_.txt | 59.74 KB | Fred.Barrau |
| #2 | drush-8.x-6.x.dev_.ouput_.txt | 60.66 KB | Fred.Barrau |
| #2 | drush-7.x-5.7.ouput_.txt | 53.18 KB | Fred.Barrau |
| drush-debug.txt | 13.92 KB | Fred.Barrau |
Comments
Comment #1
greg.1.anderson commentedCould 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.
Comment #2
Fred.Barrau commentedNo 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.
Comment #3
Fred.Barrau commentedComment #4
wavesailor commentedI'm experiencing the same problem.
Comment #5
moshe weitzman commentedThis 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.
Comment #6
greg.1.anderson commentedThis 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.
Comment #7
greg.1.anderson commentedhttps://github.com/drush-ops/drush/issues/172