-
-
Notifications
You must be signed in to change notification settings - Fork 247
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
Cache downloaded patches #35
Comments
This would be welcome. |
Would it be possible/desirable to inline the entirety of the patch into the composer.lock file itself? Then you would be able to run "composer update" on your local environment, and distribute your composer.lock file to other environments with more confidence of the patches integrity when It would bloat out the length of composer.lock, but does that actually have any practical downside? |
|
Haven't tested it yet, but great news. |
Right now, all patches are downloaded unconditionally every time they're applied. We should download them once and store them in the Composer cache. If we store the SHA-1 of the patch in
composer.lock
, and then save the patch as$sha1OfPatch.patch
in the cache dir, offline installs with patches are possible.Obviously, this wouldn't need to happen for local patches - only ones where we'd normally download them.
The text was updated successfully, but these errors were encountered: