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

r*: Fix Homebrew/NoFileutilsRmrf RuboCop offenses #179161

Merged
merged 9 commits into from
Aug 1, 2024
Merged

Conversation

issyl0
Copy link
Member

@issyl0 issyl0 commented Jul 31, 2024

  • 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>?

There's Rust in this batch. 🦀 😬

@issyl0 issyl0 added the CI-syntax-only Change only affects brew syntax, not the install. Only run syntax CI. label Jul 31, 2024
@github-actions github-actions bot added long build Set a long timeout for formula testing long dependent tests Set a long timeout for dependent testing labels Jul 31, 2024
@chenrui333 chenrui333 added this pull request to the merge queue Jul 31, 2024
@chenrui333 chenrui333 removed long build Set a long timeout for formula testing long dependent tests Set a long timeout for dependent testing labels Jul 31, 2024
@chenrui333 chenrui333 removed this pull request from the merge queue due to a manual request Jul 31, 2024
@chenrui333 chenrui333 marked this pull request as draft July 31, 2024 22:34
@chenrui333
Copy link
Member

There's Rust in this batch. 🦀 😬

let's maybe wait for #178436 to be merged first.

@chenrui333 chenrui333 marked this pull request as ready for review August 1, 2024 16:44
@chenrui333
Copy link
Member

rebased per rust PR merge

@github-actions github-actions bot added CI-build-dependents-from-source Pass --build-dependents-from-source to brew test-bot. long build Set a long timeout for formula testing long dependent tests Set a long timeout for dependent testing labels Aug 1, 2024
@chenrui333 chenrui333 removed CI-build-dependents-from-source Pass --build-dependents-from-source to brew test-bot. long build Set a long timeout for formula testing long dependent tests Set a long timeout for dependent testing labels Aug 1, 2024
@BrewTestBot BrewTestBot added this pull request to the merge queue Aug 1, 2024
Merged via the queue into master with commit d436432 Aug 1, 2024
23 checks passed
@BrewTestBot BrewTestBot deleted the r-rubocop-no-rmrf branch August 1, 2024 16:53
#{rubygems_bindir}/bundle
#{rubygems_bindir}/bundler
]
rm_rf Dir[HOMEBREW_PREFIX/"lib/ruby/gems/#{api_version}/gems/bundler-*"]
Copy link
Member

Choose a reason for hiding this comment

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

calling brew install ruby now fails for me in this postinstall step if these files don't exist in rubygems_bindir. I think the -f to rm was allowing the operation to succeed even if the files don't exist, and now they can fail

Copy link
Member

Choose a reason for hiding this comment

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

fix in #179332

@scpeters scpeters mentioned this pull request Aug 1, 2024
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI-syntax-only Change only affects brew syntax, not the install. Only run syntax CI.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants