22442 Commits

Author SHA1 Message Date
Sean Molenaar
0e27ec707b
Update Library/Homebrew/extend/os/mac/caveats.rb
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2021-05-02 15:25:47 +02:00
Sean Molenaar
3ab21cc412
services: replace plist_options :manual with service command 2021-05-01 16:20:47 +02:00
Mike McQuaid
635029407b
Merge pull request #11280 from MikeMcQuaid/earlier_install_bundler_gems
dev-cmd: run Homebrew.install_bundler_gems! earlier.
2021-04-30 14:08:03 +01:00
Mike McQuaid
670bea02c1
formula_installer: don't require unpinning build deps when pouring.
Fixes #11294
2021-04-30 12:17:05 +01:00
Mike McQuaid
08926fb1ec
dev-cmd: run Homebrew.install_bundler_gems! earlier.
Run `Homebrew.install_bundler_gems!` a bit earlier for some developer
commands to avoid printing gem installation output in the middle of
normal developer command output.
2021-04-30 12:00:28 +01:00
BrewTestBot
59879b5d14
sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2021-04-30 00:11:34 +00:00
Mike McQuaid
2fa973bb3b
Merge pull request #11259 from bluelabsio/bottle-root-url-specs
dev-cmd/bottle: Support adding root_url specs to bottle spec
2021-04-29 19:54:53 +01:00
Bo Anderson
33711461f0
Merge pull request #11134 from Bo98/ignorable-formulary
Introduce Ignorable module and provide the facility to try and ignore errors when loading historical formulae
2021-04-29 19:39:55 +01:00
Chris Wegrzyn
68852c9162 Style fix 2021-04-29 12:51:15 -04:00
Chris Wegrzyn
ee8dc058d8 Better help text 2021-04-29 12:37:22 -04:00
Chris Wegrzyn
ffbabfd238 Rename download-strategy to root-url-using 2021-04-29 12:37:20 -04:00
Chris Wegrzyn
76607bbb6f Simplify conditional as suggested
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2021-04-29 12:35:50 -04:00
Chris Wegrzyn
3f60c95425 --download-strategy instead of --root-url-spec 2021-04-29 12:35:48 -04:00
Chris Wegrzyn
02987c2649 Add test 2021-04-29 12:34:07 -04:00
Chris Wegrzyn
4025dce097 Support adding root_url specs in bottle output 2021-04-29 12:34:03 -04:00
Mike McQuaid
dcf03173e9
dev-cmd/bottle: remove double [tag].
Fixes https://github.com/Homebrew/brew/pull/11283#discussion_r623181245
2021-04-29 17:08:23 +01:00
Mike McQuaid
7ba634ccb4
Merge pull request #11283 from MikeMcQuaid/no_bottle_changes_error_handling
dev-cmd/bottle: handle empty collector tags.
2021-04-29 16:32:35 +01:00
Michka Popoff
1a27e4fd4a
Merge pull request #11278 from iMichka/bottle
bottle: do not fail on missing bottle block
2021-04-29 17:22:39 +02:00
Mike McQuaid
f9589429d6
dev-cmd/bottle: handle empty collector tags.
Fixes https://github.com/Homebrew/homebrew-core/runs/2467738434?check_suite_focus=true#step:6:458
2021-04-29 16:00:22 +01:00
Mike McQuaid
9a65c70d90
Merge pull request #11282 from MikeMcQuaid/no_identical_bottle_rebuilds
dev-cmd: avoid uploading identical bottles.
2021-04-29 15:20:07 +01:00
Mike McQuaid
8e6ddb75d3
Merge pull request #11277 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-rspec-2.3.0
build(deps): bump rubocop-rspec from 2.2.0 to 2.3.0 in /Library/Homebrew
2021-04-29 14:56:55 +01:00
Mike McQuaid
d44d686cd5
dev-cmd: avoid uploading identical bottles.
If the `rebuild`, `root_url`, `cellar` and checksums are all identical
between an old and new bottle block: we don't need a new bottle at
all. Handle this by deleting the relevant files with
`brew bottle --merge --write` and gracefully notifying the caller of
`brew pr-upload`.

This should avoid e.g.
39340a11ea
occurring in future.
2021-04-29 14:48:45 +01:00
Sean Molenaar
967d92f076
Merge pull request #11279 from SMillerDev/fix/service/args
services: fix array being flattened
2021-04-29 15:30:43 +02:00
Michka Popoff
697edce654
bottle: do not fail on missing bottle block
For :all bottle blocks in linuxbrew-core, we are going to remove the bottle
block completely before rebottling.
In linuxbrew-core, we use --keep-old to keep the macOS sha lines.

I am not sure why this exception was written initially, but it
now prevents bottling these formulae, because we have no bottle block
and use --keep-old.

I think it's safe to just skip this check, when there is no bottle block
the old_checksum can just directly return nil.
2021-04-29 14:45:47 +02:00
Sean Molenaar
d4197835bb
services: fix array being flattened 2021-04-29 09:43:39 +02:00
BrewTestBot
6d308a6ea4
Update RBI files for rubocop-rspec. 2021-04-29 05:57:12 +00:00
BrewTestBot
77c40acd26
brew vendor-gems: commit updates. 2021-04-29 05:56:23 +00:00
dependabot[bot]
b61adcf6c9
build(deps): bump rubocop-rspec from 2.2.0 to 2.3.0 in /Library/Homebrew
Bumps [rubocop-rspec](https://github.com/rubocop/rubocop-rspec) from 2.2.0 to 2.3.0.
- [Release notes](https://github.com/rubocop/rubocop-rspec/releases)
- [Changelog](https://github.com/rubocop/rubocop-rspec/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-rspec/compare/v2.2.0...v2.3.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-29 05:54:09 +00:00
Bo Anderson
a038110115
dev-cmd/bottle: fix all JSON filename 2021-04-28 22:38:06 +01:00
Mike McQuaid
40a36e422e
dev-cmd/bottle: output more filenames when verbose.
More debugging for the bottle rebuild workflow.
2021-04-28 20:25:02 +01:00
Mike McQuaid
16d5472e4b
dev-cmd/bottle: improve filename handling.
Rely more heavily on the `Bottle::Filename` class rather than hacking
around things manually.

Without this the rebuilding bottles workflow is broken for `all:`
bottles.
2021-04-28 17:10:46 +01:00
Mike McQuaid
20eeb5aca0
dev-cmd/bottle: add missing verbose puts.
These were added but didn't actually output anything...
2021-04-28 14:23:09 +01:00
Rylan Polster
9dadfc20c4
Merge pull request #10813 from kidonng/fish-args
Conditional formulae and casks completion for Fish
2021-04-28 08:20:04 -04:00
Mike McQuaid
9e6c4f1fc7
Merge pull request #11269 from MikeMcQuaid/pr_upload_bottle_verbose
dev-cmd: add more --verbose bottle, pr-upload output.
2021-04-28 13:16:38 +01:00
Mike McQuaid
d6efa5a76a
Merge pull request #11246 from hyuraku/cmd_repair-style
Cmd repair style
2021-04-28 13:06:48 +01:00
Mike McQuaid
dd201a219c
dev-cmd: add more --verbose bottle, pr-upload output.
This should make it easier to debug `all:` bottle upload failures.

While we're here, remove the weird `_` that ended up at the end of a
method name.
2021-04-28 12:48:24 +01:00
hyuraku
67c5006b0a cmd/shellenv.sh: repair style and set HOMEBREW_CASK_REPOSITORY 2021-04-28 20:47:39 +09:00
hyuraku
d68e1fccbc cmd/--version: repair style 2021-04-28 20:47:24 +09:00
Rylan Polster
49e25e6b83
Fix tests 2021-04-27 20:30:23 -04:00
Rylan Polster
4e1211d427
Only check for flags if the command defines them 2021-04-27 19:42:28 -04:00
Kid
9dd15d3ca9
Conditional formulae and casks completion for Fish 2021-04-27 19:19:39 -04:00
Bo Anderson
7ee76b85d5
unpack_strategy/zip: ensure consistent timezone management 2021-04-27 20:29:18 +01:00
Bo Anderson
0deddcfd9f
upgrade: fix broken dependents never being built from source 2021-04-27 17:16:15 +01:00
hyuraku
18a230dfd5 cmd/casks.sh: repair style 2021-04-27 23:09:58 +09:00
Mike McQuaid
9680801712
Merge pull request #11256 from dtrodrigues/man-prof-silicon
Allow man and prof Apple Silicon
2021-04-27 15:06:43 +01:00
Mike McQuaid
af1e39797d
Merge pull request #11253 from Bo98/gnu-tar
dev-cmd/bottle: use gnu-tar universally, sort entries & use PAX
2021-04-27 14:37:27 +01:00
Bo Anderson
b0cef64c53
dev-cmd/bottle: use gnu-tar universally, sort entries & use PAX 2021-04-27 14:15:17 +01:00
Sean Molenaar
2ec4125178
Audit: make sure service commands exist 2021-04-27 09:36:36 +02:00
Dustin Rodrigues
68246e48c7
prof: allow to run on Apple Silicon 2021-04-27 00:09:45 -04:00
Dustin Rodrigues
1781f01d28
man: allow to run on Apple Silicon 2021-04-27 00:09:31 -04:00