Problem/Motivation
NOW that Drupal.org supports composer 2.0
As listed in Drupal Association Supporting Partner Update | September 2020
#3126566: Allow Drupal to work with Composer 2
#3128631: Update dependencies composer/composer ^2 and composer/semver to ^3
#3180950: Allow Varbase to work with Composer ~2.0
Allow varbase-project template to work with Composer ~2.0 #93
https://github.com/Vardot/varbase-project/issues/93
Proposed resolution
Change the following:
"composer/installers": "~1.0",
"oomphinc/composer-installers-extender": "~1.0",
"cweagans/composer-patches": "~1.0",
"drupal/drupal-library-installer-plugin": "^0.3",
To:
"composer/installers": "~1.0 || ~2.0",
"oomphinc/composer-installers-extender": "~1.0 || ~2.0",
"cweagans/composer-patches": "~1.0",
Remove drupal/drupal-library-installer-plugin
Remaining tasks
- ✅ File an issue about this project
- ✅ Change to support Composer ~2.0
- ✅ Testing to ensure no regression
- ➖ Automated unit/functional testing coverage
- ✅ Developer Documentation support on feature change/addition
AddedVarbase YouTube Import
- ➖ User Guide Documentation support on feature change/addition
- ✅ Code review from 1 Varbase team member
- ✅ Full testing and approval
- ✅ Credit contributors
- ✅ Review with the product owner
- ✅ Release varbase-9.0.3, varbase_youtube_import-8.x-1.0
User interface changes
- N/A
API changes
Can use both Composer ~1.0 and Composer ~2.0
Data model changes
- N/A
Comments
Comment #3
rajab natshahComment #4
rajab natshahComment #5
rajab natshahComment #6
rajab natshahComment #7
rajab natshahComment #8
rajab natshahComment #10
rajab natshahComment #11
rajab natshah