Roll-up for Drupal 10 compatibility

Created on 22 February 2023, almost 2 years ago
Updated 1 April 2023, over 1 year ago

Not sure how much has to change for Drupal 10 but at least the composer specs are precluding installation on D10

πŸ“Œ Task
Status

Closed: outdated

Version

5.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States HeneryH

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @HeneryH
  • It's close but there's still some moving parts.

    One thing is you'll need to use the unreleased 6.2 branch for the parent webform module.

    Then there's a branch of webform_civicrm that works but it's not ready to be merged back yet. You can install it with git to get around the composer problem, or set up a vcs repo in the repositories section in your root composer.json, but I only recommend that for a test site since such things tend to be forgotten to be removed later and then cause problems.

    There are some other 3rd party dependencies still outstanding if you use it for contributions.

  • πŸ‡ΊπŸ‡ΈUnited States HeneryH

    OK, I am just testing and acknowledge the importance of removing that vcs repo once things settle.

    I added these to my composer.json file and we will see how it goes. Installation was fine but I haven't yet started testing.

    I'll report back here with any issues.

    {
        "name": "drupal/recommended-project",
        "description": "Project template for Drupal projects with a relocated document root",
        "type": "project",
        "license": "GPL-2.0-or-later",
        "homepage": "https://www.drupal.org/project/drupal",
        "support": {
            "docs": "https://www.drupal.org/docs/user_guide/en/index.html",
            "chat": "https://www.drupal.org/node/314178"
        },
        "repositories": [
            {                                                                                              <=====
                "type": "vcs",                                                                        <=====
                "url": "https://github.com/demeritcowboy/webform_civicrm"    <=====
            },    <=====
            {
                "type": "composer",
                "url": "https://packages.drupal.org/8"
            }
        ],
        "require": {
            "drupal/webform_civicrm": "dev-d10test-6",                               <=====
            "civicrm/civicrm-asset-plugin": "~1.1",
            "civicrm/civicrm-core": "dev-master",
            "civicrm/civicrm-drupal-8": "dev-master",
            "civicrm/civicrm-packages": "dev-master",
            "composer/installers": "^2.0",
            "drupal/civicrm_entity": "^4.0@alpha",
            "drupal/core-composer-scaffold": "^10.1",
            "drupal/core-project-message": "^10.1",
            "drupal/core-recommended": "^10.1",
            "drupal/devel": "^5.1",
            "drupal/entity_update": "^3.0@RC",
            "drupal/webform": "^6.2@beta",                                              <=====
            "drush/drush": "^11.5"
        },
        "require-dev": {
            "drupal/core-dev": "^10.1"
        },
        "conflict": {
            "drupal/drupal": "*"
        },
        "minimum-stability": "dev",
        "prefer-stable": true,
    .
    .
    .
    
  • πŸ‡«πŸ‡·France andrimont

    @ jjflynn22 β†’

    It works for me, thanks.

  • Status changed to Closed: outdated over 1 year ago
Production build 0.71.5 2024