27829 Commits

Author SHA1 Message Date
Nanda H Krishna
d84f98b28c
Merge pull request #11477 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-1.16.0
build(deps): bump rubocop from 1.15.0 to 1.16.0 in /Library/Homebrew
2021-06-02 15:30:27 +05:30
Rylan Polster
27e27fa603
Merge pull request #11476 from Rylan12/fix-bottle-rebuild
bottle: calculate rebuild correctly when removing `bottle :unneeded`
2021-06-02 03:44:11 -04:00
Nanda H Krishna
47a549e944
Fix style using brew style --fix 2021-06-02 11:43:16 +05:30
BrewTestBot
92baa2e84a
Update RBI files for rubocop. 2021-06-02 05:30:06 +00:00
BrewTestBot
c926c43a8f
brew vendor-gems: commit updates. 2021-06-02 05:29:08 +00:00
dependabot[bot]
85d7ba7292
build(deps): bump rubocop from 1.15.0 to 1.16.0 in /Library/Homebrew
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.15.0 to 1.16.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.15.0...v1.16.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-02 05:23:28 +00:00
Michael Cho
9e29c6eac2
utils/tar: fix validation for tar without directory or extensions 2021-06-01 12:53:25 -07:00
Adrian Ho
1cf8b43966 Unrefactor broken tap
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2021-06-02 00:11:18 +08:00
Rylan Polster
023063d6a2
bottle: calculate rebuild correctly when removing bottle :unneeded 2021-06-01 11:39:07 -04:00
Adrian Ho
c7bbb904e8 diagnostic: add check for broken taps
Detect half-baked core taps that show up on a fairly regular basis (e.g. #11465).

The logic is simple enough: Since an improper tap wouldn't have a complete Git config, and is always somewhere below `HOMEBREW_REPOSITORY`, any Git operation would look at the Brew repo instead. We simply need to test for any of:

1. Empty tap origin
2. Empty tap HEAD
3. Tap HEAD == Brew HEAD
2021-06-01 23:16:45 +08:00
Rylan Polster
b8479ade2b
Merge pull request #11475 from Rylan12/fix-eligible_kegs_for_cleanup
formula: reject only the latest head keg when cleaning up
2021-06-01 11:12:52 -04:00
Mike McQuaid
be7d890970
Merge pull request #11471 from Bo98/ghp-tab-fix
software_spec: fix wrong tab being fetched when bottle isn't unique
2021-06-01 13:59:06 +01:00
Rylan Polster
56f723339d
formula: reject only the latest head keg when cleaning up 2021-06-01 03:25:26 -04:00
Sam Ford
f9dd12ef5c
Merge pull request #11457 from nandahkrishna/livecheck-gnome-update
livecheck/strategy/gnome: handle new GNOME versioning
2021-05-31 20:22:06 -04:00
Carlo Cabrera
ed922bfffa
Merge pull request #11467 from chandlerc/restore-cmake-flags
Stop overriding CMake's release compile flags.
2021-06-01 01:15:29 +01:00
Rylan Polster
f7b1ccfcf6
Merge pull request #11454 from Rylan12/fix-uses-caching
dependency: don't merge formula and cask cache in `::expand`
2021-05-31 17:26:16 -04:00
danielnachun
bd88f3d857 super: fix GCC issues 2021-05-31 11:17:00 -07:00
Bo Anderson
1fc39d2d0d
os/mac/keg_relocate: add fallback to default Perl version when using tab
While this should never be necessary for per-OS bottles, this could be useful for :all bottles where the OS it was built on uses a Perl version that doesn't exist on all macOS versions.
2021-05-31 16:31:26 +01:00
Bo Anderson
9380729dbf
software_spec: fix wrong tab being fetched when bottle isn't unique 2021-05-31 16:20:10 +01:00
Bo Anderson
984226d5b5
dev-cmd/unbottled: fix arch requirement handling 2021-05-31 15:24:20 +01:00
Nanda H Krishna
b920949693
Improve Gnome strategy explanatory comment
Co-authored-by: Sam Ford <1584702+samford@users.noreply.github.com>
2021-05-31 19:47:08 +05:30
Mike McQuaid
5115cc25fa
Merge pull request #11460 from danielnachun/allow_keg_only
components_order: allow keg_only in on_macos/on_linux blocks
2021-05-31 12:39:03 +01:00
Michka Popoff
cf8794e3ba
Merge pull request #11466 from danielnachun/add_libatomic
linkage_checker: add libatomic
2021-05-31 13:38:46 +02:00
Mike McQuaid
8171fd6b1b
Merge pull request #11447 from scpeters/lowercase_formula_names
audit: complain about uppercase formula names
2021-05-31 12:30:42 +01:00
Nanda H Krishna
471ce1541d
Modify Gnome strategy and update comments
Co-authored-by: Sam Ford <1584702+samford@users.noreply.github.com>
2021-05-31 16:07:56 +05:30
Nanda H Krishna
b6cfafef4d
Merge pull request #11463 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-ast-1.7.0
build(deps): bump rubocop-ast from 1.6.0 to 1.7.0 in /Library/Homebrew
2021-05-31 13:28:26 +05:30
danielnachun
dc8568f541 linkage_checker: add libatomic 2021-05-31 00:40:19 -07:00
Rylan Polster
94a117e667
Merge pull request #11462 from Homebrew/dependabot/bundler/docs/github-pages-215
build(deps-dev): bump github-pages from 214 to 215 in /docs
2021-05-31 03:02:37 -04:00
Rylan Polster
70d020b6b3
requirement: don't merge formula and cask cache in ::expand 2021-05-31 02:46:45 -04:00
BrewTestBot
7d8723d885
Update RBI files for rubocop-ast. 2021-05-31 06:16:04 +00:00
BrewTestBot
b8391f9481
brew vendor-gems: commit updates. 2021-05-31 06:14:58 +00:00
dependabot[bot]
b258f90aee
build(deps): bump rubocop-ast from 1.6.0 to 1.7.0 in /Library/Homebrew
Bumps [rubocop-ast](https://github.com/rubocop-hq/rubocop-ast) from 1.6.0 to 1.7.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.6.0...v1.7.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-31 06:11:48 +00:00
dependabot[bot]
1b652d0188
build(deps-dev): bump github-pages from 214 to 215 in /docs
Bumps [github-pages](https://github.com/github/pages-gem) from 214 to 215.
- [Release notes](https://github.com/github/pages-gem/releases)
- [Commits](https://github.com/github/pages-gem/compare/v214...v215)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-31 05:23:44 +00:00
danielnachun
5af7521ab8
components_order: allow keg_only in on_macos/on_linux blocks 2021-05-30 19:03:04 -07:00
Nanda H Krishna
e5cfc0f37b
livecheck/strategy/gnome: handle new GNOME versioning 2021-05-30 22:23:07 +05:30
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
Rylan Polster
eeef3f4fe7
Merge pull request #11438 from cnnrmnn/no-uninstall-stable
Don't uninstall `stable` keg with `--HEAD`
2021-05-29 16:58:05 -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