17385 Commits

Author SHA1 Message Date
Markus Reiter
fbf4b0432d Rescue more errors during cask upgrade. 2019-11-22 02:50:44 +01:00
Mike McQuaid
bf74cd994b
Merge pull request #6760 from MikeMcQuaid/test_bot_logic_to_actions
Move some brew-test-bot logic to GitHub Actions.
2019-11-21 22:00:32 +00:00
EricFromCanada
0242084929 shell commands: colourize messages 2019-11-21 16:18:46 -05:00
Mike McQuaid
04835db85e
Move some brew-test-bot logic to GitHub Actions.
This will improve the output and ease of parsing while allowing code to
be removed from brew-test-bot which relates only to a single repo (this
one).
2019-11-21 19:50:23 +00:00
Mike McQuaid
1d1cf36166
Merge pull request #6762 from bayandin/inreplace-for-empty-array
utils/inreplace: do not allow to use empty list of files
2019-11-21 17:20:08 +00:00
Maxim Belkin
c7f065b8da
utils/github.rb: use parallel assignments rather than indices
Co-Authored-By: Mike McQuaid <mike@mikemcquaid.com>
2019-11-21 11:13:10 -06:00
Maxim Belkin
1a0361a57d
Don't check dry run status where it is not needed 2019-11-21 11:13:10 -06:00
Maxim Belkin
ba7a05a919
bump-formula-pr.rb: Apply suggestions from code review
Co-Authored-By: Mike McQuaid <mike@mikemcquaid.com>
2019-11-21 11:13:10 -06:00
Maxim Belkin
a031fe911e
Switch from formula.tap.full_name to tap_formula_name 2019-11-21 11:13:10 -06:00
Maxim Belkin
845f65b945
Factor out some code into functions 2019-11-21 11:13:10 -06:00
Maxim Belkin
620e96b929
bump-formula-pr: enable same-repo (no-fork) Pull Requests 2019-11-21 11:13:09 -06:00
Mike McQuaid
eb019ee330
Merge pull request #6763 from EricFromCanada/info-analytics
info: adjust handling of analytics flags
2019-11-21 17:10:11 +00:00
Alexander Bayandin
b7b5a60f86 utils/inreplace: do not allow to use empty list of files 2019-11-21 16:49:06 +00:00
EricFromCanada
7ae87373ed info: raise on invalid category for formula analytics 2019-11-21 11:45:50 -05:00
dependabot-preview[bot]
d45e6eeec1
build: bump rspec-retry from 0.6.1 to 0.6.2 in /Library/Homebrew
Bumps [rspec-retry](https://github.com/noredink/rspec-retry) from 0.6.1 to 0.6.2.
- [Release notes](https://github.com/noredink/rspec-retry/releases)
- [Changelog](https://github.com/NoRedInk/rspec-retry/blob/master/changelog.md)
- [Commits](https://github.com/noredink/rspec-retry/compare/v0.6.1...v0.6.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-21 11:43:34 +00:00
EricFromCanada
4cd2775d4f info: use hyphenated category names for formula analytics 2019-11-20 20:47:05 -05:00
David Rupp
71fd680d51
Fix that reason is coerced to a boolean
f762033a57 introduced a bug such that `reason` is coerced to a boolean, so when displayed it loses information about the actual return value from `MissingFormula.reason`. This patch re-scopes the assignment of `reason` such that the actual reason is retained, while also retaining the sense of the new boolean check.
2019-11-20 09:49:08 -05:00
Mike McQuaid
a123d90e5d
Merge pull request #6749 from Bo98/cpp-fix
shims/super/cc: remove isysroot space to fix cpp
2019-11-20 12:51:17 +00:00
Mike McQuaid
b62758a763
Merge pull request #6750 from MrKumaPants/curl-fix
Upped the timeout for curl to 15 seconds to match other code
2019-11-20 12:46:18 +00:00
Mike McQuaid
acda2b1bc9
Merge pull request #6748 from issyl0/drop-local-from-gitconfig-commands
Remove `--local` from `git config` commands as it's the default
2019-11-20 12:28:32 +00:00
Mike McQuaid
2a453437d8
Merge pull request #6702 from bayandin/patch-1
Bump Xcode to 11.2.1
2019-11-19 20:22:31 +00:00
Nathan
5400883bd9 Upped the timeout for curl to 15 seconds 2019-11-16 10:16:00 -06:00
Bo Anderson
b4ff330ac1 shims/super/cc: remove isysroot space to fix cpp
Fixes #5153
2019-11-16 15:07:11 +00:00
Issy Long
02524ba322
Remove --local from git config commands as it's the default
- The `--local` option doesn't exist in early versions of git (~1.7),
  but its behaviour is the default (saving in the current repo's .git
  directory).
- As it's the default across versions, we don't need to specify it
  everywhere.
- Reported in Linuxbrew/install issue 78.
2019-11-16 10:19:42 +00:00
Mike McQuaid
ba3472b28c
Merge pull request #6718 from dawidd6/bumpable-linux
bump-formula-pr: make it usable on linux
2019-11-15 11:42:28 -08:00
Dawid Dziurla
f90612ccf0
bump-formula-pr: make it usable on linux
This commit makes it possible to use `bump-formula-pr` on linux to
contribute to `homebrew-core` as easily as it is on macOS, but with some
additional steps made before actual bumping of the formula.

Differences in the process (before bumping):
- add `homebrew-core` remote named `homebrew`
- fetch `homebrew/master`
- check if formula exists in `homebrew-core`
- switch to `homebrew/master` ref
2019-11-15 13:22:31 +01:00
Bo Anderson
3cb2d62a1b formula: copy hidden files from bottles. 2019-11-14 23:31:40 +00:00
Mike McQuaid
de6dc05f84
Merge pull request #6714 from hyuraku/repair_info_analysis
work correctly info analysis args
2019-11-14 14:44:45 -08:00
Mike McQuaid
13a249a426
Merge pull request #6742 from MikeMcQuaid/cask_loader_uri
cask_loader: fix URI detection.
2019-11-14 10:21:36 -08:00
hyuraku
1ab86acb0f move methods to analytics_table function 2019-11-15 01:25:54 +09:00
Mike McQuaid
5f07a1e9bf
cask_loader: fix URI detection.
Fixes #6678
2019-11-14 07:39:07 -08:00
Mike McQuaid
d6d857c154
cmd/upgrade: fix exit logic.
Fixes #6739
2019-11-14 07:22:19 -08:00
Mike McQuaid
1b926389ad
Merge pull request #6738 from dunkmann00/audit_env
Fix Audit check for `env :std`
2019-11-13 17:58:56 -08:00
George Waters
8221e32ad4 Fix Audit check for env :std
When performing a strict audit of a formula in the core tap, it was
possible that the check for `env :std` would not happen.
2019-11-13 20:33:43 -05:00
Mike McQuaid
9d539d6b3b
Merge pull request #6704 from MikeMcQuaid/deprecation-disable-remove
Handle 2.2.0 deprecations/disableds
2019-11-13 17:26:30 -08:00
Mike McQuaid
d9e9e72cce
brew vendor-gems: commit updates. 2019-11-13 09:50:31 -08:00
dependabot-preview[bot]
518ecb137c
build: bump rubocop-performance from 1.5.0 to 1.5.1 in /Library/Homebrew
Bumps [rubocop-performance](https://github.com/rubocop-hq/rubocop-performance) from 1.5.0 to 1.5.1.
- [Release notes](https://github.com/rubocop-hq/rubocop-performance/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop-performance/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop-performance/compare/v1.5.0...v1.5.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-13 17:29:10 +00:00
Alexander Bayandin
43687b46c3 Bump Xcode to 11.2.1 2019-11-13 17:13:45 +00:00
Mike McQuaid
f2d62d7972
Merge pull request #6730 from Homebrew/dependabot/bundler/Library/Homebrew/tins-1.22.2
build: bump tins from 1.22.0 to 1.22.2 in /Library/Homebrew
2019-11-13 16:27:19 +00:00
Mike McQuaid
460da9f80d
Merge pull request #6728 from MikeMcQuaid/upgrade-indempotent
upgrade: don't error if already installed.
2019-11-13 16:18:00 +00:00
hyuraku
af59951c0e fix style 2019-11-13 23:00:32 +09:00
hyuraku
1afd271a13 check whether args is valid
whether args days is in valid_days and args category is in valid_categories
2019-11-13 22:51:57 +09:00
dependabot-preview[bot]
0808db7de1
build: bump tins from 1.22.0 to 1.22.2 in /Library/Homebrew
Bumps [tins](https://github.com/flori/tins) from 1.22.0 to 1.22.2.
- [Release notes](https://github.com/flori/tins/releases)
- [Commits](https://github.com/flori/tins/compare/v1.22.0...v1.22.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-13 09:17:39 +00:00
Mike McQuaid
5904aab98a
Merge pull request #6622 from zachauten/argv_kegs
Moved kegs from ARGV to args.rb
2019-11-13 00:22:09 +00:00
Mike McQuaid
9d2cb8e9b3
upgrade: don't error if already installed.
I've been convinced idempotency is a good thing for this command so this
would be a good thing to get out for 2.2.0.
2019-11-12 16:18:54 -08:00
Mike McQuaid
2e0c703cb6
Merge pull request #6722 from evgkrsk/patch-1
Update brew.sh: hide printf's stderr in numeric()
2019-11-11 21:26:57 -08:00
Mike McQuaid
7b77dc4d0c
Merge pull request #6725 from MikeMcQuaid/remove-cat
os/mac: remove MacOS.cat.
2019-11-12 04:59:19 +00:00
Mike McQuaid
5595deaec6
os/mac: remove MacOS.cat.
None of the supported versions are "cats" any more.
2019-11-11 19:20:17 +00:00
Evgenii Terechkov
8bf9bbfd1c
Update brew.sh: hide printf's stderr in numeric()
Avoid #6721 and similar confusing messages during version comparison by hiding printf's stderr (printf woks anyway).
2019-11-11 20:31:59 +07:00
Mike McQuaid
e8c241f56c
upgrade: fix handling broken dependents.
Ensure that we use the keg for checking linkage but that the dependents
returned are still formulae.

Fixes #6715.
2019-11-11 10:08:08 +00:00