- Issue created by @joachim
- π¬π§United Kingdom joachim
I should say also that in working on π Wrong DRUPAL_ROOT with non-standard code structure RTBC , I've added a Composer repository for this to the project root composer.json and it works fine.
- π¬π§United Kingdom longwave UK
Do you mean the scaffold plugin? Because drupal/core-vendor-hardening is right there:
{ "type": "path", "url": "composer/Plugin/VendorHardening" },
Drupal core is moving towards using a βmainβ branch. As an interim step, a new 11.x branch has been opened β , as Drupal.org infrastructure cannot currently fully support a branch named
main
. New developments and disruptive changes should now be targeted for the11.x
branch, which currently accepts only minor-version allowed changes. For more information, see the Drupal core minor version schedule β and the Allowed changes during the Drupal core release cycle β .Drupal 9.5.0-beta2 β and Drupal 10.0.0-beta2 β were released on September 29, 2022, which means new developments and disruptive changes should now be targeted for the 10.1.x-dev branch. For more information see the Drupal core minor version schedule β and the Allowed changes during the Drupal core release cycle β .
Drupal 9.4.0-alpha1 β was released on May 6, 2022, which means new developments and disruptive changes should now be targeted for the 9.5.x-dev branch. For more information see the Drupal core minor version schedule β and the Allowed changes during the Drupal core release cycle β .
Drupal 9.3.0-rc1 β was released on November 26, 2021, which means new developments and disruptive changes should now be targeted for the 9.4.x-dev branch. For more information see the Drupal core minor version schedule β and the Allowed changes during the Drupal core release cycle β .
Drupal 9.2.0-alpha1 β will be released the week of May 3, 2021, which means new developments and disruptive changes should now be targeted for the 9.3.x-dev branch. For more information see the Drupal core minor version schedule β and the Allowed changes during the Drupal core release cycle β .
- π¬π§United Kingdom joachim
But "composer/Plugin/Scaffold" isn't there.
- π¦πΊAustralia larowlan π¦πΊπ.au GMT+10
I think core itself doesn't use the scaffold plugin direct, that's why it is omitted. It's an artifact built from core via meta package, but not used by core.
This feels like a task.
- Status changed to Needs work
about 1 year ago 3:50pm 20 November 2023 - πΊπΈUnited States mile23 Seattle, WA
So there's some discrepancy in the summary and title about which package we're talking about.
But:
If you say
composer create-project drupal/recommended-project
you'll get a project composer.json that doesn't use the path repositories. The same fordrupal/legacy-project
.drupal/drupal
does look like the issue summary, however: https://git.drupalcode.org/project/drupal/-/blame/11.x/composer.json?ref...I believe this is because the
drupal/drupal
package is specifically for doing local development of core, and no other purpose. For core dev you're supposed to clone the repo and saycomposer install
. Since the entire file system is laid out already in the repo, there's no need to use the scaffold plugin, so it is not included in therequire
section, and therefore also not included in therepositories
section.I'm not sure where to document this. I don't see a change record that says 'drupal/drupal is for dev only,' so maybe that's a good candidate, or maybe it already exists and I couldn't find it.