maxgio92 / krawler

A crawler for kernel releases distributed by the major Linux distributions.
https://krawler.dev
Mozilla Public License 2.0
13 stars 0 forks source link

Releases returned are not unique #46

Closed maxgio92 closed 1 year ago

maxgio92 commented 1 year ago

Describe the bug

As of now the uniqueness of the kernel release objects depends on all the fields of the KernelRelease structure. When specifying multiple mirrors, multiple kernel headers packages are returned, for the same kernel release.

The uniqueness should be at kernel release-level, not source package-level (i.e. the package URL can make krawler return redundant results).

How to reproduce it

Run krawler list ubuntu --config testdata/ubuntu.yaml.

Expected behaviour

A list of unique kernel releases be returned.

maxgio92 commented 1 year ago

Completed.