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

vfkit v0.6.0 (new formula) #207385

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

vyasgun
Copy link

@vyasgun vyasgun commented Feb 12, 2025

  • Have you followed the guidelines for contributing?
  • Have you ensured that your commits follow the commit style guide?
  • Have you checked that there aren't other open pull requests for the same formula update/change?
  • Have you built your formula locally with HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>, where <formula> is the name of the formula you're submitting?
  • Is your test running fine brew test <formula>, where <formula> is the name of the formula you're submitting?
  • Does your build pass brew audit --strict <formula> (after doing HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>)? If this is a new formula, does it pass brew audit --new <formula>?

@github-actions github-actions bot added go Go use is a significant feature of the PR or issue new formula PR adds a new formula to Homebrew/homebrew-core labels Feb 12, 2025
@vyasgun vyasgun marked this pull request as ready for review February 12, 2025 10:20
Copy link
Contributor

Thanks for contributing to Homebrew! 🎉 It looks like you're having trouble with a CI failure. See our contribution guide for help. You may be most interested in the section on dealing with CI failures. You can find the CI logs in the Checks tab of your pull request.

@github-actions github-actions bot added the autosquash Automatically squash pull request commits according to Homebrew style. label Feb 12, 2025
@github-actions github-actions bot removed the autosquash Automatically squash pull request commits according to Homebrew style. label Feb 12, 2025
@vyasgun vyasgun force-pushed the vfkit-0.6.0 branch 3 times, most recently from 65dd3ec to c512718 Compare February 12, 2025 13:43
@github-actions github-actions bot added the macos-only Formula depends on macOS label Feb 12, 2025
Formula/v/vfkit.rb Outdated Show resolved Hide resolved
Formula/v/vfkit.rb Outdated Show resolved Hide resolved
Comment on lines +20 to +22
# test version
version_output = shell_output("#{bin}/vfkit --version 2>&1").strip
assert_match(/vfkit version: v#{version}/, version_output)
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
# test version
version_output = shell_output("#{bin}/vfkit --version 2>&1").strip
assert_match(/vfkit version: v#{version}/, version_output)
version_output = shell_output("#{bin}/vfkit --version 2>&1")
assert_match("vfkit version: v#{version}", version_output)

Comment on lines +25 to +27
lines = shell_output("#{bin}/vfkit --kernel foo --initrd bar " \
"--kernel-cmdline baz 2>&1", 1).strip.split(/\r?\n|\r/)
assert_match(/foo: no such file or directory/, lines.last)
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
lines = shell_output("#{bin}/vfkit --kernel foo --initrd bar " \
"--kernel-cmdline baz 2>&1", 1).strip.split(/\r?\n|\r/)
assert_match(/foo: no such file or directory/, lines.last)
output = shell_output("#{bin}/vfkit --kernel foo --initrd bar " \
"--kernel-cmdline baz 2>&1", 1)
assert_match("foo: no such file or directory", output)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
go Go use is a significant feature of the PR or issue macos-only Formula depends on macOS new formula PR adds a new formula to Homebrew/homebrew-core
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants