20507 Commits
Author SHA1 Message Date
Mike McQuaid 1a52862e6d Merge pull request #9424 from EricFromCanada/flag-replacement
pr-pull: prepare replacement for --workflow flag
2020-12-14 12:44:26 +00:00
Mike McQuaid 77561fccc2 Merge pull request #9501 from rgant/double-shallow-clone-check
Check for both shallow clones at the same time.
2020-12-14 12:31:20 +00:00
Mike McQuaid 03cdf5c28a Merge pull request #9512 from MikeMcQuaid/unbottled_error
Fix unbottled dependency handling
2020-12-14 12:17:37 +00:00
BrewTestBot 87b914387f Update RBI files for sorbet. 2020-12-14 08:21:41 +00:00
BrewTestBot 625fae636d brew vendor-gems: commit updates. 2020-12-14 08:20:55 +00:00
dependabot[bot] 38952aef21 build(deps): bump sorbet from 0.5.6141 to 0.5.6154 in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.6141 to 0.5.6154.
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-14 07:32:05 +00:00
Markus Reiter 3e63acad67 Mention type checking documentation when brew typecheck fails. 2020-12-13 03:46:35 +01:00
Sam Ford 15a868c5e6 dev-cmd/livecheck: respect --cask and --formula
When running `brew livecheck --cask` or `brew livecheck --formula`,
livecheck wasn't properly respecting these flags. It should have
worked by only including the casks or formulae in the watchlist but
instead these flags were treating all the names in the watchlist as
formulae or casks, which doesn't work properly.

This addresses the issue by always using `#to_formulae_and_casks`
on the watchlist names and then using `#reject` to conditionally
exclude formulae or casks based on whether the related flags were
passed to `brew livecheck`.
2020-12-12 17:43:26 -05:00
Sam Ford 9d08f09714 livecheck: assume type of formula_or_cask less 2020-12-12 17:43:26 -05:00
Sam Ford 704ec8abf0 livecheck: reinstate previous order of hashes 2020-12-12 17:43:26 -05:00
Sam Ford c1e5eec826 livecheck: reinstate head_only? condition order 2020-12-12 17:43:26 -05:00
Sam Ford d316b7c802 livecheck: rename variables for clarity 2020-12-12 17:43:25 -05:00
Sam Ford 7b14f7446d dev-cmd/livecheck: format usage_banner 2020-12-12 17:43:25 -05:00
Sam Ford ad544e465d Add livecheck group to cask stanza order 2020-12-12 17:43:25 -05:00
Markus Reiter 3bde9d34a9 Remove version from Livecheck. 2020-12-12 17:43:25 -05:00
Markus Reiter fa64a17ae9 Remove superfluous branch. 2020-12-12 17:43:24 -05:00
Markus Reiter f35829dd37 Load formulae/casks from tap files. 2020-12-12 17:43:24 -05:00
Markus Reiter 00e219caf9 Fix type error. 2020-12-12 17:43:24 -05:00
Markus Reiter af56a99a37 Use symbol for respond_to?. 2020-12-12 17:43:24 -05:00
Markus Reiter fb3a1a408c Fix method call on nil. 2020-12-12 17:43:24 -05:00
Markus Reiter 3b366d05b9 Fix code style. 2020-12-12 17:43:23 -05:00
Seeker 90067ea8ed Add --formula/--formulae and --cask/--casks 2020-12-12 17:43:23 -05:00
Seeker a7b36ee9ea Update help text 2020-12-12 17:43:23 -05:00
Seeker f06f83ca69 Rename livecheck_formulae_and_casks to run_checks 2020-12-12 17:43:23 -05:00
Seeker 064e93df5b Collapse checkable_urls methods into one method 2020-12-12 17:43:23 -05:00
Seeker e40bc65414 Sort formulae_and_casks_to_check in Livecheck#livecheck 2020-12-12 17:43:22 -05:00
Seeker 0e8cebbb5b Store Livecheck#version as symbol or string 2020-12-12 17:43:22 -05:00
Seeker 4b87da4da9 Initial small fixes
- Skip blank lines in watchlist
- Initialize Livecheck#version as nil
- Simplify livecheck_version logic
- Make test a bit more understandable
2020-12-12 17:43:22 -05:00
Seeker bf03893227 Add appcast to checkable cask urls 2020-12-12 17:43:22 -05:00
Seeker 71ccd3ccaa Fix typo 2020-12-12 17:43:22 -05:00
Seeker 0a766350b5 Fix :cask_url and allow :appcast 2020-12-12 17:43:21 -05:00
Seeker 6794a78087 livecheck: add support for casks 2020-12-12 17:43:21 -05:00
Dawid Dziurla d91e5358cb pr-upload: tighten json_files glob 2020-12-12 22:59:28 +01:00
Rylan Polster 7f260f92b9 language/python: update homebrew-virtualenv resource 2020-12-12 14:24:58 -05:00
Rylan Polster 967636aca0 Merge pull request #9511 from hyuraku/home-add-two-options
add two options (--formula and --cask) to cmd/home
2020-12-12 13:28:09 -05:00
Markus Reiter 6e5cf565e3 Ignore verified for url do blocks. 2020-12-12 06:01:26 +01:00
J Rob GantandMaxim Belkin 54546c5f8f Update Library/Homebrew/cmd/update.sh
Co-authored-by: Maxim Belkin <maxim.belkin@gmail.com>
2020-12-11 19:27:54 -05:00
Sam FordandDario Vladovic 5b770e9965 Cpan: Reimplement strategy and improve tests
Co-authored-by: Dario Vladovic <d.vladimyr@gmail.com>
2020-12-11 17:45:03 -05:00
Dario Vladovic 1f30f27c2d livecheck: CPAN strategy 2020-12-11 17:43:09 -05:00
EricFromCanada 9dec442e71 pr-pull: prepare replacement for --workflow flag 2020-12-11 16:50:03 -05:00
Seeker 7a22fc2c3e Merge pull request #9467 from SeekingMeaning/bump-cask-pr-stuff
Refactor `bump-cask-pr`.
2020-12-11 11:01:51 -08:00
J Rob Gant 68e2e48b63 Update the variable names 2020-12-11 12:47:47 -05:00
J Rob Gant e0c1f9d9d1 Better newlines 2020-12-11 12:43:23 -05:00
Seeker 85373df30e Merge pull request #9095 from SeekingMeaning/bottle-ast
bottle: add bottle stanza by traversing AST
2020-12-11 09:05:14 -08:00
Mike McQuaid eb74717a9e Fix unbottled dependency handling
- Rename `BuildToolsError` to `UnbottledError` to better reflect what it
  does (particularly now)
- Improve the `UnbottledError` messaging
- Raise the `UnbottledError` for dependencies also when building bottles
  (so that we don't try and build bottles against things that have been
  built from source).
2020-12-11 16:57:47 +00:00
hyuraku 16d13fe086 add two options to cmd/home 2020-12-11 23:09:14 +09:00
Markus Reiter ee858aeba3 Merge pull request #9500 from reitermarkus/fix-curl_http_content_headers_and_checksum
Don't add headers to content in `curl_http_content_headers_and_checksum`.
2020-12-11 14:52:32 +01:00
Mike McQuaid 323fec5032 utils/bottles: install bundler gems if necessary. 2020-12-11 12:26:45 +00:00
Markus Reiter a428aa6617 Wrap guess_cask_version with timeout. 2020-12-11 02:48:12 +01:00
Seeker b13be5e989 bump-cask-pr: don't add checksum when versioned and has :no_check 2020-12-10 14:53:05 -08:00