Markus Reiter
7348185347
Reorder global
.
2020-11-30 00:00:02 +01:00
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
Dustin Rodrigues
97933d9a17
pypi: downcase main package name prior to seeing if it should be excluded
2020-11-29 09:34:00 -05:00
Mike McQuaid
016893c132
os/mac/sdk: use OS::Mac.sdk_version.
...
This should allow the correct SDK to be found.
Fixes https://github.com/Homebrew/brew/issues/9324
2020-11-27 20:18:56 +00: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
Misty De Meo
7f5a94bbcb
Formula cookbook: document with_env
...
The other syntax for setting `ENV` was added in #9013 ,
but this form remained undocumented.
Fixes #8648 .
2020-11-27 09:08:10 -08:00
Rylan Polster
685efd5a67
Remove hardcoded exceptions to the versioned_keg_only_allowlist
2020-11-27 11:55:53 -05: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
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
5309470f28
diagnostic: check all tap branches, not just core
2020-11-27 16:21:45 +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
Rylan Polster
fe8ce9b725
Migrate GNOME_DEVEL_ALLOWLIST
2020-11-26 15:34:32 -05:00
Rylan Polster
de26310b32
Migrate UNSTABLE_DEVEL_ALLOWLIST
2020-11-26 15:26:12 -05:00
Rylan Polster
71beff367a
Migrate UNSTABLE_ALLOWLIST
2020-11-26 15:18:06 -05:00
Rylan Polster
c4faac4b2f
Migrate CERT_ERROR_ALLOWLIST
2020-11-26 15:01:24 -05:00
Shaun Jackman
65bc39f952
HOMEBREW_PATCHELF_RB_WRITE: Move logic to test-bot
2020-11-26 11:53:31 -08:00
Sam Ford
9539485547
Merge pull request #9074 from vladimyr/livecheck
...
livecheck: refactor url preprocessing
2020-11-26 14:46:57 -05:00
Rylan Polster
e03d1606d6
Migrate VERSIONED_KEG_ONLY_ALLOWLIST
2020-11-26 14:43:06 -05:00
Rylan Polster
96cf0e5bcd
Migrate VERSIONED_DEPENDENCIES_CONFLICTS_ALLOWLIST
2020-11-26 14:32:42 -05:00
Rylan Polster
726b4e1419
Migrate PROVIDED_BY_MACOS_DEPENDS_ON_ALLOWLIST
2020-11-26 14:32:42 -05:00
Shaun Jackman
8a4299d028
Enable HOMEBREW_PATCHELF_RB_WRITE for CI and HOMEBREW_DEV_CMD_RUN
...
Enable HOMEBREW_PATCHELF_RB_WRITE by default for HOMEBREW_DEV_CMD_RUN
and CI, but not when building bottles.
2020-11-26 11:23:38 -08:00
Sam Ford
5a007a4ec6
livecheck: expand #preprocess_url tests more
2020-11-26 13:34:16 -05: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
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