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
Provides a post download event #8655
Conversation
I think (hope) the use case for Drupal wanting to hash the zip downloads using its security mechanism makes sense. Linking in #5935, which proposed this some time ago, but didn't provide a strong use case. |
Sounds reasonable to me, the question is whether this should be more specific than just file, and include the package info etc.. PRE_FILE_DOWNLOAD is triggered in other places like ComposerRepository, but I think the POST_* case really only makes sense for the package downloaders. |
I looked all the places that did a PRE_FILE_DOWNLOAD and (to me) it only made sense in package downloading. We could always add it in more places later if we decide it is needed. |
Rebased PR so it now has no conflicts. Any chance on this still landing in 2.0? |
Needs a few more changes but yes no worries this will absolutely make it in 2.0. |
Working on addressing the latest feedback. |
100% agree. Co-Authored-By: Jordi Boggiano <j.boggiano@seld.be>
Feedback addressed. |
Thanks for the quick update. |
Start the conversation on resolving #8654