26286 Commits

Author SHA1 Message Date
hyuraku
a57b9e7bdf repair if style 2023-02-02 19:03:05 +09:00
hyuraku
4caee38388 mv extend/os update-report 2023-02-02 19:00:13 +09:00
hyuraku
6945cd7da4 - remove mac/cmd/update-report
- repair if condition
- repair require filename
2023-02-02 18:50:09 +09:00
hyuraku
653930bed8 mv files to os/*/cmd/ 2023-01-28 21:38:40 +09:00
hyuraku
2d864d70e0 apply extend/os to migrate_gcc_dependents_if_needed 2023-01-26 22:21:45 +09:00
Mike McQuaid
7e77b89e28
Merge pull request #14428 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-1.44.1
build(deps): bump rubocop from 1.44.0 to 1.44.1 in /Library/Homebrew
2023-01-26 12:07:53 +00:00
Mike McQuaid
9d30f9e582
Merge pull request #14427 from Homebrew/dependabot/bundler/Library/Homebrew/activesupport-6.1.7.2
build(deps): bump activesupport from 6.1.7.1 to 6.1.7.2 in /Library/Homebrew
2023-01-26 12:05:28 +00:00
Mike McQuaid
be67d6c9b5
Merge pull request #14436 from MikeMcQuaid/cask_stage_only_string
cask/artifact/stage_only: allow string argument.
2023-01-26 11:59:02 +00:00
Mike McQuaid
639c28631d
Merge pull request #14434 from MikeMcQuaid/install_from_api_autoupdate
cmd/update: tweak API update behaviour.
2023-01-26 11:43:04 +00:00
Mike McQuaid
7b4f025ca6
Merge pull request #14435 from MikeMcQuaid/install_from_api_head
install: better error when using API and --HEAD.
2023-01-26 11:40:40 +00:00
BrewTestBot
32f2f75c64
Update RBI files for rubocop.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2023-01-26 11:37:43 +00:00
BrewTestBot
1a2dad8ee0
Update RBI files for activesupport.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2023-01-26 11:35:20 +00:00
BrewTestBot
cb4402e835
brew vendor-gems: commit updates. 2023-01-26 11:31:17 +00:00
BrewTestBot
e6f4089d68
brew vendor-gems: commit updates. 2023-01-26 11:29:23 +00:00
dependabot[bot]
f8ae61b616
build(deps): bump activesupport in /Library/Homebrew
Bumps [activesupport](https://github.com/rails/rails) from 6.1.7.1 to 6.1.7.2.
- [Release notes](https://github.com/rails/rails/releases)
- [Changelog](https://github.com/rails/rails/blob/v7.0.4.2/activesupport/CHANGELOG.md)
- [Commits](https://github.com/rails/rails/compare/v6.1.7.1...v6.1.7.2)

---
updated-dependencies:
- dependency-name: activesupport
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-26 11:25:40 +00:00
dependabot[bot]
6f3ca9ccf1
build(deps): bump rubocop from 1.44.0 to 1.44.1 in /Library/Homebrew
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.44.0 to 1.44.1.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v1.44.0...v1.44.1)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-26 11:25:38 +00:00
Mike McQuaid
61d6f7c4ca
cask/artifact/stage_only: allow string argument.
This is what's passed from the JSON API.
2023-01-26 11:22:18 +00:00
Mike McQuaid
97def3c104
install: better error when using API and --HEAD.
- Tell people what to do to resolve this
- Tweak the instruction ordering to be consistent elsewhere
2023-01-26 11:08:56 +00:00
Mike McQuaid
91884e0837
cmd/update: tweak API update behaviour.
- Use `HOMEBREW_CASK_REPOSITORY` more consistently
- Skip auto-updating homebrew-core for `HOMEBREW_DEVELOPER` too (without
  explicit `brew update`)
- Also skip auto-updating homebrew-cask
2023-01-26 10:58:21 +00:00
Mike McQuaid
a7503ec713
Revert "Enable RSpec/LeakyConstantDeclaration" 2023-01-26 09:47:20 +00:00
Douglas Eichelberger
2b8b3a5cb6 Enable RSpec/NoExpectationExample 2023-01-25 14:37:39 -08:00
Mike McQuaid
e4c18be302
Merge pull request #14429 from dduugg/rm-rspec-wait
Refactor away rspec-wait
2023-01-25 19:21:16 +00:00
Douglas Eichelberger
f126f0d39b Refactor away rspec/wait 2023-01-25 10:07:42 -08:00
Mike McQuaid
71fab93983
Merge pull request #14414 from Homebrew/dependabot/bundler/Library/Homebrew/concurrent-ruby-1.2.0
build(deps): bump concurrent-ruby from 1.1.10 to 1.2.0 in /Library/Homebrew
2023-01-25 17:04:42 +00:00
Mike McQuaid
5caf17d0a7
Merge pull request #14426 from Homebrew/shared_gcc_try
extend/ENV/shared: use `try`.
2023-01-25 16:48:42 +00:00
Mike McQuaid
612c27cd2d
extend/ENV/shared: use try.
`version_suffix` exists (or doesn't) depending on the GCC formula being
available and not loaded from the API.
2023-01-25 16:07:23 +00:00
Mike McQuaid
d984ce06f2
Improve Codespaces behaviour
- ensure that homebrew/core is always tapped
- make RuboCop stop complaining about permissions
2023-01-25 16:05:02 +00:00
Mike McQuaid
b4510401bd
Merge pull request #14423 from MikeMcQuaid/cask_loader_api_gsubs
cask_loader: fixup artifacts/caveats from JSON API.
2023-01-25 15:41:56 +00:00
Mike McQuaid
ee4dc3c46e
Merge pull request #14422 from MikeMcQuaid/homebrew_install_from_api_improvements
HOMEBREW_INSTALL_FROM_API: various improvements.
2023-01-25 15:11:41 +00:00
Mike McQuaid
ab1fbb7fa9
cask_loader: fixup artifacts/caveats from JSON API.
These are mapped to generic versions in `cask/cask.rb` so we need to map
them back for them to be correct.
2023-01-25 15:07:44 +00:00
Mike McQuaid
46d727b475
HOMEBREW_INSTALL_FROM_API: various improvements.
- flip the messaging to refer to `HOMEBREW_NO_INSTALL_FROM_API` where relevant
- remove some duplicate checks
- better scope checks to just core tap formulae
2023-01-25 14:29:35 +00:00
Mike McQuaid
d5cf5f58b3
Merge pull request #14418 from dduugg/enable-LeakyConstantDeclaration
Enable RSpec/LeakyConstantDeclaration
2023-01-25 13:39:27 +00:00
Mike McQuaid
daecb93d22
Merge pull request #14416 from lucaong/avoid-mutating-script-argument
Avoid mutating the script argument in place
2023-01-25 13:26:00 +00:00
Mike McQuaid
41765e6512
Merge pull request #14411 from hyuraku/move_default_prefix_to-extend-os
separate default_prefix to `extend/os` files
2023-01-25 13:16:12 +00:00
hyuraku
42960c3e74 repair if condition 2023-01-25 17:23:44 +09:00
Douglas Eichelberger
71e8135864 Enable RSpec/LeakyConstantDeclaration 2023-01-24 20:07:22 -08:00
Luca Ongaro
490679da45 Improve test 2023-01-25 00:19:37 +01:00
Luca Ongaro
1fc1c82aed Fix code style and add tests 2023-01-25 00:08:15 +01:00
Luca Ongaro
f5765a73da Avoid mutating the script argument in place
Mutating the argument in place, and in particular deleting the
`:executable` entry, leads to a bug when the same code path leading to
read_script_arguments is invoked twice, like in
https://github.com/Homebrew/homebrew-cask/pull/139749

This commit makes a shallow copy of the argument, so that it can be
safely mutated in the rest of the method.
2023-01-24 23:34:47 +01:00
BrewTestBot
d52f3cd820
Update RBI files for concurrent-ruby.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2023-01-24 18:14:41 +00:00
BrewTestBot
4d822cb771
brew vendor-gems: commit updates. 2023-01-24 18:07:34 +00:00
dependabot[bot]
d09c079d58
build(deps): bump concurrent-ruby in /Library/Homebrew
Bumps [concurrent-ruby](https://github.com/ruby-concurrency/concurrent-ruby) from 1.1.10 to 1.2.0.
- [Release notes](https://github.com/ruby-concurrency/concurrent-ruby/releases)
- [Changelog](https://github.com/ruby-concurrency/concurrent-ruby/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ruby-concurrency/concurrent-ruby/compare/v1.1.10...v1.2.0)

---
updated-dependencies:
- dependency-name: concurrent-ruby
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-24 18:01:28 +00:00
BrewTestBot
6ee7b79b3d
Update RBI files for rubocop.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2023-01-24 15:09:13 +00:00
BrewTestBot
d490ca2af1
brew vendor-gems: commit updates. 2023-01-24 15:00:42 +00:00
dependabot[bot]
1f632ae19e
build(deps): bump rubocop from 1.43.0 to 1.44.0 in /Library/Homebrew
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.43.0 to 1.44.0.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v1.43.0...v1.44.0)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-24 14:55:07 +00:00
Bo Anderson
142734aec9
dev-cmd/vendor-gems: set SDKROOT for older macOS 2023-01-24 13:24:31 +00:00
hyuraku
8289089482 add remove_const to cancel warning 2023-01-24 21:57:39 +09:00
hyuraku
97bba59e73 add require extend/os 2023-01-24 21:45:18 +09:00
hyuraku
e2f0075ee8 move default_prefix to extend/os 2023-01-24 21:02:24 +09:00
Mike McQuaid
d636f5bc0a
Merge pull request #14408 from dduugg/rspec-disable
Inline RSpec/InstanceVariable todos
2023-01-24 10:41:18 +00:00