-
-
Notifications
You must be signed in to change notification settings - Fork 238
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
Write copy of a patch to a project directory for code review #534
Comments
👋 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! |
This is already covered in the 2.0.0 beta. Patch checksums are stored in a patches lock file (separate from composer.lock because of limitations in composer 2). Please update to that beta release and let me know what you think! |
Closing for now, but let me know if you need something more than what 2.0.0-beta1 provides. |
Checksums are an improvement.
Hi |
Is there an existing issue, change record or PR to look at? |
Verification
composer self-update
)composer update cweagans/composer-patches
)(maybe different search terms would lead to a result - I can't say)
Is your feature request related to a problem?
For patches from root composer.json:
For patches from dependencies:
Describe your proposed solution(s)
Create a mechanism that does both:
git diff
.All steps of this mechanism have to be part of composer-install, because new versions of dependencies might bring new patches.
TBD: The developer might want to review the patch before it is applied. Not sure how this can be done if it all has to be part of composer-install.
Describe alternatives
The patch content and/or a checksum could be written into composer.lock.
The problem with checksum is that it would be very convenient for developers to ignore a change and to think it is all good.
Additional context
No response
The text was updated successfully, but these errors were encountered: