-
Notifications
You must be signed in to change notification settings - Fork 5
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
setup & extract commands rework #23
Comments
About the We could maybe have only
I liked the |
I'll start by decoupling some functions from Config and Setup classes, so we can start using them in different classes as needed. |
The tests code was changed, now I'm planning to start decoupling everything from Config, so it would be much better to create the |
I think so, this would be great after we finally deal with the more annoying issues, like the multiple LPs support. |
Hi team!
The current version of klp-build is stable and reliable enough for us to start thinking of integrating it into our CI; hence automating certain parts of the livepatch creation cycle.
A most needed one is bugzilla integration, which would be a major improvement in our workflow. For every bug meant to be livepatched, klp-build would be run automatically against them and report whether we are affected or not. However, for this to work we need to slightly rework the
setup
commands.setup
In order to automate the step of "finding vulnerable codestreams" I believe we need to simplify this command. Currently, the
setup
does:Each of this phases are quite complex, thus requiring many cmdline arguments, which have to be passed in the
setup
.E.g:
A possible solution could be to separate each step into its own command:
scan
: Finding vulnerable codestreamsklp-build scan --name bsc1197597 --cve 2022-1048
update
: Download all/specified codestreamsklp-build update --filter "15.5u28"
extract
command.extract
If we decide to go this route, it might be a good time to also rename this command to something more appropriate.
Possible options are:
create
make
build
TL;DR Rework the commands so that they look something like this:
What do you think? Any better ideas?
Thanks
The text was updated successfully, but these errors were encountered: