-
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 setup to plugins #95
Conversation
klpbuild/plugins/setup.py
Outdated
|
||
def setup(lp_name, lp_filter, no_check, archs, cve, conf, module, file_funcs, | ||
mod_file_funcs, conf_mod_file_funcs): | ||
# TODO: make sure archs is an array |
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.
Maybe add a newline before the TODO?
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.
Sure I can, but this is changed right in the next commit. Do you want me to change it anyway?
@vmezzela this works as expected. Would you like to remove the draft status? |
Sure! |
Signed-off-by: Vincenzo MEZZELA <[email protected]>
Signed-off-by: Vincenzo MEZZELA <[email protected]>
Drop the Setup class and convert this command to a plugin. Convert also all the affected tests. Signed-off-by: Vincenzo MEZZELA <[email protected]>
Signed-off-by: Vincenzo MEZZELA <[email protected]>
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.
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.
LGTM! The changes make sense :)
Hi, another command converted to the plugin system.
There's no functional change, just moving code around.
I also converted all related tests and carefully verified their correctness, as the process was error-prone. Let me know if you spot anything I might have missed!