28579 Commits

Author SHA1 Message Date
Mike McQuaid
250233acdf
Merge pull request #11766 from yahavi/private-registry
Add support for private registry
2021-07-27 13:52:38 +01:00
yahavi
1116580502 Implement code review comment 2021-07-27 09:55:22 +03:00
Dawid Dziurla
3e52e8b48a
Merge pull request #11777 from SMillerDev/fix/service/pre_link_error
formula_installer: install service after linking
3.2.5
2021-07-26 22:20:38 +02:00
Sean Molenaar
391b02f870
formula_installer: install service after linking 2021-07-26 21:13:53 +02:00
Mike McQuaid
f76c52445e
Merge pull request #11776 from Homebrew/dependabot/bundler/Library/Homebrew/bootsnap-1.7.6
build(deps): bump bootsnap from 1.7.5 to 1.7.6 in /Library/Homebrew
2021-07-26 19:32:00 +01:00
Nanda H Krishna
73d7b5295e
Merge pull request #11775 from Homebrew/dependabot/bundler/docs/listen-3.6.0
build(deps): bump listen from 3.5.1 to 3.6.0 in /docs
2021-07-26 23:54:16 +05:30
Nanda H Krishna
a1e1859bc9
Merge pull request #11774 from Homebrew/dependabot/bundler/docs/github-pages-216
build(deps-dev): bump github-pages from 215 to 216 in /docs
2021-07-26 23:51:40 +05:30
BrewTestBot
d5f2487f70
Update RBI files for bootsnap. 2021-07-26 18:09:14 +00:00
BrewTestBot
e0edf75b7f
brew vendor-gems: commit updates. 2021-07-26 18:07:12 +00:00
dependabot[bot]
62949f0a12
build(deps): bump bootsnap from 1.7.5 to 1.7.6 in /Library/Homebrew
Bumps [bootsnap](https://github.com/Shopify/bootsnap) from 1.7.5 to 1.7.6.
- [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.5...v1.7.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-26 18:04:34 +00:00
dependabot[bot]
534531ccfa
build(deps): bump listen from 3.5.1 to 3.6.0 in /docs
Bumps [listen](https://github.com/guard/listen) from 3.5.1 to 3.6.0.
- [Release notes](https://github.com/guard/listen/releases)
- [Commits](https://github.com/guard/listen/compare/v3.5.1...v3.6.0)

---
updated-dependencies:
- dependency-name: listen
  dependency-type: indirect
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-26 18:02:31 +00:00
dependabot[bot]
22d538a7e3
build(deps-dev): bump github-pages from 215 to 216 in /docs
Bumps [github-pages](https://github.com/github/pages-gem) from 215 to 216.
- [Release notes](https://github.com/github/pages-gem/releases)
- [Commits](https://github.com/github/pages-gem/compare/v215...v216)

---
updated-dependencies:
- dependency-name: github-pages
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-26 18:01:42 +00:00
yahavi
0335d8c0bc Fix code review comments + disable authorization on redirections 2021-07-26 19:07:23 +03:00
Mike McQuaid
071d769b00
Merge pull request #11770 from kraktus/d
Doc tweaks
3.2.4
2021-07-26 13:35:52 +01:00
Mike McQuaid
4931c6cafc
Merge pull request #11772 from SMillerDev/fix/formula/opt_for_service_helpers
Formula: use opt_prefix for service helpers
2021-07-26 13:19:07 +01:00
Mike McQuaid
e5dfed1b3b
docs/How-To-Open-a-Homebrew-Pull-Request: don't install with debug/verbose. 2021-07-26 13:14:28 +01:00
Mike McQuaid
2f369efba7
Merge pull request #11767 from hyuraku/search_desc_by_formula-or-cask
repair to apply `--formula` and `--cask` options to `brew search  --desc`
2021-07-26 13:13:06 +01:00
Sean Molenaar
869b0ea519
Formula: use opt_prefix for service helpers 2021-07-26 11:11:34 +02:00
Carlo Cabrera
ca4f7aeb00
Merge pull request #11760 from carlocab/show-archs
formula_cellar_checks: show mismatched arch in `check_binary_arches`
2021-07-26 16:34:25 +08:00
yahavi
cc12738f8e Allow anonymous access in private registries 2021-07-26 09:58:34 +03:00
BrewTestBot
0d8caf722b
brew vendor-gems: commit updates. 2021-07-26 02:46:43 +00:00
dependabot[bot]
241bcb262a
build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.6274 to 0.5.6519.
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

---
updated-dependencies:
- dependency-name: sorbet
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-26 02:44:20 +00:00
kraktus
111980932b Docs: remove bottle :unneeded mention
As per Homebrew/homebrew-core#75943
2021-07-25 20:25:18 +02:00
kraktus
c3bbd110d6 Docs: better flags for build/test commands
When creating a new formula, `--build-from-source` should be added. Adding the `--online` flag make the test more thorough.
2021-07-25 20:14:45 +02:00
Carlo Cabrera
542694728c
codesign binaries on ARM 2021-07-25 23:21:26 +08:00
hyuraku
3ccb1f6328 search by desc with formula-cask option 2021-07-25 20:10:35 +09:00
yahavi
b8954030e3 Add support for private registry 2021-07-25 10:50:12 +03:00
Carlo Cabrera
5128b92d3e
Use slightly more suggestive method name for extracting slices
`extract_slice_from` is still a little ambiguous, so let's try to give
it a more suggestive name.
2021-07-25 11:29:33 +08: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
Carlo Cabrera
a8527f4c16
Ensure writability, handle errors 2021-07-24 19:39:47 +08: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
Carlo Cabrera
8e6731b7c7
formula_cellar_checks: show mismatched arch in check_binary_arches
This will make the error more informative by showing the architecture a
binary was built for along with the error message.

Before:

    foo:
      * Binaries built for an incompatible architecture were installed into foo's prefix.
        The offending files are:
          /usr/local/Cellar/foo/1.0/lib/libbar.dylib
          /usr/local/Cellar/foo/1.0/lib/libfoo.dylib
          /usr/local/Cellar/foo/1.0/lib/libincompatible.dylib
        Unexpected universal binaries were found.
        The offending files are:
          /usr/local/Cellar/foo/1.0/lib/liball.dylib
          /usr/local/Cellar/foo/1.0/lib/libuniversal.dylib

After:

    foo:
      * Binaries built for a non-native architecture were installed into foo's prefix.
        The offending files are:
          /usr/local/Cellar/foo/1.0/lib/libbar.dylib        (i386)
          /usr/local/Cellar/foo/1.0/lib/libfoo.dylib        (arm64)
          /usr/local/Cellar/foo/1.0/lib/libincompatible.dylib       (universal)
        Unexpected universal binaries were found.
        The offending files are:
          /usr/local/Cellar/foo/1.0/lib/liball.dylib
          /usr/local/Cellar/foo/1.0/lib/libuniversal.dylib
2021-07-23 11:40:01 +08:00
Bevan Kay
778d5df6d4
add qlplugins check to guess_cask_version 2021-07-22 19:36:50 +10:00
Carlo Cabrera
5e0b786da2
formula: add deuniversalize_machos method
This method takes an optional array of `Pathnames`s or `Strings`s and
extracts the native slice from the specified universal binary. If no
parameter is supplied, this is done on all compatible universal binaries
in a formula's keg.

`deuniversalize_machos` is a no-op on Linux.

I still need to look into a) error handling, and b) whether using this
method requires codesigning on ARM.

I've also added signatures to the methods in `extend/os/linux/formula`.
2021-07-22 01:24:56 +08: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
Bevan Kay
5040ec8142
fix style issues 2021-07-21 16:25:11 +10:00
Bevan Kay
212992a476
fix typecheck, add reference in bump-unversioned-casks 2021-07-21 16:09:09 +10: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