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

Merged
merged 6 commits into from
Nov 4, 2024

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 8 times, most recently from c7cd04b to d5869e7 Compare October 25, 2024 17:34
@maximiliankolb maximiliankolb dismissed their stale review October 28, 2024 07:14

GHA is green

@maximiliankolb
Copy link
Contributor

Thank you Markus for fixing linting with Rubocop.

@sbernhard Does your ACK still stand?

@m-bucher m-bucher force-pushed the add_errata_json_statistics_tool branch from d5869e7 to 3db6948 Compare October 28, 2024 09:42
@m-bucher m-bucher force-pushed the add_errata_json_statistics_tool branch from 3db6948 to a3241d4 Compare November 4, 2024 15:27
@m-bucher m-bucher merged commit 4013ca2 into master Nov 4, 2024
3 checks passed
@m-bucher m-bucher deleted the add_errata_json_statistics_tool branch November 4, 2024 15:29
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