28285 Commits

Author SHA1 Message Date
Sean Molenaar
869b0ea519
Formula: use opt_prefix for service helpers 2021-07-26 11:11:34 +02:00
Rylan Polster
5ec335188f
Merge pull request #11754 from Rylan12/update-preinstall-check
Use Homebrew/brew when checking `HOMEBREW_AUTO_UPDATE_SECS`
2021-07-24 13:21:41 -04:00
Nanda H Krishna
4cf2820943
Merge pull request #11763 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-1.18.4
build(deps): bump rubocop from 1.18.3 to 1.18.4 in /Library/Homebrew
2021-07-23 23:59:22 +05:30
Nanda H Krishna
62c44e24ab
Merge pull request #11762 from Homebrew/dependabot/github_actions/codecov/codecov-action-2.0.2
build(deps): bump codecov/codecov-action from 2.0.1 to 2.0.2
2021-07-23 23:51:45 +05:30
BrewTestBot
485c9777d3
Update RBI files for rubocop. 2021-07-23 18:07:57 +00:00
BrewTestBot
b559e202c8
brew vendor-gems: commit updates. 2021-07-23 18:05:44 +00:00
dependabot[bot]
d51bf3231e
build(deps): bump rubocop from 1.18.3 to 1.18.4 in /Library/Homebrew
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.18.3 to 1.18.4.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v1.18.3...v1.18.4)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-23 18:03:03 +00:00
dependabot[bot]
53b399db1f
build(deps): bump codecov/codecov-action from 2.0.1 to 2.0.2
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 2.0.1 to 2.0.2.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](c585afe366...51d810878b)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-23 18:02:35 +00:00
Michka Popoff
2689957a08
Merge pull request #11761 from iMichka/debian
brews.sh: change HOMEBREW_MINIMUM_CURL_VERSION only for debian 7
2021-07-23 15:27:45 +02:00
Michka Popoff
bc8613cbe8
brews.sh: change HOMEBREW_MINIMUM_CURL_VERSION only for debian 7
I am not sure why we also checked for HOMEBREW_FORCE_HOMEBREW_ON_LINUX.
If the minimum curl version needs to be changed, we should introduce
specific env variables for each case that needs it, instead of
asking for HOMEBREW_FORCE_HOMEBREW_ON_LINUX to be set too (which is not the case
in the linuxbrew-core repo for example)
2021-07-23 14:51:35 +02:00
Rylan Polster
b18bbacced
Merge pull request #11714 from Rylan12/developer
Add `brew developer` command
2021-07-21 09:53:04 -04:00
Rylan Polster
35c9df43a2
Merge pull request #11753 from Rylan12/no-bottle-message
BottleAPI: include formula name in error message
2021-07-21 09:50:57 -04:00
Sam Ford
0e6dc7badb
Merge pull request #11749 from samford/allow-configuration-of-std-cargo-args
Formula: Allow configuration of std_cargo_args
2021-07-21 09:44:20 -04:00
Carlo Cabrera
84f55cd8f1
Merge pull request #11755 from carlocab/binary-arch-missing
formula_installer: add `tap_audit_exception` stub
2021-07-21 16:18:37 +08:00
Carlo Cabrera
78ad5a870c
formula_installer: add tap_audit_exception stub
`FormulaInstaller` calls `audit_installed` at install time, which
invokes methods in `FormulaCellarChecks`. One of these methods makes a
call to `tap_audit_exception` (cf. #11750), but this method isn't
visible in `FormulaInstaller`.

Instead of trying to replicate the logic of `tap_audit_exception` in
`FormulaAuditor` (or trying to initialise an instance of one to make the
call to `FormulaAuditor`'s implementation of it), let's just implement a
stub that assumes an exception always exists.

I'll need to think a bit about whether this is the right fix for this,
but currently the missing method error is blocking PRs in Homebrew/core,
so let's go with this for now. [1]

[1] e.g. Homebrew/homebrew-core#81388, Homebrew/homebrew-core#81582
2021-07-21 15:46:04 +08:00
Rylan Polster
3dddbe39fa
Use Homebrew/brew when checking HOMEBREW_AUTO_UPDATE_SECS 2021-07-21 03:10:08 -04:00
Carlo Cabrera
eb27ba4832
Merge pull request #11750 from carlocab/audit-archs-fixed
formula_cellar_checks: handle universal binaries in `check_binary_arches`
2021-07-21 12:45:03 +08:00
Carlo Cabrera
a29098c813
Use #partition to simplify extracting compatible_universal_binaries 2021-07-21 12:05:54 +08:00
Sam Ford
e125e2b3ef
Merge pull request #11746 from samford/livecheck/sourceforge-do-not-modify-rss-urls
Sourceforge: Do not modify RSS URLs
2021-07-20 18:17:39 -04:00
Rylan Polster
58f1cc2e6d
BottleAPI: include formula name in error message 2021-07-20 18:12:04 -04:00
Rylan Polster
e2d29b70f7
Merge pull request #11752 from Homebrew/update-man-completions
Update maintainers, manpage and completions.
2021-07-20 18:10:33 -04:00
Sam Ford
2fe77f5271
Formula: Allow configuration of std_cargo_args 2021-07-20 18:04:35 -04:00
BrewTestBot
9ed18a15e1
Update maintainers, manpage and completions.
Autogenerated by the [update-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/update-man-completions.yml) workflow.
2021-07-20 21:53:03 +00:00
Rylan Polster
81d89803db
Remove extra HOMEBREW_NO_DEV_CMD_MESSAGE line 2021-07-20 11:50:53 -04:00
Rylan Polster
27ba803bb5
Remove need for HOMEBREW_NO_DEV_CMD_MESSAGE 2021-07-20 11:47:31 -04:00
Carlo Cabrera
1d5bc01f4e
Merge pull request #11734 from carlocab/deprecate-autosquash
dev-cmd/pr-publish: pass `--autosquash` by default
2021-07-20 19:47:01 +08:00
Carlo Cabrera
699051b3c3
Use #present? instead of #any? 2021-07-20 18:53:53 +08:00
Carlo Cabrera
663aee0a67
Fix style
The linter complained about useless assignment to
`universal_binaries_expected`. It wasn't useless, but ok.
2021-07-20 18:48:40 +08:00
Carlo Cabrera
239fd06728
Enforce universal binary check only for Homebrew/core
Also, prefer `if` to `unless`.
2021-07-20 18:40:19 +08:00
Mike McQuaid
d8c37c3fff
Merge pull request #11751 from Homebrew/update-man-completions
Update maintainers, manpage and completions.
2021-07-20 11:37:49 +01:00
BrewTestBot
a456f55e20
Update maintainers, manpage and completions.
Autogenerated by the [update-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/update-man-completions.yml) workflow.
2021-07-20 10:16:39 +00:00
Mike McQuaid
acc5d68654
Merge pull request #11731 from gromgit/extract/fix_load
extract: ignore syntax errors during load
2021-07-20 11:15:10 +01:00
Carlo Cabrera
252453655e
Merge pull request #11748 from carlocab/search-help-text 2021-07-20 18:14:40 +08:00
Mike McQuaid
41d62e9084
Merge pull request #11739 from Logicer16/dont-ask-for-a-PAT-if-one-already-exists
GitHub/API: Don't ask for a PAT if one already exists
2021-07-20 10:48:06 +01:00
Carlo Cabrera
55cc1eb8b0
Check tap_audit_exception only if tap is present 2021-07-20 13:08:15 +08:00
Carlo Cabrera
1678a3785e
Fix logic in check_binary_arches 2021-07-20 12:35:09 +08:00
Carlo Cabrera
7b74730f9d
formula_cellar_checks: fix universal binary handling
The `check_binary_arches` audit will fail any formula that produces
universal binaries. We have a handful of formulae in Homebrew/core that
do this (see any formula that does `ENV.permit_arch_flags`, for
example). Moreover, some third party taps may have their own formulae
that build universal binaries.

I've updated the check so that it ignores a formula that produces
universal binaries whenever the formula is in the appropriate allowlist.
We'll need to create one in Homebrew/core for the handful of formulae
that do (expectedly) build universal binaries.

If we don't want to maintain an allowlist, we can easily modify this to
pass over any formulae that builds compatible universal binaries.

I've also fixed the spacing of the error this audit produces whenever
there is more than one file that fails the audit.
2021-07-20 12:15:59 +08:00
Rylan Polster
ac9bdd030a
Merge pull request #11745 from Homebrew/dependabot/github_actions/codecov/codecov-action-2.0.1
build(deps): bump codecov/codecov-action from 1.5.2 to 2.0.1
2021-07-19 22:12:27 -04:00
Rylan Polster
e74845833f
Merge pull request #11744 from Homebrew/dependabot/bundler/docs/ruby2_keywords-0.0.5
build(deps): bump ruby2_keywords from 0.0.4 to 0.0.5 in /docs
2021-07-19 22:09:17 -04:00
Logicer
7beb1f227c
Update Library/Homebrew/utils/github/api.rb
Co-authored-by: Rylan Polster <rslpolster@gmail.com>
2021-07-20 12:06:04 +10:00
Adrian Ho
a14d8924de extract: ignore syntax errors during load 2021-07-20 09:57:04 +08:00
Carlo Cabrera
ae788550f9
Show replacement command in odeprecated
Co-authored-by: Rylan Polster <rslpolster@gmail.com>
2021-07-20 09:39:51 +08:00
Carlo Cabrera
955ed5fc98
Merge pull request #11747 from Homebrew/update-man-completions
Update maintainers, manpage and completions.
2021-07-20 09:36:52 +08:00
Carlo Cabrera
349a485886
Merge pull request #11742 from carlocab/pour-default-prefix
formula: add `:default_prefix` as a standard `pour_bottle?` requirement
2021-07-20 09:34:58 +08:00
Carlo Cabrera
219fffb700
cmd/search: tweak help text
See https://github.com/Homebrew/brew/pull/11736#discussion_r672233442.
2021-07-20 09:32:37 +08:00
Carlo Cabrera
9370c7cca7
Fix logic error in pr-automerge
Co-authored-by: Rylan Polster <rslpolster@gmail.com>
2021-07-20 09:28:38 +08:00
Carlo Cabrera
4d77e01273
Remove on_macos block 2021-07-20 09:07:09 +08:00
BrewTestBot
1aa2a2052c
Update maintainers, manpage and completions.
Autogenerated by the [update-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/update-man-completions.yml) workflow.
2021-07-20 00:05:32 +00:00
Carlo Cabrera
608e501756
Merge pull request #11736 from carlocab/search-repology
cmd/search: add repology
2021-07-20 08:03:13 +08:00
Logicer
ed4f840a67
Fix style 2021-07-20 09:22:34 +10:00