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

Add an automated converter from compact to expanded patch definition format #582

Open
4 tasks done
cweagans opened this issue Jun 19, 2024 · 1 comment
Open
4 tasks done
Labels
enhancement New features, options, or other additions.

Comments

@cweagans
Copy link
Owner

Verification

  • I have updated Composer to the most recent stable release (composer self-update)
  • I have updated Composer Patches to the most recent stable release (composer update cweagans/composer-patches)
  • I am using one of the supported PHP versions (8.0+)
  • I have searched existing issues and discussions for my idea.

Is your feature request related to a problem?

Right now, if I want to switch from the compact format to expanded format for a given dependency (wherever those patches are defined), I have to do that conversion manually. That's tedious and annoying.

Describe your proposed solution(s)

I want a command like composer patches-expand drupal/core, which will edit my composer.json and/or patches.json, convert the compact definitions into expanded definitions, composer update --lock if necessary, then composer patches-relock, then composer patches-repatch.

Describe alternatives

No response

Additional context

No response

@cweagans cweagans added the enhancement New features, options, or other additions. label Jun 19, 2024
Copy link

👋 Thanks for the idea! Please remember that this is an open source project - feature requests may or may not be implemented, and if they are, the timeline is unknown. If you need a guaranteed implementation or timeline, sponsorships are welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New features, options, or other additions.
Projects
None yet
Development

No branches or pull requests

1 participant