-
Notifications
You must be signed in to change notification settings - Fork 6
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
Convert format-patches to plugins #94
Conversation
|
b147a19
to
b9145f8
Compare
Done ✔️ |
a6e1bc3
to
09dc31f
Compare
Signed-off-by: Vincenzo MEZZELA <[email protected]>
When implementing a new command, we might want to have "-" in the name, see for instance the "format-patches" command. Unfortunately, we cannot have the "-" in a python file name. Hence we need to replace the symbol in the plugin loading machinery with "_" and then be consistent with the plugin file naming: "format-patches" command will have its own plugin named "format_patches.py" in the plugins package. Signed-off-by: Vincenzo MEZZELA <[email protected]>
Signed-off-by: Vincenzo MEZZELA <[email protected]>
09dc31f
to
47101d8
Compare
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.
It works as expected. LGTM, thanks!
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.
Tested and works! Thanks a lot :)
PS: Not something to improve on this PR, but perhaps having a template for the cover-letter would save some time.
Hi, nothing special here. Just continuing the work of converting commands to the new plugin system.
I noticed that this command takes the argument
lp_filter
, but never uses it. Should we just drop the option here?While on it, do you have any other suggestion to improve this plugin?