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

PE-37978: Add 'amazon' to #repo-filename method #1858

Conversation

span786
Copy link
Contributor

@span786 span786 commented Mar 22, 2024

Added 'amazon' support in #repo_filename method in lib/beaker/host/unix/file.rb.

@span786 span786 changed the title PE-37978: Add 'amazon' to #repo-filename mehtod in voxpupuli/beaker gem for master PE-37978: Add 'amazon' to #repo-filename method in voxpupuli/beaker gem for master Mar 22, 2024
Copy link

codecov bot commented Mar 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 74.53%. Comparing base (9e10133) to head (c8e03a2).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1858   +/-   ##
=======================================
  Coverage   74.53%   74.53%           
=======================================
  Files          81       81           
  Lines        4504     4504           
=======================================
  Hits         3357     3357           
  Misses       1147     1147           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@span786 span786 force-pushed the PE-37978-add-amazon-to-repo-filename-in-voxpupuli-beaker-gem-in-master branch from b8b92d6 to 057a7f2 Compare March 22, 2024 15:31
@bastelfreak
Copy link
Member

@span786 can you please rebase so we've a single commit in this PR?

Revert "[PE-37978]: Add 'amazon' to repo_filename method with tests"

This reverts commit 47f1238.

[PE-37978]: Add 'amazon' to repo_filename method with tests
@span786 span786 force-pushed the PE-37978-add-amazon-to-repo-filename-in-voxpupuli-beaker-gem-in-master branch from 057a7f2 to c8e03a2 Compare March 22, 2024 15:47
@span786
Copy link
Contributor Author

span786 commented Mar 22, 2024

Hi @bastelfreak, I have squashed the commits into 1.

@@ -133,6 +133,14 @@ def to_s
expect(filename).to be === correct
end

it 'builds the filename correctly for amazon-based platforms' do
@platform = 'amazon-2023-x86_64'

Choose a reason for hiding this comment

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

can this be made date independant?

Copy link
Member

Choose a reason for hiding this comment

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

No, the 2023 is the release version. Sort of like how Ubuntu has it.

@bastelfreak bastelfreak changed the title PE-37978: Add 'amazon' to #repo-filename method in voxpupuli/beaker gem for master PE-37978: Add 'amazon' to #repo-filename method Mar 22, 2024
@bastelfreak bastelfreak merged commit b0834e6 into voxpupuli:master Mar 22, 2024
8 checks passed
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.

None yet

4 participants