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

User interface changes

None

API changes

Can use both Composer ~1.0 and Composer ~2.0

Data model changes

None

Comments

RajabNatshah created an issue. See original summary.

  • RajabNatshah committed 79b16c5 on 9.0.x
    Issue #3185555: Allow Varbase Email module to work with Composer ~2.0
    

  • RajabNatshah committed bc33048 on 8.x-6.x
    Issue #3185555: Allow Varbase Email module to work with Composer ~2.0
    
rajab natshah’s picture

Assigned: rajab natshah » mohammed j. razem
Status: Active » Needs review
Issue tags: +varbase-8.8.8, +varbase-9.0.0, +varbase-9.0.0-rc1
rajab natshah’s picture

Assigned: mohammed j. razem » Unassigned
rajab natshah’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.