24403 Commits

Author SHA1 Message Date
Markus Reiter
2ad7f5317c Add signatures for Fetch module. 2020-11-29 22:59:10 +01:00
Markus Reiter
3541ede927 Fix signature for update_python_resources!. 2020-11-29 22:59:10 +01:00
Markus Reiter
307724d5cd Fix type error in cmd/cleanup. 2020-11-29 22:59:10 +01:00
Markus Reiter
323cfbca41 Fix type error in dev-cmd/dispatch-build-bottle. 2020-11-29 22:59:10 +01:00
Markus Reiter
6fb5315deb Fix unconditionally true condition. 2020-11-29 22:37:24 +01:00
Markus Reiter
749199632b Add signatures for dev-cmd/unbottled. 2020-11-29 22:37:24 +01:00
Markus Reiter
a0d6f45bd7 Add signatures for cmd/tap. 2020-11-29 22:37:24 +01:00
Markus Reiter
1baf98ea69 Add signatures for cmd/--cache. 2020-11-29 22:37:24 +01:00
Markus Reiter
4560c06b7e Add more method signatures for CLI::Args. 2020-11-29 22:37:24 +01:00
Markus Reiter
580d915cb4 Add type signatures for Pathname extensions. 2020-11-29 21:23:55 +01:00
Markus Reiter
650ec514c1 Fix type errors in test. 2020-11-29 21:23:54 +01:00
Markus Reiter
38ec7b684d Add note in upstream.rbi. 2020-11-29 21:23:54 +01:00
Markus Reiter
1b9002c04a Fix type errors in postinstall. 2020-11-29 21:23:54 +01:00
Markus Reiter
6750448d95 Fix some auto-correctable type errors. 2020-11-29 21:23:54 +01:00
Markus Reiter
cf169e5270 Fix type errors in Sandbox. 2020-11-29 21:23:54 +01:00
Markus Reiter
9ee8cc97c9
Merge pull request #9337 from dtrodrigues/python-downcase
pypi: downcase main package name
2020-11-29 17:10:49 +01:00
Dustin Rodrigues
97933d9a17 pypi: downcase main package name prior to seeing if it should be excluded 2020-11-29 09:34:00 -05:00
Shaun Jackman
ef755182bb
Merge pull request #9279 from sjackman/sj/fq-linux
FAQ: Default installation prefix on Linux
2020-11-27 11:30:20 -08:00
Shaun Jackman
ab1b313378 Revise docs/FAQ.md 2020-11-27 10:32:05 -08:00
Shaun Jackman
ac7cb8ca6c
Revise docs/FAQ.md
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2020-11-27 10:29:27 -08:00
Issy Long
f142714448
Merge pull request #9312 from issyl0/unbottled-fail-nicely-if-HOMEBREW_NO_ANALYTICS
dev-cmd/unbottled: Fail nicely if `HOMEBREW_NO_ANALYTICS` is set
2020-11-27 18:03:34 +00:00
Mike McQuaid
d7f03bc2dd
Merge pull request #9322 from MikeMcQuaid/linkage-fixes
linkage: correctly detect missing kegs.
2020-11-27 13:50:23 +00:00
Mike McQuaid
7c56fa9caf
linkage: correctly detect missing kegs.
- manually `raise Errno::ENOENT` to ensure that a keg that doesn't exist
  isn't flagged as a system dependency.
- remove the inconsistent and incorrect summary messaging.
2020-11-27 13:12:09 +00:00
Jonathan Chang
486e76c1f2
Merge pull request #9240 from jonchang/bintray-typed
bintray: add type signatures
2020-11-27 18:27:47 +11:00
Jonathan Chang
90e33addd1
Merge pull request #9317 from danielnachun/add_std_cmake_arg
explicitly specify CMake libdir as lib
2020-11-27 18:25:27 +11:00
danielnachun
7d8f6d9d22 explicitly specify CMake libdir as lib 2020-11-27 17:56:03 +11:00
Jonathan Chang
a39344e7e3 tap: read_formula_list JSON file can be an array 2020-11-27 17:45:42 +11:00
Jonathan Chang
ed73d5b635 system_command: widen type for secrets 2020-11-27 17:45:18 +11:00
Jonathan Chang
6b06716757 bintray: add type signatures 2020-11-27 17:44:46 +11:00
Jonathan Chang
d1295ae443
Merge pull request #9305 from jonchang/check-tap-branches
diagnostic: check all tap branches, not just core
2020-11-27 17:04:05 +11:00
Jonathan Chang
5309470f28 diagnostic: check all tap branches, not just core 2020-11-27 16:21:45 +11:00
Jonathan Chang
b8b3f06526
Merge pull request #9319 from jonchang/fix-default-prefix-type-errors
global: fix `default_prefix?` definition
2020-11-27 16:20:33 +11:00
Jonathan Chang
f98736119b global: fix default prefix 2020-11-27 15:36:04 +11:00
Markus Reiter
79d6c059fc
Merge pull request #9297 from reitermarkus/brew-typecheck
Refactor `brew typecheck` and upgrade `typed` sigils.
2020-11-27 00:01:47 +01:00
Michka Popoff
d42e8c7842
Merge pull request #9310 from iMichka/cellar
bottle merge: add support for linux cellar
2020-11-26 23:31:28 +01:00
Issy Long
ca999a81f7
dev-cmd/unbottled: Fail nicely if analytics data can't be retrieved
- When testing `brew unbottled <formula>` this crashed because I, as a
  maintainer, have `HOMEBREW_NO_ANALYTICS` set on all my machines to
  avoid polluting the analytics with test installs.

```
❯ brew unbottled
==> Getting formulae...
==> Getting analytics data...
Error: undefined method `[]' for nil:NilClass
/usr/local/Homebrew/Library/Homebrew/dev-cmd/unbottled.rb:89:in `formulae_all_sort_installs_from_args'
/usr/local/Homebrew/Library/Homebrew/dev-cmd/unbottled.rb:49:in `unbottled'
/usr/local/Homebrew/Library/Homebrew/brew.rb:119:in `<main>'
```
2020-11-26 21:21:48 +00:00
Sam Ford
9539485547
Merge pull request #9074 from vladimyr/livecheck
livecheck: refactor url preprocessing
2020-11-26 14:46:57 -05:00
Sam Ford
5a007a4ec6
livecheck: expand #preprocess_url tests more 2020-11-26 13:34:16 -05:00
Shaun Jackman
74d4001a25 docs/Homebrew-on-Linux.md: Suggest linuxbrew user 2020-11-26 10:28:41 -08:00
Shaun Jackman
c3c8c7c668 Revise docs/FAQ.md 2020-11-26 10:28:02 -08:00
Shaun Jackman
8846779d83
Revise docs/FAQ.md
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2020-11-26 10:17:14 -08:00
Mike McQuaid
86631b4fef
Merge pull request #9292 from MikeMcQuaid/improve-zsh-completions
Improve ZSH completions handling
2020-11-26 16:55:58 +00:00
Markus Reiter
a6a77f21e3
Merge pull request #9309 from reitermarkus/debug-bom
Work around BOM `find` bug.
2020-11-26 17:43:02 +01:00
Mike McQuaid
3002c810be
Improve ZSH completions handling
- Only display the completions caveats from the current shell (assuming
  it's one of Bash, ZSH or Fish)
- If the completions location isn't in the ZSH `FPATH` then link to the
  documentation explaining how to do so.

Fixes https://github.com/Homebrew/brew/issues/8984
2020-11-26 16:08:26 +00:00
Sam Ford
417bb2ebfd
livecheck: clean up comment 2020-11-26 10:33:20 -05:00
Sam Ford
5332e877b2
livecheck: improve host string comparison 2020-11-26 10:32:55 -05:00
Sam Ford
d07590442c
livecheck: handle URI#parse URI::InvalidURIError 2020-11-26 10:31:38 -05:00
Sam Ford
1f40d84ab1
livecheck: expand #preprocess_url tests 2020-11-26 09:50:00 -05:00
Dario Vladovic
74fd700445
livecheck: fix github & gitlab url processing
- support both `github.com/downloads/<owner>/<repo>` and
  `github.s3.amazonaws.com/<owner>/<repo>` URL patterns
- support self-hosted GitLab installations (with project groups)
- support _well-known_ Gitea and Gogs instances
2020-11-26 09:30:54 -05:00
Dario Vladovic
1f103f88d0
livecheck: enable git strategy for sourcehut 2020-11-26 09:30:54 -05:00