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
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