16662 Commits

Author SHA1 Message Date
Jonathan Chang
b57297d253 bintray: stricter checking of upload results
Parse the JSON output of the upload and publish steps to ensure that
a "success" message is always seen on upload, and that the number of
files published is the same as the number of files we wanted to publish
as based on the bottle JSON description.
2020-06-10 17:52:04 +10:00
Mike McQuaid
0dd004f53d
dev-cmd/audit: handle nil newest_committed_revision.
Fixes #7712.
2020-06-10 08:39:41 +01:00
Mike McQuaid
2a94d382ac
audit: make audit_revision_and_version_scheme faster.
This is really, really slow at the moment for a few reasons:
- it goes through the list of revisions twice
- it checks many more revisions than it needs to

Even after these improvements it's still by far the slowest audit so
am also making it a `--git` only audit.

Additionally, to further improve default `brew audit` performance do not
run `brew style` checks when doing `brew audit` with no arguments.

`brew style` can be run quickly and efficiently on all of a tap (and is
cached) so no need to duplicate it here.
2020-06-08 15:00:09 +01:00
Bo Anderson
eb3eb209d9 os/mac/xcode: support Xcode 11.5 2020-06-07 20:35:55 +01:00
dependabot-preview[bot]
219ad5dd49
build(deps): bump rubocop from 0.85.0 to 0.85.1 in /Library/Homebrew
Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 0.85.0 to 0.85.1.
- [Release notes](https://github.com/rubocop-hq/rubocop/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop/compare/v0.85.0...v0.85.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-07 15:57:33 +00:00
Issy Long
8eba9b86ab
Change occurrences of "blacklist" to "denylist" or "disallow"
- Depending on context, I've gone for either "denylist" or "disallow"
  here. "Disallow" for things in sentences, or actions, and "denylist"
  for list of things.
2020-06-06 22:38:33 +01:00
Issy Long
0041ea21f5
Change occurrences of "whitelist" to "allowlist" 2020-06-06 22:38:32 +01:00
Maxim Belkin
9751d3bb8c
Fix calls to 'test_ruby' in conditional statements
Co-authored-by: Shaun Jackman <sjackman@gmail.com>
2020-06-06 12:03:51 -05:00
Vítor Galvão
446ef2c85f
Merge branch 'master' into appcast-configuration-match 2020-06-06 03:04:57 +01:00
Vítor Galvão
d485a185d0
Merge pull request #7674 from vitorgalvao/cask-appcast-config-adjusted
Cask: use regex in appcast adjusted_version_stanza
2020-06-06 02:55:15 +01:00
Vítor Galvão
8961ef40d5 Cask: rename appcast configuration to must_contain 2020-06-06 02:53:48 +01:00
Mike McQuaid
13caf6e6bb
Merge pull request #7699 from Homebrew/dependabot/bundler/Library/Homebrew/i18n-1.8.3
build(deps): bump i18n from 1.8.2 to 1.8.3 in /Library/Homebrew
2020-06-05 11:08:31 +01:00
Michka Popoff
1be708922f
Merge pull request #7436 from iMichka/audit-block
on_os_blocks: add audit
2020-06-05 11:24:25 +02:00
Mike McQuaid
72f1998030
brew vendor-gems: commit updates. 2020-06-05 09:51:55 +01:00
dependabot-preview[bot]
289380e66a
build(deps): bump i18n from 1.8.2 to 1.8.3 in /Library/Homebrew
Bumps [i18n](https://github.com/svenfuchs/i18n) from 1.8.2 to 1.8.3.
- [Release notes](https://github.com/svenfuchs/i18n/releases)
- [Changelog](https://github.com/ruby-i18n/i18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/svenfuchs/i18n/compare/v1.8.2...v1.8.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-05 09:50:00 +01:00
Mike McQuaid
6409fe78b6
Merge pull request #7688 from MikeMcQuaid/deprecate-devel
formula: deprecate devel blocks.
2020-06-05 09:43:35 +01:00
Mike McQuaid
6eeb3086c0
Merge pull request #7700 from MikeMcQuaid/deprecate-brew-pull
dev-cmd/pull: deprecate.
2020-06-05 09:32:32 +01:00
Mike McQuaid
6af8b76cc6
Merge pull request #7697 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-performance-1.6.1
build(deps): bump rubocop-performance from 1.6.0 to 1.6.1 in /Library/Homebrew
2020-06-05 09:28:33 +01:00
Mike McQuaid
22857b56b9
formula: deprecate devel blocks.
As we haven't released 2.3.1 I think we can get away with sneaking this
in. I'm also prepared to back this out if it's too widely used and
there's too much backlash.
2020-06-05 09:22:49 +01:00
Mike McQuaid
80c1a166b1
dev-cmd/pull: deprecate.
We no longer use this and `hub checkout` does what we want better.
2020-06-05 08:53:03 +01:00
Mike McQuaid
e0906312c8
brew vendor-gems: commit updates. 2020-06-05 08:45:48 +01:00
Mike McQuaid
9c9ef77aeb
Merge pull request #7693 from issyl0/fix-another-installed-method-deprecation
formula_installer: Fix `.installed?` method deprecation
2020-06-05 08:31:12 +01:00
dependabot-preview[bot]
2427d16a59
build(deps): bump rubocop-performance in /Library/Homebrew
Bumps [rubocop-performance](https://github.com/rubocop-hq/rubocop-performance) from 1.6.0 to 1.6.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.6.0...v1.6.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-05 03:31:43 +00:00
Misty De Meo
613c397b34 ENV: SDK can be nil 2020-06-04 17:38:25 -07:00
Issy Long
ad3acf800b
formula_installer: Fix .installed? method deprecation
- Trying to test out a user-submitted `brew bump-formula-pr` for
  `app-engine-java` gave an error locally that [hasn't shown up on
  CI](https://github.com/Homebrew/homebrew-core/pull/55798/checks?check_run_id=740165542),
  oddly.

```
➜ brew install app-engine-java -s && brew test app-engine-java
Error: Calling Formula#installed? is deprecated! Use Formula#latest_version_installed? (or Formula#any_version_installed? ) instead.
/usr/local/Homebrew/Library/Homebrew/compat/formula.rb:6:in `installed?'
/usr/local/Homebrew/Library/Homebrew/formula_installer.rb:421:in `block (2 levels) in check_requirements'
/usr/local/Homebrew/Library/Homebrew/formula_installer.rb:420:in `each'
/usr/local/Homebrew/Library/Homebrew/formula_installer.rb:420:in `block in check_requirements'
/usr/local/Homebrew/Library/Homebrew/formula_installer.rb:419:in `each_pair'
/usr/local/Homebrew/Library/Homebrew/formula_installer.rb:419:in `check_requirements'
/usr/local/Homebrew/Library/Homebrew/formula_installer.rb:392:in `compute_dependencies'
/usr/local/Homebrew/Library/Homebrew/formula_installer.rb:149:in `verify_deps_exist'
/usr/local/Homebrew/Library/Homebrew/formula_installer.rb:143:in `prelude'
/usr/local/Homebrew/Library/Homebrew/cmd/install.rb:328:in `install_formula'
/usr/local/Homebrew/Library/Homebrew/cmd/install.rb:261:in `block in install'
/usr/local/Homebrew/Library/Homebrew/cmd/install.rb:259:in `each'
/usr/local/Homebrew/Library/Homebrew/cmd/install.rb:259:in `install'
/usr/local/Homebrew/Library/Homebrew/brew.rb:110:in `<main>'
```
2020-06-04 22:54:07 +01:00
Michka Popoff
c494528f15 on_os_blocks: add audit 2020-06-04 17:36:28 +02:00
Thierry Moisan
7a285cf476
Fix audit online release variable 2020-06-04 09:09:12 -04:00
Mike McQuaid
0af7a28fb8
Merge pull request #7685 from MikeMcQuaid/audit_releases_online
dev-cmd/audit: don't check GitHub releases without --online.
2020-06-04 09:47:18 +01:00
rmnull
a7405601f3
Use Gem to install gems instead of invoking system 2020-06-04 11:36:58 +05:30
Maxim Belkin
58f3e49c0b
utils/ruby.sh: rename test-ruby to test_ruby. Cosmetic changes 2020-06-03 18:01:38 -05:00
Mike McQuaid
8b24d8c5e9
dev-cmd/audit: don't check GitHub releases without --online.
This both is more accurate and making `brew audit` without `--online` a
bit faster.
2020-06-03 17:50:57 +01:00
Dario Vladovic
4f26d85a46
os/mac/keg_relocate: add missing libexec method 2020-06-03 17:30:15 +02:00
Mike McQuaid
b615de1bc3
utils/gems: always ensure default Gems are in GEM_PATH.
Fixes #7608.
2020-06-03 10:02:46 +01:00
Mike McQuaid
a52946f509
Merge pull request #7680 from Homebrew/dependabot/bundler/Library/Homebrew/connection_pool-2.2.3
build(deps): bump connection_pool from 2.2.2 to 2.2.3 in /Library/Homebrew
2020-06-03 09:32:03 +01:00
dependabot-preview[bot]
91ffc6fabb
build(deps): bump connection_pool in /Library/Homebrew
Bumps [connection_pool](https://github.com/mperham/connection_pool) from 2.2.2 to 2.2.3.
- [Release notes](https://github.com/mperham/connection_pool/releases)
- [Changelog](https://github.com/mperham/connection_pool/blob/master/Changes.md)
- [Commits](https://github.com/mperham/connection_pool/compare/v2.2.2...v2.2.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-02 20:52:56 +00:00
Mike McQuaid
3663e9d5d1
os/mac/keg_relocate: handle libexec/lib.
We can fix up libraries in `lib` not `libexec/lib` so add an extra check
for that case.

Inspired by https://github.com/Homebrew/homebrew-core/pull/53790#issuecomment-637622329
2020-06-02 16:35:36 +01:00
Mike McQuaid
aa81982aba
brew style --fix 2020-06-02 09:49:23 +01:00
dependabot-preview[bot]
7a104f647d
build(deps): bump rubocop from 0.84.0 to 0.85.0 in /Library/Homebrew
Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 0.84.0 to 0.85.0.
- [Release notes](https://github.com/rubocop-hq/rubocop/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop/compare/v0.84.0...v0.85.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-02 05:44:34 +00:00
Vítor Galvão
a7b51ebecd Cask: use regex in appcast adjusted_version_stanza 2020-06-01 14:25:17 +01:00
Mike McQuaid
e7aea9950f
Merge pull request #7670 from Bo98/python3.8-non-keg-only
dev-cmd/audit: whitelist python@3.8 to be non-keg-only
2020-06-01 09:40:13 +01:00
Mike McQuaid
aa33131e9c
Merge pull request #7671 from nandahkrishna/fix-livecheck-tests
livecheck: modify regex in tests
2020-06-01 09:39:54 +01:00
Mike McQuaid
1e76ecdfdd
Merge pull request #7669 from Bo98/resource-argument-fix
resource: fix incorrect argument error for empty/non-existent target
2020-06-01 08:54:29 +01:00
nandahkrishna
1edff7934e
livecheck: modify regex in tests 2020-06-01 11:37:58 +05:30
Markus Reiter
b2ccf3ba78
Merge pull request #7587 from Rylan12/cask-zap-full-disk-access
brew cask zap prompt when Full Disk Access is needed
2020-05-31 23:41:25 +02:00
Bo Anderson
f6de06d244 dev-cmd/audit: whitelist python@3.8 to be non-keg-only 2020-05-31 22:39:29 +01:00
Bo Anderson
2ba0bc809e resource: fix incorrect argument error for empty/non-existent target 2020-05-31 20:35:48 +01:00
nandahkrishna
9ffd0e66af
livecheck: reference Formula URLs 2020-05-31 13:52:55 +05:30
Mike McQuaid
8b479ea77b
manpage: update external commands.
- add more detailed manpage section for external commands (more
  information moved from their READMEs)
- add `brew test-bot` to the manpage
2020-05-30 14:19:56 +01:00
Mike McQuaid
9a654897d4
manpage: no longer mention installing from a URL.
This is deprecated in #7660.
2020-05-29 17:04:42 +01:00
Mike McQuaid
a35825ff23
formulary: further deprecate URLs.
Installation of formulae from URLs has many attack vectors and is
fundamentally insecure, unsupported, regularly recommended against and
generally a terrible idea. There's plenty of ways to take that URL,
manually verify it and put it somewhere that Homebrew does support so
let's deprecate this way of doing things.
2020-05-29 13:15:08 +01:00