Problem/Motivation
Deprecate Color module - part of #3270894: [Meta] Tasks to deprecate Color
Proposed resolution
Use https://www.drupal.org/about/core/policies/core-change-policies/module-o...
What the MR does
- Deprecates the Color module by adding appropriate lifecycle and lifecycle_link to core/modules/color/color.info.yml
- Adds @group legacy to all tests in the Drupal\Tests\color\* namespace
- Removes the dependency on the Color module from the demo_umami profile. This dependency seems only to be there since the Color module was (until recently) enabled in the Standard Profile, and this profile just copied that.
User interface changes
no
API changes
no
Data model changes
no
Release notes snippet
Color module is deprecated
| Comment | File | Size | Author |
|---|
Issue fork drupal-3270936
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3270936-deprecate-color-module
changes, plain diff MR !2137
Comments
Comment #2
quietone commentedMaking a start.
Comment #3
quietone commentedAdd @legacy to migration tests that use the standard profile.
Comment #5
quietone commentedPostponing on all the issues in Step 1 of #3270894: [Meta] Tasks to deprecate Color
Comment #6
quietone commentedComment #7
catchNot sure if this is fully unblocked, because Bartik still has color support, but... it might be unblocked so let's see.
Comment #8
catchComment #9
spokjeComment #10
spokjeComment #12
spokjeRather modestly sized PR for a deprecation this time:
- Deprecates the Color module by adding appropriate
lifecycleandlifecycle_linktocore/modules/color/color.info.yml- Adds
@group legacyto all tests in theDrupal\Tests\color\*namespace- Moves
Colorin tests in theDrupal\Tests\aggregator\Functional\migrate_drupal_ui\d7namespace fromgetAvailablePaths()togetMissingPaths()- Removes the dependency on the Color module from the
demo_umamiprofile. This dependency seems only to be there since the Color module was (until recently) enabled in the Standard Profile, and this profile just copied that.Comment #13
andypostI think patch will be better as there's no way to test it against 10.0.x
Comment #14
spokje@andypost: At this moment in time I'm very unsure if the deprecation on D9.4.x will be tested on D10.0.x.
I _think_ the actual removal patch/PR in D10.0.x will be the only test done on D10.0.x and both deprecation and removal will be committed within 24hrs of each other when both are RTBC , but as said: I _think_
But I'm sure Bigger Brains than mine can confirm/deny the above. I'm happy to provide a patch by then.
Comment #15
spokjeComment #16
andypostAdded review, not sure why diff showing changes commited in https://git.drupalcode.org/project/drupal/commit/0ad6705
Comment #17
andypostPlease ignore my previous review, comment #12 is right
Comment #18
andypostUpdated IS a bit and created https://www.drupal.org/project/color/releases/1.0.1
Comment #19
andypostComment #20
spokjeThis is postponed until Color is (correctly) removed from the Standard Profile in
9.4.x-dev(10.0.x-devseems to be OK). See #3270941-33: Remove Color module from the Standard profileComment #21
spokje#3270941: Remove Color module from the Standard profile landed, this time also in
9.4.x, let's see where this MR fares now.Comment #22
spokjeOops
Comment #23
spokjeComment #24
spokjeMR became even smaller:
- Deprecates the Color module by adding appropriate
lifecycleandlifecycle_linktocore/modules/color/color.info.yml- Adds
@group legacyto all tests in theDrupal\Tests\color\*namespace- Removes the dependency on the Color module from the
demo_umamiprofile. This dependency seems only to be there since the Color module was (until recently) enabled in the Standard Profile, and this profile just copied that.Comment #25
andypostBack to rtbc
Comment #28
alexpottCommitted and pushed f32465f3a4 to 10.0.x and a3056c871e to 9.5.x and 3f26c6b956 to 9.4.x. Thanks!
Comment #33
wim leersThis already has a release note snippet, but was not yet tagged for the 9.4 release notes, doing so now!