20746 Commits

Author SHA1 Message Date
Rylan Polster
a8faeef64d
Merge pull request #10108 from Rylan12/add-depreacte-disable-date
formula: add deprecation_date and disable_date methods
2020-12-23 19:36:02 -05:00
Rylan Polster
cb8e9a695f
Merge pull request #10087 from Rylan12/migrate-shared-audit-exceptions
audit: migrate shared audits to taps
2020-12-23 16:36:42 -05:00
Issy Long
e041468375
Merge pull request #10100 from issyl0/use-rspec-github-gem
Replace `test/support/github_formatter` with `rspec-github` gem
2020-12-23 18:34:47 +00:00
Rylan Polster
5f10a8ea76 formula: add disable/deprecation dates and reasons to json output 2020-12-23 09:56:46 -05:00
Mike McQuaid
d6692d2883
Merge pull request #10097 from iMichka/bottle-write-test2
bottle --merge: add more write tests
2020-12-23 13:44:03 +00:00
FX Coudert
7d46fb8f79
Merge pull request #10106 from samford/strategy-handle-redirections-open-uri
Strategy: Manually handle redirections
2020-12-23 14:11:45 +01:00
Seeker
943ee39981
Merge pull request #10064 from SeekingMeaning/ast
utils: add AST helper functions for editing formulae
2020-12-23 02:38:22 -08:00
Michka Popoff
75491b7906 bottle --merge: add more write tests
In preparation for #9315
2020-12-23 10:34:16 +01:00
Mike McQuaid
379371ffa4
Merge pull request #10092 from jonchang/big-sur-processors
hardware: optimize Big Sur bottles for Ivy Bridge
2020-12-23 09:29:16 +00:00
Rylan Polster
2eb34b0b27 formula: add deprecation_date and disable_date methods 2020-12-23 02:58:14 -05:00
BrewTestBot
087e49bf31 Update RBI files for codecov. 2020-12-23 06:52:10 +00:00
BrewTestBot
87ec160ac4 brew vendor-gems: commit updates. 2020-12-23 06:51:22 +00:00
dependabot[bot]
550d47a8c5
build(deps): bump codecov from 0.2.12 to 0.2.15 in /Library/Homebrew
Bumps [codecov](https://github.com/codecov/codecov-ruby) from 0.2.12 to 0.2.15.
- [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.2.12...v0.2.15)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-23 06:21:59 +00:00
Seeker
4520c05957 bump-revision: use Utils::AST 2020-12-22 22:05:23 -08:00
Seeker
aaf7bc2bc5 utils: add AST helper functions for editing formulae 2020-12-22 22:05:23 -08:00
Sam Ford
12afb272bb
Strategy: Manually handle redirections 2020-12-23 00:35:27 -05:00
BrewTestBot
668f0475eb sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2020-12-23 01:50:04 +00:00
Issy Long
3c2467fc3d
Replace test/support/github_formatter with rspec-github gem
- This was a TODO in `test/support/github_formatter.rb` and the PR it
  referenced had been merged.
2020-12-22 18:03:01 +00:00
Markus Reiter
53ef74f674
Merge pull request #10068 from reitermarkus/bitbucket-strategy
Use more exact regex for `Bitbucket` strategy.
2020-12-22 18:21:11 +01:00
Rylan Polster
da29827a87 audit: cleanup shared audit exception handling 2020-12-22 10:51:29 -05:00
Michka Popoff
fc305cc9e0
Merge pull request #9490 from iMichka/bottle-write-test
bottle: add tests for writing part
2020-12-22 14:20:06 +01:00
Jonathan Chang
095798be40 hardware: optimize Big Sur bottles for Ivy Bridge 2020-12-23 00:00:01 +11:00
Michka Popoff
4afcae58c3 bottle: add test for writing part
In preparation for https://github.com/Homebrew/brew/issues/9315
2020-12-22 13:31:20 +01:00
Mike McQuaid
abb4038db0
install: switch Rosetta 2/Intel messaging order. 2020-12-22 11:28:45 +00:00
Mike McQuaid
b0d2a64b31
Merge pull request #10093 from MikeMcQuaid/rosetta2_install_error
install: clarify "on Intel" error if under Rosetta 2.
2020-12-22 11:24:14 +00:00
Seeker
d08da30ed3
Merge pull request #10089 from SeekingMeaning/test-indent
integration_test: fix indentation for test formulae
2020-12-22 01:42:41 -08:00
Mike McQuaid
fe8f3c4b13
install: clarify "on Intel" error if under Rosetta 2.
Inspired by https://github.com/Homebrew/brew/issues/10088
2020-12-22 08:41:49 +00:00
Mike McQuaid
2c4aea93cd
Merge pull request #10062 from SeekingMeaning/postinstall-env
formula: activate env extensions for postinstall
2020-12-22 08:24:25 +00:00
Mike McQuaid
b4303c23c3
Merge pull request #10072 from carlocab/big-sur-sdk-path
sdk: use unversioned SDK path on Big Sur
2020-12-22 08:10:23 +00:00
BrewTestBot
722a040c49 sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2020-12-22 01:43:06 +00:00
Seeker
cdb07d89ae integration_test: fix indentation for test formulae 2020-12-21 16:17:39 -08:00
Markus Reiter
9c1bdfe229
Merge pull request #10085 from reitermarkus/cask-download-basename
Fix basename for extracting cask downloads.
2020-12-21 22:30:14 +01:00
Rylan Polster
ec4fe89a94 audit: migrate shared audits to taps 2020-12-21 14:45:02 -05:00
Markus Reiter
8b17017108 Improve error message for missing PKG source. 2020-12-21 15:54:32 +01:00
Markus Reiter
82c1e6fb0e Fix basename for extracting cask downloads. 2020-12-21 15:43:25 +01:00
Rylan Polster
af6be13e7c test: don't try to use Xcode SDK for build requirement 2020-12-21 09:25:29 -05:00
carlocab
3f0ed01a2a
sdk: use unversioned SDK path on Big Sur
Fixes https://github.com/Homebrew/homebrew-core/issues/67075.

This implements @fxcoudert's suggestion in the issue linked above.
2020-12-21 11:45:45 +00:00
Mike McQuaid
1171a3b8fe
Remove language/haskell
The referenced file no longer exists.
2020-12-21 09:29:55 +00:00
Mike McQuaid
54c93096b1
Merge pull request #10065 from SeekingMeaning/cli-help-underline
cli: fix underlined multi-line help text
2020-12-21 08:21:22 +00:00
Sam Ford
1eff47766e
Merge pull request #10073 from samford/strategy-remove-response-caching
Strategy: Temporarily remove response caching
2020-12-21 01:32:52 -05:00
Sam Ford
466e55c6ab
Bitbucket: Format regex like other strategies 2020-12-20 18:13:51 -05:00
Sam Ford
2ddb71af77
Merge pull request #10054 from hyuraku/livecheck-raise-error
livecheck: raise error if no watchlist
2020-12-20 17:48:23 -05:00
Sam Ford
21b1888388
Bitbucket: Anchor start of regex with protocol 2020-12-20 16:00:08 -05:00
Rylan Polster
bade687f11 upgrade: fix style in help text 2020-12-20 13:45:33 -05:00
Sam Ford
ac459f8e76
Strategy: Temporarily remove response caching
The simple approach here caches all header or body content from
responses, so memory usage continually grows with each fetch. This
becomes more of a notable issue with long livecheck runs (e.g.,
`--tap homebrew/core`).

Instead, we should only cache the header/body for URLs that we know
will be fetched more than once in a given run. Being able to
determine which URLs will be fetched more than once requires
structural changes within livecheck strategies, so this will take a
bit of work to implement.

I've been working on this off and on and I'll introduce a more
sophisticated method of livecheck-wide caching in a later PR. In the
interim time, it's best to remove this caching behavior until I've
finished working on an approach that provides benefits (reducing
duplicate fetches) while minimizing detriments (increased memory
usage).
2020-12-20 12:42:51 -05:00
Markus Reiter
f47c1eae32
Merge pull request #10053 from miccal/shared-audits-update
shared_audits: add xit to GITHUB_PRERELEASE_ALLOWLIST
2020-12-20 09:19:29 +01:00
Sam Ford
99ea95c28d
Sparkle: Expand tests 2020-12-20 01:56:54 -05:00
Sam Ford
c6c303acfe
Sparkle: Rename contents to content 2020-12-20 00:23:22 -05:00
Sam Ford
732e67d5db
Expand livecheck/livecheck tests 2020-12-19 23:45:26 -05:00
Sam Ford
c7080ba812
Expand dev-cmd/livecheck tests 2020-12-19 23:02:42 -05:00