20832 Commits

Author SHA1 Message Date
Shaun Jackman
56f0308fe7
Merge pull request #7575 from rmNULL/master
Skip needed_libraries check when patchelf is the bottle being installed.
2020-05-14 17:52:21 -07:00
rmnull
69e1673a81 skip needed_libraries check when patchelf is the bottle being installed. 2020-05-15 05:36:49 +05:30
Mike McQuaid
1a7525ee2d
Merge pull request #7570 from jonchang/patch-downloaded-resource
resource: fix patching when patch already fetched
2020-05-14 09:57:52 +01:00
Mike McQuaid
8e2718c74e
resource: tweak fetch_patches logic. 2020-05-14 09:20:58 +01:00
Mike McQuaid
8d8f76a83c
Merge pull request #7568 from Homebrew/dependabot/bundler/Library/Homebrew/tins-1.25.0
build(deps): bump tins from 1.24.1 to 1.25.0 in /Library/Homebrew
2020-05-14 08:46:39 +01:00
Mike McQuaid
e5a6a11e2d
Merge pull request #7565 from sl4m/fixes-brew-uninstall
Fixes uninstall if formula is unavailable
2020-05-14 08:45:50 +01:00
Jonathan Chang
2ffb87cb03 resource: fix patching when patch already fetched
This inappropriately modified the shared `patches` variable, meaning an
already fetched patch would be removed and therefore not be applied when
the resource was staged.
2020-05-14 17:09:52 +10:00
dependabot-preview[bot]
e79c7e7bf5
build(deps): bump tins from 1.24.1 to 1.25.0 in /Library/Homebrew
Bumps [tins](https://github.com/flori/tins) from 1.24.1 to 1.25.0.
- [Release notes](https://github.com/flori/tins/releases)
- [Commits](https://github.com/flori/tins/compare/v1.24.1...v1.25.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-14 05:37:53 +00:00
skim
bb27478de0
fixes uninstall if formula is unavailable 2020-05-13 17:56:36 -07:00
Shaun Jackman
0723df3f86
Merge pull request #7550 from sjackman/shell_profile
shell: Use .profile unless .bash_profile exists
2020-05-13 09:52:04 -07:00
Shaun Jackman
133ee7966d shell: Use .profile unless .bash_profile exists 2020-05-13 09:30:02 -07:00
Mike McQuaid
390778f2a5
Merge pull request #7563 from MikeMcQuaid/prepare_patches
Split out prepare_patches and fetch_patches methods.
2020-05-13 12:12:18 +01:00
Mike McQuaid
e86e9c44a7
Merge pull request #7562 from MikeMcQuaid/ops-owners
docs/New-Maintainer-Checklist: clarify ops can get owner.
2020-05-13 11:50:15 +01:00
Mike McQuaid
a7475a2946
Split out prepare_patches and fetch_patches methods.
The new `fetch_patches` method wasn't exclusively fetching so shouldn't
have been skipped when it was.

Fixes #7558.
2020-05-13 11:49:17 +01:00
Mike McQuaid
cb0a9e79d8
docs/New-Maintainer-Checklist: clarify ops can get owner.
This is needed for Bo98 to get access to GitHub Actions shared runners.
2020-05-13 11:24:53 +01:00
Mike McQuaid
41b1faccb1
Merge pull request #7561 from Homebrew/dependabot/bundler/Library/Homebrew/mime-types-data-3.2020.0512
build(deps): bump mime-types-data from 3.2020.0425 to 3.2020.0512 in /Library/Homebrew
2020-05-13 11:18:35 +01:00
Mike McQuaid
a066b2e234
Merge pull request #7560 from EricFromCanada/json-urls
formula JSON: include URLs for non-bottled formulae
2020-05-13 11:18:08 +01:00
dependabot-preview[bot]
5e5e0345f5
build(deps): bump mime-types-data in /Library/Homebrew
Bumps [mime-types-data](https://github.com/mime-types/mime-types-data) from 3.2020.0425 to 3.2020.0512.
- [Release notes](https://github.com/mime-types/mime-types-data/releases)
- [Changelog](https://github.com/mime-types/mime-types-data/blob/master/History.md)
- [Commits](https://github.com/mime-types/mime-types-data/compare/v3.2020.0425...v3.2020.0512)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-13 05:44:42 +00:00
EricFromCanada
580ccab75d formula JSON: include URLs for non-bottled formulae 2020-05-13 00:37:37 -04:00
Bo Anderson
6b6efc5c80
Merge pull request #7556 from dfabulich/formula-formatting
Fix formatting issue in Formula Cookbook
2020-05-12 19:18:08 +01:00
Dan Fabulich
8762fc2d7e Fix formatting issue in Formula Cookbook 2020-05-12 10:34:18 -07:00
Bo Anderson
effeb5a17d
Merge pull request #7555 from Bo98/ci-linuxbrew
workflows/tests: fix for pre-installed Linuxbrew
2020-05-12 18:21:48 +01:00
Bo Anderson
d9ad24f5af workflows/tests: fix for pre-installed Linuxbrew 2020-05-12 17:48:31 +01:00
Mike McQuaid
10c9d96566
Merge pull request #7552 from MikeMcQuaid/fetch-resources-from-source
Fetch (all) resources when building from source
2020-05-12 14:27:52 +01:00
Mike McQuaid
6ed1ccd8e8
Fetch (all) resources when building from source
Also:
- when `brew test` or `brew postinstall` is run allow `Resource#stage`
  to fetch the resource.
- make `Formula#fetch` and `Resource#fetch` fetch external patches too.

Follow-up from #7549 and #7546.
2020-05-12 12:37:54 +01:00
Mike McQuaid
7ef04c01e2
Merge pull request #7554 from MikeMcQuaid/formula_installer_ignore_fetch_deps
formula_installer: ignore dependencies when fetching.
2020-05-12 11:04:32 +01:00
Mike McQuaid
28edd59a59
Merge pull request #7553 from MikeMcQuaid/fork-inner-cmd
utils/fork: check for inner exception command.
2020-05-12 10:51:35 +01:00
Mike McQuaid
a333014c55
formula_installer: ignore dependencies when fetching.
Whenever you are fetching a dependency you only care about fetching that
specific dependency and not all the dependencies of that dependency.

Unlike installing, dependencies can be fetched in any order and have no
"chains" between them.
2020-05-12 10:45:10 +01:00
Mike McQuaid
84a110744a
utils/fork: check for inner exception command.
If it's not present then `ErrorDuringExecution` and `BuildError` don't
work correctly so better to fall back to a default `RuntimeError`.
2020-05-12 10:26:09 +01:00
Mike McQuaid
fdbf935364
Merge pull request #7551 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-0.83.0
build(deps): bump rubocop from 0.82.0 to 0.83.0 in /Library/Homebrew
2020-05-12 09:29:43 +01:00
Mike McQuaid
d84d4f58d9
Merge pull request #7548 from dfabulich/patch-1
Document how to use test fixtures
2020-05-12 09:11:23 +01:00
Mike McQuaid
fe6cca3540
cask/cmd/list: remove deprecated -l.
This crashes `brew style`.
2020-05-12 09:09:59 +01:00
Mike McQuaid
12bdb38663
rubocop: brew style --fix autocorrections. 2020-05-12 08:32:27 +01:00
dfabulich
67ff3c53fe Document how to use test fixtures 2020-05-12 00:27:12 -07:00
dependabot-preview[bot]
b157b3aaf9
build(deps): bump rubocop from 0.82.0 to 0.83.0 in /Library/Homebrew
Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 0.82.0 to 0.83.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.82.0...v0.83.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-12 05:36:44 +00:00
Bo Anderson
a30de680b9
Merge pull request #7549 from Bo98/resource-fetch
resource: restore fetch in stage
2020-05-12 04:12:52 +01:00
Bo Anderson
58cecf38cf resource: restore fetch in stage
Fixes #7546.
2020-05-12 03:24:28 +01:00
Mike McQuaid
fa980e9c42
Merge pull request #7497 from maxim-belkin/reorder-things
brew.sh: check versions of proper cURL and Git
2020-05-11 14:09:59 +01:00
Maxim Belkin
5be4682ecb
brew.sh: add an empty line for code readability
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2020-05-11 07:30:25 -05:00
Maxim Belkin
6455264716
brew.sh: stop if HOMEBREW_GIT_PATH is too old 2020-05-11 07:21:47 -05:00
Maxim Belkin
6ba7ace66a
brew.sh: stop if HOMEBREW_CURL_PATH is too old 2020-05-11 07:17:26 -05:00
Maxim Belkin
6ff307c456
brew.sh: remove unnecessary empty line
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2020-05-11 05:18:04 -05:00
Mike McQuaid
806bdee516
Merge pull request #7124 from MichelleNguy/brew-upgrade
Fetch formula resources before unlinking during upgrade.
2020-05-11 10:03:43 +01:00
Mike McQuaid
4c96ed95da
Merge pull request #7544 from Homebrew/workflow-fix-docker-tag
workflows: fix docker hub pushing
2020-05-11 09:57:49 +01:00
Dawid Dziurla
95c6d3797d
workflows: login without specifying registry 2020-05-11 10:38:38 +02:00
Mike McQuaid
08a9f0e1c0
Use FormulaInstaller#fetch before #prelude. 2020-05-11 09:38:26 +01:00
Mike McQuaid
48918bb5e3
formula_installer: add fetch_dependency method.
This uses `FormulaInstaller#fetch` to recursively fetch dependencies
through the dependency tree and allows `install_dependency` to not
do any fetching.
2020-05-11 09:38:26 +01:00
Michelle Nguyen
2264c08cee
Fetch formula resources before unlinking during upgrade.
Fixes #6374.
2020-05-11 09:37:56 +01:00
Dawid Dziurla
9ecc04fbe4
workflows: fix docker tag 2020-05-11 10:21:08 +02:00
Mike McQuaid
fc56a3d354
Merge pull request #7536 from MikeMcQuaid/official-vendor-taps
docs/How-to-Create-and-Maintain-a-Tap: official vendor taps.
2020-05-11 08:47:21 +01:00