21379 Commits

Author SHA1 Message Date
Misty De Méo
1978f4be65 Unbottled: fix use of invalid argument 2021-04-26 11:44:35 -07:00
Mike McQuaid
c5bcfe8fac
Merge pull request #11238 from hyuraku/vendor-install.sh_bash_style_fixes
Vendor install.sh bash style fixes
2021-04-26 15:51:44 +01:00
Mike McQuaid
4af9a35f10
Merge pull request #11241 from GauthamGoli/update-reset-style-fixes
update-reset.sh: Fix `shellcheck` style errors
2021-04-26 15:44:29 +01:00
Mike McQuaid
a10f436120
dev-cmd/bottle: tweak tar and tar arguments.
Instead of using `libarchive` on macOS (which has a non-zero dependency
tree) let's instead use `gnu-tar` because:

- it has no dependencies
- we're already using it on Linux

I tested this locally with `ack` (which was getting reproducible bottles
with system and Homebrew `libarchive`) and saw a different checksum. A
quick read of the `gtar` manpage indicated that it uses a GNU tar format
by default which can be made consistent with BSD and GNU tar by using
`--format=ustar` with both. Once this is done, the checksums are the
same. This will hopefully ease the transition to having `all:` bottles
be consistent on Linux, too, which will be useful when homebrew-core is
fully merged/supporting Linux.
2021-04-26 14:42:09 +01:00
hyuraku
61076c7c26 add how to set HOMEBREW_CURL 2021-04-26 21:56:27 +09:00
Gautham Goli
a9236a3bf7 update-reset.sh: Fix shellcheck style errors 2021-04-24 11:11:09 +05:30
Markus Reiter
fb7d19c661
Merge pull request #11230 from reitermarkus/git-config-error 2021-04-23 18:02:06 +02:00
hyuraku
51c39c898f add SC2153 2021-04-24 00:35:03 +09:00
hyuraku
e82e4ea7c2 repair vendor-install.sh 2021-04-24 00:02:50 +09:00
Mike McQuaid
58ca0f4ea7
Merge pull request #11237 from MikeMcQuaid/cleanup_ds_store
cleanup: ignore DS_Store access failures.
2021-04-23 15:45:10 +01:00
hyuraku
c67c202e54 add how to set ENV 2021-04-23 22:56:08 +09:00
Mike McQuaid
1cb082db94
cleanup: ignore DS_Store access failures.
Fixes #10988.
2021-04-23 14:49:12 +01:00
Mike McQuaid
5b858ee783
dev-cmd/pr-upload: fix json_files handling.
Another failure:
https://github.com/Homebrew/homebrew-core/pull/75299#issuecomment-825654120
2021-04-23 14:35:26 +01:00
Gautham Goli
5183f9aeaf vendor-install.sh: Fix shellcheck style errors 2021-04-23 22:26:21 +09:00
Mike McQuaid
dcd9bf1212
Merge pull request #11234 from MikeMcQuaid/pr_upload_args
dev-cmd/pr-upload: fix bad args reference.
2021-04-23 14:18:22 +01:00
Mike McQuaid
5d67709cb6
Merge pull request #11214 from hyuraku/utils_repair_style
Utils repair style
2021-04-23 14:17:22 +01:00
Mike McQuaid
123d5c0dfa
Merge pull request #11137 from MikeMcQuaid/more_official_taps
More official Homebrew taps
2021-04-23 14:06:09 +01:00
Mike McQuaid
06c516759e
Merge pull request #11231 from zachauten/bump_ssh
Fix bump-formula-pr for taps with ssh remote url.
2021-04-23 14:01:26 +01:00
Mike McQuaid
2823631469
Merge pull request #11232 from Homebrew/dependabot/bundler/Library/Homebrew/tapioca-0.4.21
build(deps): bump tapioca from 0.4.20 to 0.4.21 in /Library/Homebrew
2021-04-23 14:00:05 +01:00
Mike McQuaid
1c7fe79968
dev-cmd/pr-upload: fix bad args reference.
Currently breaking CI.
2021-04-23 13:53:43 +01:00
Mike McQuaid
c6a9227e08
More official Homebrew taps
Make `brew alias`, `brew autoupdate` and `brew command-not-found-init`
official commands. This means we:
- make sure we don't break their style with `brew style` changes
- autotap them when you run the command and they aren't installed
- include them in the manpage
2021-04-23 13:43:55 +01:00
Mike McQuaid
e8caa61672
Merge pull request #11215 from MikeMcQuaid/pr_upload_bottle_all
dev-cmd/{bottle,pr-upload}: generate, upload `all: $SHA256` bottles.
2021-04-23 12:59:47 +01:00
BrewTestBot
f04b2ef789
Update RBI files for tapioca. 2021-04-23 05:59:48 +00:00
BrewTestBot
51803969cc
brew vendor-gems: commit updates. 2021-04-23 05:58:57 +00:00
dependabot[bot]
07fee37771
build(deps): bump tapioca from 0.4.20 to 0.4.21 in /Library/Homebrew
Bumps [tapioca](https://github.com/Shopify/tapioca) from 0.4.20 to 0.4.21.
- [Release notes](https://github.com/Shopify/tapioca/releases)
- [Commits](https://github.com/Shopify/tapioca/compare/v0.4.20...v0.4.21)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-23 05:56:44 +00:00
Zach Auten
95c8f445fa Fix bump-formula-pr for taps with ssh remote url. 2021-04-22 22:02:09 -04:00
Markus Reiter
2eaca98505
Avoid “Failure while executing; git config --replace-all homebrew.devcmdrun true exited with 255.” error. 2021-04-22 20:48:29 +02:00
Mike McQuaid
afbe0e8086
Merge pull request #11203 from kthchew/audit-url
audit: specify which URL has a content problem in problem message
2021-04-22 17:26:48 +01:00
Mike McQuaid
bd156d6adb
Merge pull request #11220 from Homebrew/dependabot/bundler/Library/Homebrew/bootsnap-1.7.4
build(deps): bump bootsnap from 1.7.3 to 1.7.4 in /Library/Homebrew
2021-04-22 15:18:04 +01:00
BrewTestBot
57c4ef7d53
Update RBI files for rubocop-performance. 2021-04-22 13:01:40 +00:00
BrewTestBot
d5a0993380
Update RBI files for bootsnap. 2021-04-22 13:01:33 +00:00
BrewTestBot
1ac764b1ea
brew vendor-gems: commit updates. 2021-04-22 13:00:42 +00:00
BrewTestBot
7c3090a8fa
brew vendor-gems: commit updates. 2021-04-22 13:00:35 +00:00
Mike McQuaid
d81b898117
utils/curl: tweak style. 2021-04-22 13:57:28 +01:00
dependabot[bot]
828ac157be
build(deps): bump rubocop-performance in /Library/Homebrew
Bumps [rubocop-performance](https://github.com/rubocop/rubocop-performance) from 1.10.2 to 1.11.0.
- [Release notes](https://github.com/rubocop/rubocop-performance/releases)
- [Changelog](https://github.com/rubocop/rubocop-performance/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-performance/compare/v1.10.2...v1.11.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-22 12:55:09 +00:00
dependabot[bot]
12a41c8578
build(deps): bump bootsnap from 1.7.3 to 1.7.4 in /Library/Homebrew
Bumps [bootsnap](https://github.com/Shopify/bootsnap) from 1.7.3 to 1.7.4.
- [Release notes](https://github.com/Shopify/bootsnap/releases)
- [Changelog](https://github.com/Shopify/bootsnap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Shopify/bootsnap/compare/v1.7.3...v1.7.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-22 12:55:02 +00:00
Kenneth Chew
af594739dc
audit: specify which URL has a content problem in problem message 2021-04-22 13:52:18 +01:00
Mike McQuaid
7af68d0f8e
Fix shellcheck failures
A new version of `shellcheck` (I think?) brought us so new warnings and
errors.

To fix:
- pass `--source-path` so we don't need to stop `shellcheck` trying to
  read sourced files every time
- disable some more warnings/errors we don't care about fixing
2021-04-22 13:18:44 +01:00
Mike McQuaid
521d6b51a6
dev-cmd/{bottle,pr-upload}: generate, upload all: $SHA256 bottles.
Generate `all: $SHA256` bottles if:
- all generated bottles have the same cellar
- all generated bottles have the same checksum

In this case, on `brew bottle --merge --write`: delete all the non-`all`
bottles (and their JSON) and upload only the single one that's
necessary.
2021-04-21 17:10:05 +01:00
Mike McQuaid
0ba5a5dde5
shims/mac/super/pod2man: delete.
Bo98 has confirmed this is not needed on Yosemite (the oldest version of
macOS that we can still be run on).
2021-04-21 14:23:11 +01:00
hyuraku
2b6afea8ed utils/ruby.sh: repair style 2021-04-21 22:19:35 +09:00
hyuraku
d3b07d078f utils/analytics.sh: repair style 2021-04-21 21:12:27 +09:00
Mike McQuaid
e59f93cf19
Merge pull request #11212 from MikeMcQuaid/pod2man_tweaks
pod2man: further tweak logic.
2021-04-21 13:03:15 +01:00
Mike McQuaid
d3edf6155c
Merge pull request #11196 from hyuraku/remove_HOMEBREW_MAKE
remove HOMEBREW_MAKE
2021-04-21 13:01:21 +01:00
hyuraku
05260f4565 utils/lock.sh: repair style 2021-04-21 20:51:50 +09:00
Mike McQuaid
df9ba9512e
pod2man: further tweak logic.
- prioritise the first `pod2man` in the `PATH` if possible. This shim
  was created to handle the case where there isn't one but, if there is,
  we want to allow e.g. using a `pod2man` dependency to override the use
  of the system version
- make `/usr/bin/pod2man` lower priority but still prioritise it over
  a Homebrew-installed `pod2man` that's not in the `PATH` unless it
  doesn't exist.
2021-04-21 12:32:39 +01:00
Mike McQuaid
daa8f7c858
Merge pull request #11210 from MikeMcQuaid/bottle_libarchive_installed
dev-cmd/bottle: fix libarchive installed check.
2021-04-21 12:04:49 +01:00
Mike McQuaid
965dbaa172
dev-cmd/bottle: fix libarchive installed check.
Used now-removed old method name.
2021-04-21 11:39:19 +01:00
Mike McQuaid
443bae5522
pod2man: use newer pod2man.
This shim was originally added in
5c973bad7422cf7f335e952a91ddfa2273aa2e4f to workaround a missing
`/usr/bin/pod2man`. It's now unfortunately resulting in using an older
`pod2man` on newer macOS versions.

Instead, let's use `/usr/bin/pod2man` if it's available and, if not,
work backwards to find the newest available version that is available.
2021-04-21 10:51:18 +01:00
Mike McQuaid
4a3fc2a8fc
dev-cmd/bottle: set uid/gid, use libarchive on macOS.
Take 2 on #11165 but use newish `libarchive` consistently on macOS.
2021-04-21 10:09:35 +01:00