Commit Graph
25039 Commits
Author SHA1 Message Date
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 6994633581 Merge pull request #10048 from Rylan12/fix-test-sdk-detection
test: don't try to use Xcode SDK for build requirement
2020-12-21 10:17:12 -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
Mike McQuaid 993bf95877 Merge pull request #10084 from MikeMcQuaid/remove-language-haskell
Remove language/haskell
2.7.0
2020-12-21 09:44:04 +00:00
Mike McQuaid 1171a3b8fe Remove language/haskell
The referenced file no longer exists.
2020-12-21 09:29:55 +00:00
Mike McQuaid 880eb2d350 Merge pull request #10081 from Homebrew/dependabot/bundler/docs/rake-13.0.3
build(deps-dev): bump rake from 13.0.1 to 13.0.3 in /docs
2020-12-21 08:23:08 +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
Mike McQuaid 87778cf27f Merge pull request #10080 from Homebrew/dependabot/bundler/docs/html-proofer-3.18.2
build(deps-dev): bump html-proofer from 3.18.0 to 3.18.2 in /docs
2020-12-21 08:20:57 +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
dependabot[bot] 1ed276b786 build(deps-dev): bump rake from 13.0.1 to 13.0.3 in /docs
Bumps [rake](https://github.com/ruby/rake) from 13.0.1 to 13.0.3.
- [Release notes](https://github.com/ruby/rake/releases)
- [Changelog](https://github.com/ruby/rake/blob/master/History.rdoc)
- [Commits](https://github.com/ruby/rake/compare/v13.0.1...v13.0.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-21 05:52:03 +00:00
dependabot[bot] 24db424aa0 build(deps-dev): bump html-proofer from 3.18.0 to 3.18.2 in /docs
Bumps [html-proofer](https://github.com/gjtorikian/html-proofer) from 3.18.0 to 3.18.2.
- [Release notes](https://github.com/gjtorikian/html-proofer/releases)
- [Commits](https://github.com/gjtorikian/html-proofer/compare/v3.18.0...v3.18.2)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-21 05:51:48 +00: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
Rylan Polster 194ff38431 Merge pull request #10074 from Rylan12/fix-typo-upgrade
upgrade: fix style in help text
2020-12-20 14:42:59 -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 29e310c3f8 Merge pull request #9529 from reitermarkus/livecheck-cask-strategies
Add more livecheck strategies for casks.
2020-12-20 02:47:43 -05: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
hyuraku ffc5c3206e repair message 2020-12-19 22:59:27 -05:00
hyuraku 9f7e471382 livecheck: raise error if no watchlist 2020-12-19 22:59:26 -05:00
Sam Ford e604cf742b dev-cmd/livecheck: use safe navigation on #sort_by 2020-12-19 22:59:26 -05:00
Sam Ford 3261bbc0bd Reorganize livecheck/livecheck test variables 2020-12-19 22:26:37 -05:00
Markus Reiter 91ee5e0a65 Simplify assignment of curl result. 2020-12-20 02:23:30 +01:00
Sam Ford f299d3ea6e Strategy#page_headers: Disable debug in curl 2020-12-19 19:34:28 -05:00
Sam Ford 3933b866b6 Sparkle: Align with PageMatch
This inlines the `PRIORITY` and `#match?` logic from `PageMatch`
into `Sparkle` instead of subclassing `PageMatch`. `Sparkle` doesn't
really make sense as a subclass of `PageMatch` (since it functions
in a completely different manner), so it's better to simply copy
over these parts of `PageMatch`. This also helps to separate the
strategies, so any changes to `PRIORITY` or `#match?` in `PageMatch`
won't affect `Sparkle`.
2020-12-19 19:34:28 -05:00
Sam Ford cc5cd4bf59 HeaderMatch: Align with PageMatch 2020-12-19 19:34:28 -05:00
Markus Reiter edf6a11be6 Simplify creation of merged_headers. 2020-12-19 19:34:27 -05:00
Markus Reiter 921485c672 Don't print backtrace for “Unable to get versions” error. 2020-12-19 19:34:27 -05:00
Sam Ford f93ecd7d55 Satisfy brew typecheck and style 2020-12-19 19:34:27 -05:00
Sam Ford 8ea9ec8176 HeaderMatch: Align NICE_NAME with PageMatch 2020-12-19 19:34:27 -05:00
Sam Ford 57995f936f Sparkle: Remove unnecessary NICE_NAME 2020-12-19 19:34:27 -05:00
Sam Ford 6bcb0fd4b8 HeaderMatch: Add test 2020-12-19 19:34:26 -05:00
Sam Ford 740d5d3bcd Sparkle: Add test 2020-12-19 19:34:26 -05:00
Sam Ford 9fdc902630 Sparkle: Reorganize methods, etc. 2020-12-19 19:34:26 -05:00
Sam Ford 0148ee870e Livecheck: Use alphabetical order in symbols array 2020-12-19 19:34:26 -05:00
Sam Ford 8b40d959bf HeaderMatch: Fix content-disposition regex logic 2020-12-19 19:34:26 -05:00
Sam Ford 7f40198506 Make Strategy#page_headers more general purpose 2020-12-19 19:34:26 -05:00
Sam Ford 1bd2be5e04 Rename page_contents to page_content 2020-12-19 19:34:25 -05:00
Sam Ford a55686a0e2 Enforce strategy url requirement in latest_version 2020-12-19 19:34:25 -05:00
Sam Ford f5774c1af4 Sparkle: Use demodulized class name in error text 2020-12-19 19:34:25 -05:00
Markus Reiter 0d7c8c8c61 Revert priority for Git strategy. 2020-12-19 19:34:25 -05:00
Markus Reiter 0fd0b1dad0 Actually cache headers. 2020-12-19 19:34:25 -05:00
Markus Reiter b8de4e8b21 Simplify strategies. 2020-12-19 19:34:24 -05:00
Markus Reiter c306577575 Skip Sparkle strategy only if URL is not specified explicitly. 2020-12-19 19:34:24 -05:00