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
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
dda839c27b
analytics: fix @
in formulae names with --github-packages-downloads
2023-07-26 16:46:23 +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
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
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
Mike McQuaid
471e733641
Merge pull request #15754 from MikeMcQuaid/cask_url_class
...
cask/url: accept `Class` for `using`.
2023-07-25 16:04:48 +01:00
Mike McQuaid
712a824c9e
Merge pull request #15753 from woodruffw-forks/ww/bad-type
...
utils/pypi: fix an incorrect return type
2023-07-25 16:00:32 +01:00
Mike McQuaid
4b9c031e1b
Merge pull request #15725 from razvanazamfirei/bump-cask-pr-arch
...
`bump-cask-pr`: add arch-specific version support
2023-07-25 15:52:36 +01:00
Mike McQuaid
7d153d34e9
cask/url: accept Class
for using
.
...
Fixes #15750 .
2023-07-25 15:50:49 +01:00
William Woodruff
81b768a978
utils/pypi: fix an incorrect return type
...
Signed-off-by: William Woodruff <william@yossarian.net>
2023-07-25 10:36:49 -04:00
Razvan Azamfirei
33375ae938
rename class and reorganize files
2023-07-25 06:41:38 -04:00
Mike McQuaid
71a4421c6c
cmd/install: add missing require.
...
Fixes #15748
2023-07-25 10:08:49 +01:00
Mike McQuaid
a78173b419
Merge pull request #15746 from apainintheneck/install-cmd-should-upgrade-existing-casks
...
cmd/install: upgrade already installed casks
2023-07-25 08:21:52 +01:00
Douglas Eichelberger
a4ca2b9e0b
remove unnecessary casts
2023-07-24 22:08:52 -07:00
Douglas Eichelberger
b5c145cfa9
Add init sig as well
2023-07-24 14:12:47 -07:00
Douglas Eichelberger
08e46c18cd
Add type to Formula attrs
2023-07-24 14:12:36 -07:00
Mike McQuaid
62e54c3387
Merge pull request #15693 from EricFromCanada/assume-untapped
...
docs: assume core repositories are untapped
2023-07-24 15:20:01 +01:00
Mike McQuaid
4e168a1588
Merge pull request #15744 from dduugg/formula-type-fix
...
Fix type error when running 'brew doctor'
2023-07-24 15:19:09 +01:00
Douglas Eichelberger
479ca5e314
Fix test
2023-07-24 07:01:57 -07:00
Douglas Eichelberger
a46430a390
Fix type error when running 'brew doctor'
2023-07-24 07:00:26 -07:00
Eric Knibbe
b6c49b7a2d
docs: assume core repositories are untapped
2023-07-24 09:55:56 -04:00
Carlo Cabrera
1ded074734
Merge pull request #15731 from carlocab/better-rpath-handling
...
extend/os/mac/keg_relocate: improve rpath handling
2023-07-24 21:53:32 +08:00
Mike McQuaid
3b3300546b
Merge pull request #15741 from dduugg/stict-type-string_inreplace_extension
2023-07-24 08:40:46 +01:00
Mike McQuaid
3980bc9c1e
Merge pull request #15736 from Bo98/pr-pull-branch-warn-fix
2023-07-24 08:35:29 +01:00
Douglas Eichelberger
11bb278284
Support Pathname as second arg to gsub!
2023-07-23 21:14:21 -07:00
Douglas Eichelberger
6d53c52d2c
Add sigs to Formula boolean methods
2023-07-23 21:05:02 -07:00
Branch Vincent
b7775fa007
formula: fix std_pip_args
with empty prefix
2023-07-23 20:35:44 -07:00
Douglas Eichelberger
cec3daf6be
Fix type regression
2023-07-23 19:48:48 -07:00
apainintheneck
c9dea04bd4
cmd/install: upgrade already installed casks
...
Previously, the behavior was to warn users that a cask was already
installed and then skip modifying the installed version. This is
different to how we handled things with formulas. For them we would
upgrade any already installed formulas. This just brings casks in line
with what we already do with formulas.
Changes:
- cmd/install: Upgrade already installed casks if HOMEBREW_NO_INSTALL_UPGRADE
is not set
- env_config: Update wording of HOMEBREW_NO_INSTALL_UPGRADE to include casks
- remove error that was only used to alert about already installed casks
Note:
- The upgrade command for casks defaults to --greedy when you pass named casks
to the command which means that this will always default to that behavior
since you must specify the name of the cask when installing.
2023-07-23 18:50:39 -07:00
Douglas Eichelberger
09885cad3a
Add sigs to Formula pathname methods
2023-07-23 18:42:06 -07:00
Douglas Eichelberger
c7369b7ea9
Strict type string_inreplace_extension
2023-07-23 15:56:26 -07:00
Eric Knibbe
0e8d1e0bec
Merge pull request #15737 from EricFromCanada/tap-remote-repair
...
cmd/tap: ensure remote exists before repairing
2023-07-23 14:27:41 -04:00
Carlo Cabrera
bf2b99e770
Merge pull request #15739 from carlocab/inreplace-typecheck
...
utils/inreplace: fix typechecking error
2023-07-23 18:40:45 +08:00
Carlo Cabrera
fa384b7cc3
utils/inreplace: fix typechecking error
...
Fixes
TypeError: Parameter 'before': Expected type T.nilable(T.any(Regexp, String)), got type Pathname with value #<Pathname:/opt/homebrew/Cellar/php@8.1/8.1.21/lib/php>
Caller: /opt/homebrew/Library/Homebrew/formula.rb:2484
Definition: /opt/homebrew/Library/Homebrew/utils/inreplace.rb:48
https://github.com/Homebrew/homebrew-core/actions/runs/5635089949/job/15266014851#step:3:1737
2023-07-23 18:23:04 +08:00
Carlo Cabrera
7cc79eaff4
Merge pull request #15738 from carlocab/inreplace-typecheck
...
formula: fix `inreplace` typechecking error
2023-07-23 15:37:11 +08:00
Carlo Cabrera
a1bf42cc89
formula: fix inreplace
typechecking error
...
Fixes
TypeError: Parameter 'before': Expected type T.nilable(T.any(Regexp, String)), got type Pathname with value #<Pathname:/opt/homebrew/Cellar/php/8.2.8/lib/php>
Caller: /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/php.rb:207
Definition: /opt/homebrew/Library/Homebrew/formula.rb:2483
https://github.com/Homebrew/homebrew-core/actions/runs/5635089949/job/15265751616?pr=137335#step:3:1732
2023-07-23 15:23:45 +08:00
EricFromCanada
d47aa103d2
cmd/tap: ensure remote exists before repairing
2023-07-23 00:42:09 -04:00
EricFromCanada
ca3fe811de
formula_creator: require version before creating
2023-07-23 00:05:43 -04:00