Closed (fixed)
Project:
Recipes Initiative
Version:
1.0.x-dev
Component:
Documentation
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
16 Apr 2025 at 12:02 UTC
Updated:
15 Jul 2025 at 11:14 UTC
Jump to comment: Most recent
https://project.pages.drupalcode.org/distributions_recipes/getting_start...
We should also add the composer commands to each of the steps where you need to alter an existing composer.json project file in addition to the snippets.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
kerrymick commentedLooks good. Thanks @thejimbirch
Comment #3
thejimbirch commentedFor the .gitignore section, I think we can add something like this:
------------
To add a repository, it's
composer config repositories.<name> <type> <url>Example:
composer config repositories.drupal composer https://packages.drupal.org/8This will automatically inject into composer.json under repositories like this:
------------
To update the allow-plugins section for the unpack command:
The general syntax is:
composer config allow-plugins.<plugin-name> trueFor our specific case:
composer config allow-plugins.ewcomposer/unpack trueComment #4
thejimbirch commentedComment #6
phenaproximaUpdated the docs. I don't think we should call the recipe unpack plugin optional, just give people simple and consistent commands they can use to get going. The less cognitive load, the better.
We desperately need this to be up to date, so I'm hoping we can merge this sooner rather than later.
Comment #9
thejimbirch commentedMerged, thanks!