Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use drupal/core-composer-scaffold to manage project creation and updates #1042

Open
AlexSkrypnyk opened this issue Oct 6, 2023 · 0 comments
Assignees
Labels
State: In progress The issue is being worked on Type: Feature Issue is a new feature request
Milestone

Comments

@AlexSkrypnyk
Copy link
Member

AlexSkrypnyk commented Oct 6, 2023

Use https://github.com/drupal/core-composer-scaffold to manage project creation and updates.

This will also allow to support composer create-project

For this, we would need:

  1. Convert this repo to the proper Composer package (drupal/core-composer-scaffold can work only with packages downloaded by Composer rather than remote packages). This conversion will require a new major 2.x branch of the DrevOps Scaffold.
  2. Publish repo to Packagist
  3. Provide a Generalizer script/plugin that would be converting composer.json back from the plugin structure.
  4. Provide mappings for all files that would need to be managed by the drupal/core-composer-scaffold plugin.
  5. Update the testing system to use PHPUnit instead of Bats for any workflow testing.

Note that this will allow to perform updates on consumer sites using composer update drevops/scaffold manually. The customised files will be updated as well as composer.json.

The automated updates will be handled in #1321

@AlexSkrypnyk AlexSkrypnyk added DrevOps 2.0 Type: Idea Idea that requires additional discussion labels Oct 7, 2023
@AlexSkrypnyk AlexSkrypnyk added this to the 2.0 milestone Oct 8, 2023
@AlexSkrypnyk AlexSkrypnyk changed the title Consider using drupal-scaffold to move files into places Use drupal/core-composer-scaffold to manage project creation and updates Apr 8, 2024
@AlexSkrypnyk AlexSkrypnyk self-assigned this Apr 8, 2024
@AlexSkrypnyk AlexSkrypnyk added State: In progress The issue is being worked on Type: Feature Issue is a new feature request and removed Type: Idea Idea that requires additional discussion labels Apr 8, 2024
@AlexSkrypnyk AlexSkrypnyk pinned this issue Apr 8, 2024
@AlexSkrypnyk AlexSkrypnyk unpinned this issue Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
State: In progress The issue is being worked on Type: Feature Issue is a new feature request
Projects
Status: To do for current release
Development

No branches or pull requests

1 participant