4303 Commits

Author SHA1 Message Date
Michka Popoff
8b85ef2e88 formula: add on_linux and on_macos blocks
for install and others
2020-11-03 22:54:07 +01:00
Rylan Polster
869941bccd audit: migrate throttle list to Homebrew/core 2020-11-03 13:06:33 -05:00
EricFromCanada
62984b956e relocate requirement tests 2020-11-01 15:42:55 -05:00
EricFromCanada
212367c1c0 requirements: reword error messages for consistency
also add formatting to download URLs
2020-11-01 15:20:02 -05:00
EricFromCanada
635233b37e requirements: reword inspect() to place tags at end
This more closely matches requirements' display in the DSL.
2020-11-01 15:20:02 -05:00
EricFromCanada
a232ac8b1e requirements: improve display in brew info 2020-11-01 15:20:02 -05:00
Mike McQuaid
9d7b0bad11
spec_helper: fix Timeout::Error/SystemExit handling.
These need to be manually caught and set otherwise they will not be
retried by `rspec-retry`. This is particularly annoying and a cause of
CI failures when tests timeout but are not retried.

Fixes https://github.com/Homebrew/brew/issues/8979
2020-10-29 11:05:12 +00:00
Mike McQuaid
ffe827ad0e
Fix upgrading dependents on missing keg
Ensure that we don't try to check for broken linkage in a keg that
doesn't exist. Furthermore, fix the reason we checked for the keg that
doesn't exist by `Formula.clear_cache`.

While here, I noticed that there was other methods of caching at use in
`Formula` so consolidate them to be consistent.

Fixes #8997
2020-10-29 08:31:04 +00:00
Mike McQuaid
60046ac41c
Merge pull request #8893 from whoiswillma/william/integrate-brew-info
cmd/info: Add support for casks in brew info
2020-10-26 11:59:53 +00:00
Diogo Azevedo
35a7e336be
node: add support for npm 7
Co-Authored-By: Mike McQuaid <mike@mikemcquaid.com>
2020-10-24 15:26:36 +02:00
Rylan Polster
24523f8225 utils/spdx: allow other license symbols 2020-10-22 10:01:40 -04:00
Jonathan Chang
4b6fe870d8
Merge pull request #8958 from jonchang/paginate-pr-commits
utils/github: paginate pull request commits API
2020-10-21 00:45:39 +11:00
Jonathan Chang
4a5f1a8477 utils/github: paginate pull request commits API 2020-10-21 00:17:02 +11:00
Seeker
ea10192f8b rubocops/patches: GitHub/GitLab patches should end with .patch 2020-10-21 00:03:47 +11:00
Roger Leigh
a96e15ec16 Permit installation of googletest 2020-10-19 12:48:43 +01:00
Mike McQuaid
8d2ad515ea
Merge pull request #8915 from MikeMcQuaid/fix-brew-style
dispatch-build-bottle: fix brew style.
2020-10-13 12:27:11 +01:00
Mike McQuaid
a0a9fa241f
Merge pull request #8851 from Akylzhan/patch
cmd/list.rb: --formula and --cask as default option on TTY
2020-10-13 11:52:19 +01:00
Mike McQuaid
e508c14ae2
dispatch-build-bottle: fix brew style. 2020-10-13 11:46:57 +01:00
Markus Reiter
bf7fe45e89
Merge pull request #8896 from reitermarkus/sorbet-inline
Inline type annotations.
2020-10-13 10:40:53 +02:00
Jonathan Chang
b8a93279fd
Merge pull request #8905 from jonchang/bintray-dont-error-on-matching-files
bintray: check remote file hash prior to upload
2020-10-13 00:20:28 +11:00
William Ma
d96ad81cd0 cmd/info: Add test for --json=v2 2020-10-12 09:19:04 -04:00
Jonathan Chang
622e76e7f3 bintray: check remote file hash prior to upload
If the remote file is published and has a hash matching the file we're
about to upload, just skip uploading and publishing it entirely, rather
than bailing out with an error.
2020-10-12 23:53:21 +11:00
Rylan Polster
abf214c01f
Merge pull request #8897 from Rylan12/style-python-version
style: python versions must match python dependency
2020-10-12 08:22:39 -04:00
Akylzhan Sauranbay
c8809ce730 cmd/list.rb: --formula, --cask as default on TTY outputs
cmd/list.rb: --formula, --cask as default TTY:

cmd/list.rb: proper deprecated message on non TTY outputs

update manpage

update zsh completion

updated manpages/brew.1

update tests

return list_casks

list_spec.rb: not output to stderr
2020-10-12 14:52:03 +06:00
Rylan Polster
3b944434cf style: allow python versions with two digits 2020-10-11 09:46:14 -04:00
Dawid Dziurla
3095fbc8ec
dev-cmd: add dispatch-build-bottle command 2020-10-11 13:00:15 +02:00
Rylan Polster
40e4b38d05 style: python versions must match python dependency 2020-10-10 13:59:20 -04:00
Markus Reiter
e509b1317e Fix svn_spec. 2020-10-10 19:10:58 +02:00
Markus Reiter
318091cccc Move StringInreplaceExtension into separate file. 2020-10-10 15:06:19 +02:00
Markus Reiter
24ae318a3d Move type annotations into files. 2020-10-10 14:59:39 +02:00
Markus Reiter
ccb271bee4
Merge pull request #8859 from reitermarkus/macos-version
Refactor `OS::Mac::Version`.
2020-10-07 12:18:53 +02:00
Rylan Polster
38cedb9013 style: allow license exceptions to be on one line 2020-10-05 16:23:52 -04:00
Markus Reiter
90d70ad932 Refactor OS::Mac::Version. 2020-10-05 15:58:17 +02:00
Dustin Rodrigues
34cf999f20 version: support post versions 2020-10-05 08:44:03 -04:00
Rylan Polster
a91730316c style: only require tag for git urls with --strict 2020-10-03 15:51:30 -04:00
Rylan Polster
c84b5f985f style: require tag and revision for git urls 2020-10-03 12:27:01 -04:00
Markus Reiter
5f005f67cf Refactor global Cask::Config. 2020-10-01 00:57:10 +02:00
Jonathan Chang
e082da45b8
Merge pull request #8754 from jonchang/refactor-git-cmds
dev-cmd/pr-pull: refactor and add tests
2020-09-21 18:58:52 +10:00
Jonathan Chang
f6cd7b72f4
Merge pull request #8757 from reitermarkus/desc-the
Check for descriptions starting with “the”.
2020-09-20 15:36:27 +10:00
Jonathan Chang
4b4510d22d dev-cmd/pr-pull: refactor and test autosquash! 2020-09-20 13:44:44 +10:00
Jonathan Chang
99a5aa07ad dev-cmd/pr-pull: refactor and test signoff! 2020-09-20 13:44:44 +10:00
Jonathan Chang
cdfb1badcf utils/git: helper function to get commit msg 2020-09-20 13:23:01 +10:00
Jonathan Chang
d116087af6 dev-cmd/pr-pull: tests for bump subject 2020-09-20 13:22:57 +10:00
Jonathan Chang
146664b45f utils/git: cherry-pick test 2020-09-20 13:21:27 +10:00
Jonathan Chang
d09ebf428f utils/git: new file_at_commit function 2020-09-20 13:21:27 +10:00
Jonathan Chang
415c36041a dev-cmd/pr-pull: use GitHub API to get PR commits 2020-09-20 13:21:27 +10:00
Markus Reiter
78cd6dc0a9 Allow “macOS virtual machines” in descriptions. 2020-09-19 04:30:54 +02:00
Markus Reiter
9a48568226 Check for descriptions starting with “the”. 2020-09-17 20:44:09 +02:00
Mike McQuaid
e7ab97a818
Merge pull request #8751 from miccal/java-spec
test/language/java_spec: drop version to 1.6+
2020-09-17 16:00:53 +01:00
Nanda H Krishna
4393df824e
Merge pull request #8643 from nandahkrishna/livecheck-rubocop
livecheck: add RuboCops
2020-09-17 20:09:09 +05:30