Skip to content

Check all repositorites for package type #953

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

randomnoise
Copy link

When Ubuntu packages are updated because of security issues, it looks like their artifacts are published on both -updates and -security repositories. (i.e. libssh)

Currently, to mark a package as a Security update, only the first repo's name is checked (and it is usually the -updates repo), so the package is not marked as a security update.

If there are multiple repositories as origin for a package, this change loops all repos and not just the first one.


For some security packages, package.candidate.origins looks like this:

[<Origin component:'main' archive:'noble-updates' origin:'Ubuntu' label:'Ubuntu' site:'archive.ubuntu.com' isTrusted:True>,
 <Origin component:'main' archive:'noble-security' origin:'Ubuntu' label:'Ubuntu' site:'security.ubuntu.com' isTrusted:True>]

Fixes #952

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Some security updates don't use 'security update' icon
1 participant