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

Add analyzer.rb to get some statistics on an errata JSON #14

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

m-bucher
Copy link
Member

Take those values with a grain of salt fro the following reasons:
Packages per Erratum counts all releases, so if an erratum fixes problems in multiple releases, this multiples the number of packages. E.g. DSA-5737-1 fixes libreoffice in bookworm and bullseye, which each have ~300 libreoffice packages => 626 packages in total.

$ bundle exec ruby analyzer.rb debian_errata.json 
Errata: 3349
Releases average per Erratum: 1.14
Packages:
  average per Erratum: 35.18
  max per Erratum: 626 (DSA-5737-1)
  min per Erratum: 1

Copy link
Contributor

@maximiliankolb maximiliankolb left a comment

Choose a reason for hiding this comment

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

@m-bucher Please have a look at the linting issues to fix GHA & make rubocop happy. Looks like all of them are correctable: See https://github.com/ATIX-AG/errata_parser/actions/runs/11408114015/job/31745604046?pr=14#step:7:43

@m-bucher m-bucher force-pushed the add_errata_json_statistics_tool branch 5 times, most recently from 8fbd358 to 22b96ed Compare October 24, 2024 19:09
@m-bucher m-bucher force-pushed the add_errata_json_statistics_tool branch from 22b96ed to 8235b52 Compare October 25, 2024 15:35
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.

3 participants