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

Drop redundant attributes from generated data #239

Merged
merged 4 commits into from
Jan 27, 2022

Conversation

ekohl
Copy link
Member

@ekohl ekohl commented Jan 27, 2022

This drop packaging_platform where it matches platform. Beaker already returns the platform when packaging_platform isn't set. This means specifying if it matches is redundant.

It also omits the empty entries for pe_*.

ekohl added 4 commits January 27, 2022 14:17
Beaker already returns the platform when packaging_platform isn't set.
This means specifying if it matches is redundant.
This is not needed to specify and only increases the generated data.
@codecov
Copy link

codecov bot commented Jan 27, 2022

Codecov Report

Merging #239 (6a70899) into master (68e64f5) will increase coverage by 0.01%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master    #239      +/-   ##
=========================================
+ Coverage    0.51%   0.52%   +0.01%     
=========================================
  Files          14      14              
  Lines        2531    2461      -70     
=========================================
  Hits           13      13              
+ Misses       2518    2448      -70     
Impacted Files Coverage Δ
lib/beaker-hostgenerator/data.rb 0.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 68e64f5...6a70899. Read the comment docs.

Copy link
Member

@bastelfreak bastelfreak left a comment

Choose a reason for hiding this comment

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

Looks fine to me. Maybe @GabrielNagy wants to take a look at well

Copy link
Member

@GabrielNagy GabrielNagy left a comment

Choose a reason for hiding this comment

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

LGTM!

We changed the logic in our internal CI to fall back to platform if packaging_platform doesn't exist, so this should (hopefully) not have any negative effects.

@ekohl ekohl merged commit 0edd3d0 into voxpupuli:master Jan 27, 2022
@ekohl ekohl deleted the drop-redundant-packaging-platform branch January 27, 2022 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants