Mike McQuaid
3e355a3089
Improve VSCode extensions/settings
...
- Use more modern and more useful extensions
- Use the Ruby language server as not doing so is deprecated
2023-07-28 11:09:27 +01:00
Bo Anderson
3d44b93116
Merge pull request #15777 from Bo98/manifest-fix
...
keg_relocate: fix all text files being marked as changed
2023-07-28 01:06:16 +01:00
Bo Anderson
599f7af505
github_packages: abort with an error if image index is >= 4MB
2023-07-28 00:43:57 +01:00
Bo Anderson
e5346d8aac
keg_relocate: fix all text files being marked as changed
2023-07-28 00:43:30 +01:00
Nanda H Krishna
3f3003072c
Merge pull request #15776 from Homebrew/dependabot/bundler/Library/Homebrew/rexml-3.2.6
...
build(deps): bump rexml from 3.2.5 to 3.2.6 in /Library/Homebrew
2023-07-27 17:39:44 -04:00
BrewTestBot
1848decd0b
Update RBI files for rexml.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml ) workflow.
2023-07-27 18:37:58 +00:00
BrewTestBot
8d6b579e97
brew vendor-gems: commit updates.
2023-07-27 18:31:51 +00:00
dependabot[bot]
4479cf1ded
build(deps): bump rexml from 3.2.5 to 3.2.6 in /Library/Homebrew
...
Bumps [rexml](https://github.com/ruby/rexml ) from 3.2.5 to 3.2.6.
- [Release notes](https://github.com/ruby/rexml/releases )
- [Changelog](https://github.com/ruby/rexml/blob/master/NEWS.md )
- [Commits](https://github.com/ruby/rexml/compare/v3.2.5...v3.2.6 )
---
updated-dependencies:
- dependency-name: rexml
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-27 18:26:47 +00:00
Mike McQuaid
f56f27b0d6
Merge pull request #15773 from Homebrew/build_pkg_install
...
workflows/build-pkg: actually try to install package.
2023-07-27 16:15:44 +01:00
Mike McQuaid
2b0471c122
workflows/build-pkg: actually try to install package.
...
- This should help avoid this regressing
- Remove existing Homebrew installation(s)
- Install it twice to ensure that installing over the top of an existing
installation works as expected
- Remove existing API cache to ensure we have the freshest files from
the API in our package
2023-07-27 15:51:40 +01:00
Mike McQuaid
f4760edfbf
Merge pull request #15774 from MikeMcQuaid/update_verboser
...
cmd/update: output more API information with `--verbose`.
2023-07-27 15:46:53 +01:00
Mike McQuaid
c4f65f2eee
cmd/update: output more API information with --verbose
.
...
Also, hide some spammy/unnecessary newline printing.
2023-07-27 15:20:59 +01:00
Carlo Cabrera
4c612ab324
Merge pull request #15769 from carlocab/resolve-rpath
...
os/mac/mach: resolve rpaths too
2023-07-27 21:04:51 +08:00
Mike McQuaid
954fc88b15
Merge pull request #15772 from MikeMcQuaid/install_from_api_unsupported_variable
...
Add/use `HOMEBREW_INSTALL_FROM_API_UNSUPPORTED`
2023-07-27 14:04:37 +01:00
Mike McQuaid
21d8f82056
Add/use HOMEBREW_INSTALL_FROM_API_UNSUPPORTED
...
When we're automatically setting `HOMEBREW_NO_INSTALL_FROM_API`
when on an old macOS version or with a non-default prefix (e.g. cases
where you're going to be mostly building from source).
My initial plan was to set
`HOMEBREW_AUTOMATICALLY_SET_NO_INSTALL_FROM_API` in these cases but
it's used differently enough it made sense to add another internal
variable instead: `HOMEBREW_INSTALL_FROM_API_UNSUPPORTED`.
At the moment this is only used to avoid printing the "You have set
`HOMEBREW_NO_INSTALL_FROM_API`" message inside `brew update` but may
make sense to use in other places over time.
Ideally, we'll get rid of these automatic sets of
`HOMEBREW_NO_INSTALL_FROM_API` and perhaps even the variable entirely.
2023-07-27 12:36:54 +01:00
Carlo Cabrera
0a37af54be
Merge pull request #15680 from carlocab/ENV.O2
...
extend/ENV/super: add `ENV.O3`
2023-07-27 19:15:19 +08:00
Mike McQuaid
bb67181b50
Merge pull request #15755 from MikeMcQuaid/document_pkg_installer
...
docs/Installation: document macOS .pkg installer.
2023-07-27 12:03:51 +01:00
Mike McQuaid
3dbccfeac8
Merge pull request #15771 from carlocab/staging-branch-docs
...
docs: add documentation for staging branches
2023-07-27 11:58:33 +01:00
Carlo Cabrera
5b8e2cd48f
docs: add documentation for staging branches
...
Let's get this written down now before I forget how to do this.
2023-07-27 16:32:19 +08:00
Carlo Cabrera
91fe645750
extend/ENV/super: add ENV.O3
...
Having this would have been, or would be, useful on multiple occassions:
- Homebrew/homebrew-core#94724
- Homebrew/homebrew-core#136551
- #15372
I think it's time that we added this back.
2023-07-27 13:57:48 +08:00
Carlo Cabrera
b80940e1d8
os/mac/mach: simplify
...
We can avoid having to define a local variable and then reference it
inside these blocks by passing a proc instead.
2023-07-27 12:02:20 +08:00
Carlo Cabrera
acae97e70f
os/mac/mach: resolve rpaths too
...
We can add a small amount of logic to `#resolve_variable_name` that will
allow us to perform (limited) resolution of rpath references. This is
for informational purposes only: failing to resolve an `@rpath`
reference will not (and should not) result in `brew linkage` failures.
`dyld` will typically have more information than we do to resolve these
references, so not failing `brew linkage` when we fail to resolve an
`@rpath` reference is the right behaviour here.
As an example, before:
❯ brew linkage jpeg-turbo
System libraries:
/usr/lib/libSystem.B.dylib
@rpath-referenced libraries:
@rpath/libjpeg.8.dylib
@rpath/libturbojpeg.0.dylib
After:
❯ brew linkage jpeg-turbo
System libraries:
/usr/lib/libSystem.B.dylib
Homebrew libraries:
/usr/local/Cellar/jpeg-turbo/3.0.0/lib/libjpeg.8.dylib (jpeg-turbo)
/usr/local/Cellar/jpeg-turbo/3.0.0/lib/libturbojpeg.0.dylib (jpeg-turbo)
2023-07-27 12:02:20 +08:00
Carlo Cabrera
3db1acf3e3
Merge pull request #15768 from carlocab/source-install-from-api
...
Revert "brew.sh: don't set `HOMEBREW_NO_INSTALL_FROM_API` automatically."
4.1.2
2023-07-27 11:49:20 +08:00
Carlo Cabrera
e576fe0062
Revert "brew.sh: don't set HOMEBREW_NO_INSTALL_FROM_API
automatically."
...
https://github.com/Homebrew/brew/pull/15765#issuecomment-1652856355
This reverts commit d9bc51f8171b49486a871a8bb12a2629df28a519.
2023-07-27 11:35:37 +08:00
Nanda H Krishna
a0457c3695
Merge pull request #15767 from Homebrew/dependabot/bundler/Library/Homebrew/minitest-5.19.0
...
build(deps): bump minitest from 5.18.1 to 5.19.0 in /Library/Homebrew
2023-07-26 19:30:36 -04:00
BrewTestBot
1e6ba9f4b3
Update RBI files for minitest.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml ) workflow.
2023-07-26 19:01:58 +00:00
BrewTestBot
7958228b69
brew vendor-gems: commit updates.
2023-07-26 18:56:31 +00:00
dependabot[bot]
c7fbf894eb
build(deps): bump minitest from 5.18.1 to 5.19.0 in /Library/Homebrew
...
Bumps [minitest](https://github.com/minitest/minitest ) from 5.18.1 to 5.19.0.
- [Changelog](https://github.com/minitest/minitest/blob/master/History.rdoc )
- [Commits](https://github.com/minitest/minitest/compare/v5.18.1...v5.19.0 )
---
updated-dependencies:
- dependency-name: minitest
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-26 18:52:04 +00:00
Mike McQuaid
fc86485e9a
Merge pull request #15766 from MikeMcQuaid/analytics_fix_at
...
analytics: fix `@` in formulae names with `--github-packages-downloads`
2023-07-26 16:59:44 +01:00
Mike McQuaid
dda839c27b
analytics: fix @
in formulae names with --github-packages-downloads
2023-07-26 16:46:23 +01:00
Mike McQuaid
a6d12c69d2
docs/Installation: document macOS .pkg installer.
...
While we're here, also make the ARM prefix first.
2023-07-26 15:59:49 +01:00
Mike McQuaid
818ede51bf
Merge pull request #15765 from MikeMcQuaid/more_install_from_api
...
brew.sh: don't set `HOMEBREW_NO_INSTALL_FROM_API` automatically.
2023-07-26 15:59:27 +01:00
Mike McQuaid
03a25c3bcd
Merge pull request #15762 from Homebrew/pkg_api_cache
...
pkg installer: install cached API data.
2023-07-26 15:48:13 +01:00
Mike McQuaid
d9bc51f817
brew.sh: don't set HOMEBREW_NO_INSTALL_FROM_API
automatically.
...
My understanding from conversations with Bo98 is that this should now
work fine on both older macOS versions and non-default prefixes.
Similarly, it's super confusing when this is set automatically and you
can't figure out why...
2023-07-26 15:36:04 +01:00
Mike McQuaid
b00a95b678
pkg installer: install cached API data.
...
Continuing with the goals of making the installer:
- more useful
- entirely offline
Let's pre-download the API data from a `brew update` run and install it
into the logged-in user's home directory.
While we're here, in the `postinstall` script:
- use longer arguments for various commands
- fix an issue with symlinking on Intel if `/usr/local/bin` doesn't
already exist
- unset `bash -x` and use `-v` on more commands instead
2023-07-26 15:32:14 +01:00
Mike McQuaid
c7e48ceebb
Merge pull request #15756 from Homebrew/imgbot
...
[ImgBot] Optimize images
2023-07-26 11:59:53 +01:00
Carlo Cabrera
302e68e89f
Merge pull request #15761 from carlocab/macho-todo
...
Implement ruby-macho TODOs
2023-07-26 18:59:34 +08:00
Carlo Cabrera
3dfa8bc98b
Merge pull request #15760 from branchvincent/cargo-type
...
formula: fix `std_cargo_args` type error
2023-07-26 14:14:05 +08:00
Branch Vincent
8b016141cd
formula: fix std_cargo_args
type error
2023-07-25 20:41:16 -07:00
Carlo Cabrera
62c2c335e5
Merge pull request #15757 from Homebrew/dependabot/bundler/Library/Homebrew/zeitwerk-2.6.9
...
build(deps): bump zeitwerk from 2.6.8 to 2.6.9 in /Library/Homebrew
2023-07-26 11:31:51 +08:00
Carlo Cabrera
6b728bf3bd
Implement ruby-macho TODOs
...
We now have the new release of ruby-macho (#15758 ), so we can now
finish off the remaining work from #15731 .
2023-07-26 11:15:19 +08:00
Carlo Cabrera
da12e7557c
Merge pull request #15759 from Homebrew/sorbet-files-update
...
sorbet: Update RBI files.
2023-07-26 11:02:40 +08:00
Carlo Cabrera
ccf0caffab
Merge pull request #15758 from Homebrew/dependabot/bundler/Library/Homebrew/ruby-macho-4.0.0
2023-07-26 10:52:35 +08:00
BrewTestBot
abc7e819d6
sorbet: Update RBI files.
...
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml ) workflow.
2023-07-26 00:29:10 +00:00
BrewTestBot
08152647e4
Update RBI files for ruby-macho.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml ) workflow.
2023-07-25 18:30:55 +00:00
BrewTestBot
e612ae92c4
Update RBI files for zeitwerk.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml ) workflow.
2023-07-25 18:30:05 +00:00
BrewTestBot
e91b64d138
brew vendor-gems: commit updates.
2023-07-25 18:25:53 +00:00
BrewTestBot
4d68b9b158
brew vendor-gems: commit updates.
2023-07-25 18:25:06 +00:00
dependabot[bot]
051f3e719f
build(deps): bump ruby-macho from 3.0.0 to 4.0.0 in /Library/Homebrew
...
Bumps [ruby-macho](https://github.com/Homebrew/ruby-macho ) from 3.0.0 to 4.0.0.
- [Release notes](https://github.com/Homebrew/ruby-macho/releases )
- [Commits](https://github.com/Homebrew/ruby-macho/compare/v3.0.0...v4.0.0 )
---
updated-dependencies:
- dependency-name: ruby-macho
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-25 18:22:05 +00:00
dependabot[bot]
b7aec8ee36
build(deps): bump zeitwerk from 2.6.8 to 2.6.9 in /Library/Homebrew
...
Bumps [zeitwerk](https://github.com/fxn/zeitwerk ) from 2.6.8 to 2.6.9.
- [Changelog](https://github.com/fxn/zeitwerk/blob/main/CHANGELOG.md )
- [Commits](https://github.com/fxn/zeitwerk/compare/v2.6.8...v2.6.9 )
---
updated-dependencies:
- dependency-name: zeitwerk
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-25 18:20:41 +00:00