drupal-core-development-project icon indicating copy to clipboard operation
drupal-core-development-project copied to clipboard

Feature/alternative include

Open bbrala opened this issue 2 years ago • 5 comments

An experiement if it is possible without patches but with a little trick in the web directory we use on our projects.

This adds:

  • index.php and update.php that includes core
  • symlink for sites/default/files since there is css there

It seems to work pretty fine but because i use a custom packages.json it is not completely as it would be when in the main repository.

Tested usinig: drupal-core-development-packages.json

{
    "packages": {
        "joachim-n/drupal-core-development-project": {
            "dev-master": {
                "name": "joachim-n/drupal-core-development-project",
                "version": "2.0.0",
                "source": {
                    "url": "[email protected]:bbrala/drupal-core-development-project",
                    "type": "git",
                    "reference": "7ca81136b274d056e3f5fb21c16d7213f1520bd5"
                }
            }
        }
    }
}

Command: composer create-project --repository=./drupal-core-development-packages.json joachim-n/drupal-core-development-project coredev5 -vvv

bbrala avatar Jan 19 '22 13:01 bbrala