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

Tell Composer that this plugin modifies downloads #116

Merged
merged 1 commit into from
Jul 9, 2024

Conversation

phenaproxima
Copy link
Collaborator

See https://getcomposer.org/doc/articles/plugins.md#plugin-modifies-downloads.

I think we need this attribute for this plugin, even though we don't technically modify the download URLs -- but we do verify them, and therefore the behavior mentioned in the documentation (this plugin needs to be installed first) makes sense for us.

@phenaproxima phenaproxima requested a review from tedbow July 9, 2024 15:35
Copy link
Contributor

@tedbow tedbow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As long as there is manual testing that this actually affects create-project

@phenaproxima
Copy link
Collaborator Author

The CI workflow proves that the plugin and its dependencies are installed first, then immediately activated, during the create-project command: https://github.com/php-tuf/drupal-project/actions/runs/9862708854/job/27233899422?pr=4#step:4:1105

Is that good enough? I'm pretty sure manual testing at the console would produce the same result.

Copy link
Contributor

@tedbow tedbow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@phenaproxima phenaproxima merged commit 4afa9db into main Jul 9, 2024
9 checks passed
@phenaproxima phenaproxima deleted the modifies-downloads branch July 9, 2024 19:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants