Skip to content
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

many: move secboot.EncryptionType under gadget/device #14855

Merged

Conversation

ZeyadYasser
Copy link
Contributor

No description provided.

Signed-off-by: Zeyad Gouda <zeyad.gouda@canonical.com>
@github-actions github-actions bot added the Needs Documentation -auto- Label automatically added which indicates the change needs documentation label Dec 13, 2024
Copy link

codecov bot commented Dec 13, 2024

Codecov Report

Attention: Patch coverage is 93.75000% with 2 lines in your changes missing coverage. Please review.

Please upload report for BASE (fde-manager-features@4d6452a). Learn more about missing BASE report.

Files with missing lines Patch % Lines
gadget/device/encrypt.go 0.00% 2 Missing ⚠️
Additional details and impacted files
@@                   Coverage Diff                   @@
##             fde-manager-features   #14855   +/-   ##
=======================================================
  Coverage                        ?   78.84%           
=======================================================
  Files                           ?     1093           
  Lines                           ?   148188           
  Branches                        ?        0           
=======================================================
  Hits                            ?   116837           
  Misses                          ?    24056           
  Partials                        ?     7295           
Flag Coverage Δ
unittests 78.84% <93.75%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@miguelpires
Copy link
Contributor

@ZeyadYasser the code changes LGTM, can you just give me a bit of context on why we need to do this?

@ZeyadYasser
Copy link
Contributor Author

ZeyadYasser commented Dec 13, 2024

@ZeyadYasser the code changes LGTM, can you just give me a bit of context on why we need to do this?

This is a followup to #14845 (comment), to avoid importing secboot from the client (and therefore cmd/snap) package, it was previously defined as a string. This moving to gadget/device was done for a new field due to the same constraint, so cleanup for the existing EncryptionType field was suggested.

Copy link
Contributor

@miguelpires miguelpires left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

Copy link
Contributor

@bboozzoo bboozzoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

gadget/gadget.go Outdated Show resolved Hide resolved
gadget/gadgettest/gadgettest.go Outdated Show resolved Hide resolved
gadget/install/install.go Outdated Show resolved Hide resolved
gadget/install/install.go Outdated Show resolved Hide resolved
overlord/install/install.go Outdated Show resolved Hide resolved
Signed-off-by: Zeyad Gouda <zeyad.gouda@canonical.com>
@ZeyadYasser ZeyadYasser added the FDE Manager Pull requests that target FDE manager branch label Dec 17, 2024
@pedronis pedronis merged commit 9d06b3d into canonical:fde-manager-features Dec 20, 2024
44 of 58 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FDE Manager Pull requests that target FDE manager branch Needs Documentation -auto- Label automatically added which indicates the change needs documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants