-
Notifications
You must be signed in to change notification settings - Fork 46
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
Migrate lifecycle commands #366
Conversation
tigarmo
commented
Oct 2, 2023
- Have you signed the CLA?
0a391aa
to
a3644f1
Compare
With the move to craft-application, the base instances got renamed from base-instance-rockcraft to base-instance-buildd, so update the regex.
a3644f1
to
14bc847
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.
This is a large changeset but the guided tour was very informative and the implementation seems consistent with no obvious issues. Just added a few nitpicking notes.
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.
if the nits are made to bits, then all good
This removes all commands in rockcraft.commands.lifecycle, in preference of the default commands from craft-application.
The unit tests are dropped too. Most of them test basic funcionality that is already test in craft-application, and the remaining rockcraft-specific features (like package repositories) are already tested in tests.unit.services.test_lifecycle.
This is a bit more involved because the previous tests were heavily tied to the previous code, so it's done as a separate commit. There is no change in functionality, just some cleaning-up and updating of the code.
3207a1f
to
3d0bf47
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.
This is very impressive work!