23950 Commits

Author SHA1 Message Date
Rylan Polster
990d5f048f
Merge pull request #11436 from hyuraku/add_cask-tap_to_check_git_status
add cask tap to Diagnostic::Checks#check_git_status
2021-05-30 10:45:37 -04:00
hyuraku
40b39151f9 rename the variable 2021-05-30 16:26:58 +09:00
Chandler Carruth
578fe41657
Stop overriding CMake's release compile flags.
These flags include basic compiler optimization flags without which software can get built completely unoptimized.

While the shims appear to add their own optimization flag on macOS (at least, based on my ARM testing), they do not in the default Linux build which results in CMake packages like LLVM being built without optimizations. This both results in a very large bottle and exceedingly bad performance.

This seems like the best fix to me, as the shims already seem to have the necessary logic to *re-map* optimization flag levels to what Homebrew prefers for platforms like macOS, and so leaving CMake alone to just do its thing seems like the cleanest solution. But I'm open to other suggested fixes if needed.

I will note that without this, LLVM and any other CMake-built software on Linux is ... mostly unusable for me.
2021-05-29 22:12:50 -07:00
Rylan Polster
cbb788bd17
dependency: don't merge formula and cask cache in ::expand 2021-05-29 18:08:42 -04:00
Connor Mann
ab822ced36
Update comment 2021-05-29 13:16:27 -04:00
Connor Mann
0da4c4e3ce
Update tests 2021-05-29 13:16:27 -04:00
Connor Mann
e4ffad629c
Don't uninstall latest non-head with --HEAD 2021-05-29 13:16:27 -04:00
Connor Mann
2cf236630b
Revert "Don't uninstall older versions with --HEAD"
This reverts commit b9b78478dbaf32605623563604b6fde8a8f3eeec.
2021-05-29 13:16:27 -04:00
Connor Mann
16e725291d
Don't uninstall older versions with --HEAD 2021-05-29 13:15:33 -04:00
Steve Peters
9b9d25d27f
audit: complain about uppercase formula names
Check for uppercase formula names in audit_formula_name method
of formula_auditor.
2021-05-27 17:55:28 -07:00
Steve Peters
ca6fc4873e
audit_spec: expect error for uppercase formula
Our docs state that formula filenames must not have uppercase letters.
This adds a test to expect that FormulaAuditor's audit_formula_name
method complains about such a formula.
2021-05-27 17:45:24 -07:00
Bo Anderson
7ae9cc3467
Merge pull request #11440 from scpeters/extract_downcased_version
extract: use downcased version in filename
2021-05-27 15:07:56 +01:00
hyuraku
bfa9938e3f repair and add cask taps 2021-05-27 21:43:08 +09:00
Nanda H Krishna
ae8a9368b9
Merge pull request #11446 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-ast-1.6.0
build(deps): bump rubocop-ast from 1.5.0 to 1.6.0 in /Library/Homebrew
2021-05-27 11:48:46 +05:30
BrewTestBot
d2b74b3e21
Update RBI files for rubocop-ast. 2021-05-27 05:53:56 +00:00
BrewTestBot
e8e27c2093
brew vendor-gems: commit updates. 2021-05-27 05:53:00 +00:00
BrewTestBot
3e70d7becc
Update RBI files for nokogiri. 2021-05-27 05:47:03 +00:00
BrewTestBot
67ac146a1e
brew vendor-gems: commit updates. 2021-05-27 05:46:14 +00:00
dependabot[bot]
43daeb4be5
build(deps): bump rubocop-ast from 1.5.0 to 1.6.0 in /Library/Homebrew
Bumps [rubocop-ast](https://github.com/rubocop-hq/rubocop-ast) from 1.5.0 to 1.6.0.
- [Release notes](https://github.com/rubocop-hq/rubocop-ast/releases)
- [Changelog](https://github.com/rubocop/rubocop-ast/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop-ast/compare/v1.5.0...v1.6.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-27 05:44:41 +00:00
dependabot[bot]
f1676c513b
build(deps): bump nokogiri from 1.11.5 to 1.11.6 in /Library/Homebrew
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.11.5 to 1.11.6.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.11.5...v1.11.6)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-27 05:43:58 +00:00
Rylan Polster
d0f5a0832e
Merge pull request #11397 from cnnrmnn/add-link-head
Add `brew link --HEAD`
2021-05-26 11:46:58 -04:00
Sean Molenaar
926411f1bb
Merge pull request #11427 from SMillerDev/fix/service/variables_to_s
service: ensure environment variables are strings
2021-05-26 16:49:29 +02:00
Steve Peters
2655014951
extract: use downcased version in filename
Formula filenames are required to be lowercase, so the
extract command should downcase version before
using it to construct the filename. I noticed this while
extracting tbb@2020, which has version 2020_U3
and resulted in tbb@2020_U3.rb
2021-05-25 23:20:15 -07:00
BrewTestBot
bf64de2ad6
Update RBI files for tapioca. 2021-05-26 05:25:16 +00:00
BrewTestBot
07725fd657
brew vendor-gems: commit updates. 2021-05-26 05:23:33 +00:00
dependabot[bot]
24b24e1a1c
build(deps): bump tapioca from 0.4.22 to 0.4.23 in /Library/Homebrew
Bumps [tapioca](https://github.com/Shopify/tapioca) from 0.4.22 to 0.4.23.
- [Release notes](https://github.com/Shopify/tapioca/releases)
- [Commits](https://github.com/Shopify/tapioca/compare/v0.4.22...v0.4.23)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-26 05:19:20 +00:00
Sean Molenaar
3ce5737425
service: ensure environment variables are strings 2021-05-25 20:52:51 +02:00
Sean Molenaar
4f013526cf
service: simplify Environment= creation
Co-authored-by: Bo Anderson <mail@boanderson.me>
2021-05-25 11:49:22 +02:00
Sean Molenaar
ef9c49c5b2
service: ensure environment variables are prefixed in command 2021-05-25 11:47:44 +02:00
Sean Molenaar
1bdfacddc0
Merge pull request #11430 from SMillerDev/feature/service/additional_options
Service: add additional options
2021-05-25 09:29:19 +02:00
Connor Mann
074b2d65e4 Clean up and fix typecheck issue 2021-05-24 21:06:09 -04:00
Connor Mann
ef4c401687 Change kegs map to array 2021-05-24 12:29:32 -04:00
hyuraku
a0799bfbf9 add cask tap to Diagnostic::Checks#check_git_status 2021-05-24 23:30:46 +09:00
Connor Mann
d50b32313f Fix to_kegs test 2021-05-24 09:17:52 -04:00
Connor Mann
0a1614286d Fix style 2021-05-24 08:44:36 -04:00
Sean Molenaar
e29b2caee0
service: define paths as expecting Pathname or string
Co-authored-by: Rylan Polster <rslpolster@gmail.com>
2021-05-24 14:20:46 +02:00
Connor Mann
b81a522230 Add tests for to_latest_kegs 2021-05-23 16:09:35 -04:00
Carlo Cabrera
ada399c7db
Fix perl shebang rewriting for perl formula
See

    https://github.com/Homebrew/homebrew-core/issues/77797
    https://github.com/Homebrew/brew/issues/11275#issuecomment-846522409
2021-05-23 11:05:17 +01:00
Sean Molenaar
fceaa2bb74
Service: add additional options 2021-05-22 18:17:36 +02:00
Nanda H Krishna
ba17e2b8c1
dev-cmd/update-maintainers: fix require
Use require "dev-cmd/generate-man-completions" instead of require "dev-cmd/man".
2021-05-22 05:57:19 +05:30
Connor Mann
73ef297dd5
Update Library/Homebrew/cli/named_args.rb
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2021-05-21 11:55:30 -04:00
Connor Mann
3b0243900f
Update Library/Homebrew/cli/named_args.rb
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2021-05-21 11:55:11 -04:00
Connor Mann
c18c931224 Fix tests 2021-05-21 11:52:17 -04:00
Nanda H Krishna
c278da14ce
Merge pull request #11420 from nandahkrishna/livecheck-bundler-gems
livecheck/strategy/sparkle: install bundler gems
2021-05-21 20:26:32 +05:30
Carlo Cabrera
9135917f32
Merge pull request #11408 from carlocab/s/reason/requirement
formula: tweak preset `pour_bottle?` symbols
2021-05-21 15:54:31 +01:00
Connor Mann
074facebd5 Start catching all nil kegs 2021-05-21 10:27:31 -04:00
Connor Mann
e977f3514d Warn if no HEAD keg installed w/ --HEAD 2021-05-21 09:33:29 -04:00
BrewTestBot
f684f504fa
spdx: update license data.
Autogenerated by [a scheduled GitHub Action](https://github.com/Homebrew/brew/blob/master/.github/workflows/spdx.yml).
2021-05-21 00:07:42 +00:00
Connor Mann
6f005caf07 Rename memoized variable 2021-05-20 15:10:20 -04:00
Connor Mann
b72f5ef353 Change brew link to use to_latest_kegs 2021-05-20 12:58:44 -04:00