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

Set the appropriate pocket in the security entry in sources list file with Deb822 format #225

Merged
merged 3 commits into from
May 23, 2024

Conversation

upils
Copy link
Collaborator

@upils upils commented May 14, 2024

When using the deb822 format, we add an entry for the security pocket with a specific mirror. This entry now correctly the security pocket.

As a bonus, now a proper list of existing pockets is defined to make it easily usable and less error prone.

upils added 2 commits May 14, 2024 18:19
Signed-off-by: Paul Mars <paul.mars@canonical.com>
…list

Signed-off-by: Paul Mars <paul.mars@canonical.com>
@upils upils self-assigned this May 14, 2024
@upils upils requested a review from sil2100 May 14, 2024 16:30
@upils
Copy link
Collaborator Author

upils commented May 14, 2024

That is a simple fix but I may have missed a corner case. Let me know if we should be more clever when generating this entry for the security pocket.

Copy link

codecov bot commented May 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.27%. Comparing base (2202fe9) to head (5e3dab6).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #225   +/-   ##
=======================================
  Coverage   94.27%   94.27%           
=======================================
  Files          16       16           
  Lines        3284     3284           
=======================================
  Hits         3096     3096           
  Misses        120      120           
  Partials       68       68           
Flag Coverage Δ
unittests 94.27% <100.00%> (ø)

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.

sil2100
sil2100 previously approved these changes May 16, 2024
Copy link
Collaborator

@sil2100 sil2100 left a comment

Choose a reason for hiding this comment

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

No, this looks fine as is. Let's go ahead with it.

Signed-off-by: Paul Mars <paul.mars@canonical.com>
@upils upils merged commit b0790e1 into main May 23, 2024
8 of 10 checks passed
@upils upils deleted the fix-sources-list-lp-2065213 branch June 18, 2024 06:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants