18050 Commits
Author SHA1 Message Date
Jonathan Chang 0f6bc6274f Merge pull request #7981 from gromgit/fix_shellenv
shellenv: Fix shell detection
2020-07-13 22:37:07 +10:00
Bo Anderson f51e280729 Merge pull request #7988 from SeekingMeaning/cask-installed
cask/installer: don't call `installed?` if Formula
2020-07-13 12:42:09 +01:00
Jonathan Chang 45ddf773ff Merge pull request #7989 from SeekingMeaning/bump-revision-license
dev-cmd/bump-revision: insert revision after license
2020-07-13 17:12:15 +10:00
Sean Molenaar 4f5e6d5638 Merge pull request #7966 from SMillerDev/cask/list_json
cask: add list --json
2020-07-13 07:24:06 +02:00
Seeker c052e59df3 dev-cmd/bump-revision: insert revision after license 2020-07-12 20:05:27 -07:00
Seeker b4f25b5911 cask/installer: don't call installed? if Formula 2020-07-12 17:14:10 -07:00
Rylan Polster 936f4bbff4 refactor share path node matcher 2020-07-12 16:06:50 -04:00
Rylan Polster d8fb850fa9 fix pkgshare missing slash issue 2020-07-12 14:20:50 -04:00
Rylan Polster 55246d720e improve style in pattern matcher 2020-07-12 14:20:05 -04:00
Rylan Polster 6119934efb style: refactor pkgshare cop 2020-07-12 12:12:36 -04:00
Rylan Polster 8c0c713d6b style: don't use build.with? for dependencies 2020-07-12 12:12:36 -04:00
Rylan Polster 074f79840c style: refactor prefix path check 2020-07-12 12:12:36 -04:00
Jonathan Chang bc4a108045 Merge pull request #7980 from dtrodrigues/versioned-head-msg
update audit error message for versioned formulae with head spec
2020-07-12 12:20:14 +10:00
Jonathan Chang 8aa0eca384 Merge pull request #7982 from dtrodrigues/throttle
refactor throttled update logic to improve efficiency
2020-07-12 12:09:51 +10:00
Jonathan Chang 0f0979d33b Merge pull request #7969 from rmNULL/patchelfrb-for-devs
enable HOMEBREW_PATCHELF_RB for brew developers by default
2020-07-12 12:02:58 +10:00
Issy Long 2536f0a09f Merge pull request #7946 from vidusheeamoli/utils-user-to-true
sorbet: set utils/user.rb to true
2020-07-11 17:55:44 +01:00
Issy Long 2a5c9ce16b Merge pull request #7962 from vidusheeamoli/utils-link-to-true
sorbet/utils: move files to true
2020-07-11 17:55:00 +01:00
Dustin Rodrigues 963605e682 refactor throttled update logic to improve efficiency 2020-07-11 12:05:47 -04:00
Adrian Ho c166667666 shellenv: Fix shell detection
It currently switches on `$SHELL`, which points to the user's login shell. However, `shellenv` may be used in contexts where the running shell isn't `$SHELL` (e.g. csh-based `cron` scripts), and Linux desktop environments may set up user sessions in ways that trip up the current algorithm (see #7965 for an example). To work correctly in all circumstances and environments, its output should be determined by the context (calling shell) instead.

Fixes #7965.
2020-07-11 22:28:27 +08:00
Dustin Rodrigues 0cd40ca18a update audit error message for versioned formulae with head spec 2020-07-11 10:13:48 -04:00
Jonathan Chang 9879df4ece Merge pull request #7940 from Bo98/languages
os/mac: silence AppleLanguages error, fallback to system prefs
2020-07-11 22:36:32 +10:00
Jonathan Chang bce52710da Merge pull request #7976 from fredemmott/sandybridge
Add support for -march=sandybridge
2020-07-11 22:22:56 +10:00
rmnull cf6eef098b enable HOMEBREW_PATCHELF_RB on (HOMEBREW_DEVELOPER=1 && HOMEBREW_NO_PATCHELF_RB.empty?) 2020-07-11 06:20:25 +05:30
Shaun Jackman 8175e404ea Merge pull request #7942 from sjackman/bottle_tag
Utils::Bottles::tag: ARM tag is arm64_big_sur
2020-07-10 16:32:50 -07:00
Rylan Polster e9932a601f Merge pull request #7909 from Rylan12/audit-rubocop-migration
Audit to RuboCop migration
2020-07-10 15:37:44 -04:00
vidusheeamoli 9799f32506 sorbet: set utils/user.rb to true 2020-07-11 01:04:22 +05:30
Rylan Polster 69e89d7a01 add TODOs for future refactoring 2020-07-10 15:08:20 -04:00
Sean Molenaar 832073a3c7 cask: add list --json 2020-07-10 21:05:12 +02:00
dependabot-preview[bot] a737f934e8 build(deps): bump codecov from 0.1.20 to 0.2.0 in /Library/Homebrew
Bumps [codecov](https://github.com/codecov/codecov-ruby) from 0.1.20 to 0.2.0.
- [Release notes](https://github.com/codecov/codecov-ruby/releases)
- [Changelog](https://github.com/codecov/codecov-ruby/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-ruby/compare/v0.1.20...v0.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-10 18:38:08 +00:00
Shaun Jackman 9a83e52ae4 HOMEBREW_PROCESSOR is arm64 on Apple Silicon
Utils::Bottles::tag: ARM tag is arm64_big_sur
2020-07-10 10:55:56 -07:00
Shaun Jackman e18027a1a8 Utils::Bottles::tag: ARM tag is arm_big_sur 2020-07-10 10:54:57 -07:00
Fred Emmott 10feb68128 Add support for -march=sandybridge
HHVM's been building with this (or equivalent predecessor patches); it
gets us a 20x speedup on real-world workloads, at the cost of slightly
worse compatibility.

This doesn't change the default, just makes it available as an explicit
choice.
2020-07-10 10:32:30 -07:00
Bo Anderson 28f4a700ac Merge pull request #7975 from Homebrew/dependabot/bundler/Library/Homebrew/codecov-0.1.20
build(deps): bump codecov from 0.1.19 to 0.1.20 in /Library/Homebrew
2020-07-10 18:20:19 +01:00
Shaun Jackman a2b47972a7 Merge pull request #7971 from sjackman/bottle-merge-cellar
bottle --merge: Fix bug with cellar :any
2020-07-10 10:14:59 -07:00
Bo Anderson ead8768ee0 Merge pull request #7964 from SeekingMeaning/xcodebuild-hotfix
sandbox: use Dir.home instead of HOME
2020-07-10 17:47:43 +01:00
Shaun Jackman e2db288340 bottle --merge: Fix bug with cellar :any
When merging cellar, :any ought to have higher priority than
:any_skip_relocation.
The variables first and second are strings, not tags.
2020-07-10 09:46:05 -07:00
dependabot-preview[bot] 47bf85de4b build(deps): bump codecov from 0.1.19 to 0.1.20 in /Library/Homebrew
Bumps [codecov](https://github.com/codecov/codecov-ruby) from 0.1.19 to 0.1.20.
- [Release notes](https://github.com/codecov/codecov-ruby/releases)
- [Changelog](https://github.com/codecov/codecov-ruby/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-ruby/compare/v0.1.19...v0.1.20)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-10 16:35:20 +00:00
Seeker f03aeb41c7 sandbox: use Dir.home instead of HOME 2020-07-10 08:31:10 -07:00
Rylan Polster a720d45bd0 cleanup audit file 2020-07-10 11:17:37 -04:00
Rylan Polster 9e52712b08 style: don't need require "formula" 2020-07-10 11:17:37 -04:00
Rylan Polster 1a703a1234 regex_match_group: handle non UTF-8 encoded strings 2020-07-10 11:17:37 -04:00
Rylan Polster e0b5c2093a style: refactor OptionDeclarations cop 2020-07-10 11:17:37 -04:00
Rylan Polster 1859162735 style: use pkgshare instead of share/foo 2020-07-10 11:17:37 -04:00
Rylan Polster 792533462a style: don't use prefix + directory 2020-07-10 11:17:37 -04:00
Rylan Polster b4a9565b8b style: require java dependency for JAVA_HOME 2020-07-10 11:17:37 -04:00
Rylan Polster 9ad342eba0 style: don't concatenate in string interpolation 2020-07-10 11:17:37 -04:00
Rylan Polster 63b81d847a style: env :userpaths is deprecated 2020-07-10 11:17:37 -04:00
Rylan Polster 1e943d7b6f style: env :std deprecated in homebrew-core 2020-07-10 11:17:37 -04:00
Rylan Polster bd8805b14f style: separate make commands 2020-07-10 11:17:37 -04:00
Mike McQuaid 4d302199a3 brew vendor-gems: commit updates. 2020-07-10 15:57:31 +01:00