-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Don't expand plugins that are already unpacked #1226
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
Don't expand plugins that are already unpacked #1226
Conversation
This is a 'master' counterpart for rabbitmq#1226
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like the patch and it works fine here too.
However, the behavior is changed (in a good way IMHO): now it reports when it fails to extract the zip archive or when there is no .app
file. Before, it would ignore those errors and skip the faulty plugins. Could you please note that in your commit message?
Looks good. Though I'm a bit concerned about using |
This prevents creating unnecessary files when running in embedded mode, and in development mode it keeps code path clean and compatible with different interactive tools. Also some new error conditions are properly handled and logged: - Failure to unpack an .ez-file - Missing .app file in plugin directory
9e78c09
to
ab66157
Compare
I've updated the commit message. |
This is a 'master' counterpart for rabbitmq#1226
We will postpone this until after 3.6.10 GA ships. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the updated commit message!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs a wording and naming update to be in sync with master (fb17eed)
I've cherry-picked fb17eed here. |
This prevents creating unnecessary files when running in embedded
mode, and in development mode it keeps code path clean and compatible
with different interactive tools.