Branch Vincent
e5ed11a5b7
pypi: support updating resources for git clones
2023-08-05 17:12:23 -07:00
Branch Vincent
61d23fef53
formula: use pip's --no-compile
2023-08-05 16:39:29 -07:00
apainintheneck
0979f7c35f
cmd/bump: add --installed flag
...
This allows users to only try to bump formulae and casks they
currently have installed. It copies this behavior from the
livecheck command.
2023-08-05 10:01:11 -07:00
Carlo Cabrera
3eb48a828d
Merge pull request #15828 from carlocab/recursive-rpaths
...
os/mac/mach: avoid recursively resolving rpaths
2023-08-05 23:58:07 +08:00
Carlo Cabrera
b5334b818c
os/mac/mach: avoid recursively resolving rpaths
...
This is just a recipe for infinite loops. Plus, recursive references are
likely to be invalid, so we don't really gain much by attempting to
resolve them.[^1] (But we could if we made the logic here much more
complicated.)
Fixes a CI failure seen at Homebrew/homebrew-core#138323 .
[^1]: See, for example, embree/embree#455 .
2023-08-05 23:40:22 +08:00
Mike McQuaid
b0da6e58c2
Merge pull request #15827 from MikeMcQuaid/bin_brew_home_set
...
bin/brew: require HOME to be set.
2023-08-05 14:32:49 +01:00
Mike McQuaid
4184546067
bin/brew: require HOME to be set.
...
Rather than having increasingly involved workarounds that require
other variables to be set.
Closes #15822
2023-08-05 13:41:50 +01:00
Kevin
22afefce8e
Merge pull request #15826 from apainintheneck/stop-using-api-in-bump
...
dev-cmd/bump : stop using API to load formulae/casks
2023-08-04 19:39:34 -07:00
apainintheneck
474656ffaa
dev-cmd/bump : stop using API to load formulae/casks
...
Even though the command already sets without_api that only
affects how named args are loaded. In this command, we used to load
many formulae and casks all at once using the API according to
user settings. Now we just mandate that all loading must skip the API.
2023-08-04 19:08:22 -07:00
Douglas Eichelberger
880362669b
Add tests
2023-08-04 16:21:34 -07:00
Douglas Eichelberger
864f31e52a
Forward block argument
2023-08-04 16:20:56 -07:00
Douglas Eichelberger
efd02b956d
Revert "Revert "Make inreplace
a purely static method""
...
This reverts commit 8656caa67ce2dd9ec6484969b183c1fd7805451e.
2023-08-04 16:20:38 -07:00
Mike McQuaid
3f49592181
Merge pull request #15811 from MikeMcQuaid/sharding_fixes
...
Various sharding fixes
2023-08-04 17:33:19 +01:00
Mike McQuaid
b3c33d34ab
Various sharding fixes
...
- Load paths with no API when needed (e.g. for `brew edit`)
- Use no API mode for `brew log` as it's needed there
- Define sharding format for homebrew-cask and homebrew-core inside
`Tap` methods
- Create new formulae/casks in location defined by these `Tap` methods
- Fix a bug in Formulary that made sharded formulae lookup less
efficient (and possibly broke it for core and some API usage)
- Fix various other hardcoded Formula/Cask directory assumptions
Co-authored-by: Bo Anderson <mail@boanderson.me>
2023-08-04 16:43:13 +01:00
Mike McQuaid
75a1948ad5
Merge pull request #15821 from carlocab/no-eval-grep
...
bin/brew: avoid `eval` and `grep`
2023-08-04 15:17:14 +01:00
Carlo Cabrera
bcbb969796
bin/brew: avoid eval
and grep
...
`eval` is a much bigger hammer than we need here, so let's try to avoid
that.
Also, we can use the builtin `read` instead of shelling out to `grep`
which will be slightly more efficient.
2023-08-04 22:00:46 +08:00
Mike McQuaid
4877de52d3
Merge pull request #15819 from MikeMcQuaid/bottle_reproducibility_fixes
...
bottle: reproducibility fixes.
2023-08-04 10:26:55 +01:00
Mike McQuaid
71888db8ba
bottle: reproducibility fixes.
...
I noticed from
https://github.com/Homebrew/homebrew-core/actions/runs/5751070010 that
we're no longer creating reproducible bottles between macOS and Linux.
All macOS checksums have changed but Linux ones have not. The main
difference between the two platforms is the `gtar` version used so let's
always just use the formula on both platforms.
While we're here, clear up the ordering and comments a little on the
reproducible `tar` arguments so that it's easier to compare with the
reproducible builds archives documentation.
2023-08-04 10:02:44 +01:00
Mike McQuaid
5c718b5dfd
Merge pull request #15820 from MikeMcQuaid/more_quiet_env_hints
...
Make more warnings quiet with environment hints disabled.
2023-08-04 09:49:45 +01:00
Mike McQuaid
1d4a24d226
Make more warnings quiet with environment hints disabled.
...
Combined with https://github.com/Homebrew/homebrew-test-bot/pull/963
this should make `brew test-bot` output a bit quieter and less annoying.
2023-08-04 09:36:27 +01:00
Mike McQuaid
ef4731d67a
Merge pull request #15818 from MikeMcQuaid/brew_env_home
...
bin/brew: handle missing `$HOME`.
2023-08-04 09:21:36 +01:00
Mike McQuaid
59ea118991
bin/brew: handle missing $HOME
.
...
Try to build it using `$USER` or `$LOGNAME` and, if both are missing,
just give up.
2023-08-04 08:30:37 +01:00
Mike McQuaid
11af9e8a1e
Merge pull request #15805 from ZhongRuoyu/formulary-alias_path
...
formulary: fix type of `alias_path`
2023-08-04 08:10:57 +01:00
Mike McQuaid
0e098510c2
Merge pull request #15763 from razvanazamfirei/bump-add-arch-support
...
bump: add arch-specific support
2023-08-04 08:10:01 +01:00
Mike McQuaid
41ca77c6ac
Merge pull request #15817 from ZhongRuoyu/development_tools-locate
...
development_tools: allow `Symbol`s to be `locate`d
2023-08-04 08:04:32 +01:00
Ruoyu Zhong
99607e8ec4
development_tools: allow Symbol
s to be locate
d
...
Fixes error seen in Homebrew/homebrew-core#138452 .
`DevelopmentTools.default_compiler` can return a `Symbol` like `:clang`.
Make sure its result can be fed to `DevelopmentTools.locate`.
Signed-off-by: Ruoyu Zhong <zhongruoyu@outlook.com>
2023-08-04 11:26:30 +08:00
Mike McQuaid
a2b49440e7
Merge pull request #15815 from Homebrew/dependabot/bundler/Library/Homebrew/addressable-2.8.5
...
build(deps): bump addressable from 2.8.4 to 2.8.5 in /Library/Homebrew
2023-08-03 19:33:37 +01:00
Mike McQuaid
087a4871af
Merge pull request #15814 from Homebrew/dependabot/bundler/Library/Homebrew/zeitwerk-2.6.11
...
build(deps): bump zeitwerk from 2.6.10 to 2.6.11 in /Library/Homebrew
2023-08-03 19:31:53 +01:00
BrewTestBot
3fb4c6c069
Update RBI files for addressable.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml ) workflow.
2023-08-03 18:17:42 +00:00
BrewTestBot
e590c30851
Update RBI files for zeitwerk.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml ) workflow.
2023-08-03 18:15:55 +00:00
BrewTestBot
b281f51c25
brew vendor-gems: commit updates.
2023-08-03 18:11:46 +00:00
BrewTestBot
ce1818df99
brew vendor-gems: commit updates.
2023-08-03 18:09:53 +00:00
dependabot[bot]
783d30855b
build(deps): bump addressable from 2.8.4 to 2.8.5 in /Library/Homebrew
...
Bumps [addressable](https://github.com/sporkmonger/addressable ) from 2.8.4 to 2.8.5.
- [Changelog](https://github.com/sporkmonger/addressable/blob/main/CHANGELOG.md )
- [Commits](https://github.com/sporkmonger/addressable/compare/addressable-2.8.4...addressable-2.8.5 )
---
updated-dependencies:
- dependency-name: addressable
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-08-03 18:08:20 +00:00
dependabot[bot]
6b5aa4d1ed
build(deps): bump zeitwerk from 2.6.10 to 2.6.11 in /Library/Homebrew
...
Bumps [zeitwerk](https://github.com/fxn/zeitwerk ) from 2.6.10 to 2.6.11.
- [Changelog](https://github.com/fxn/zeitwerk/blob/main/CHANGELOG.md )
- [Commits](https://github.com/fxn/zeitwerk/compare/v2.6.10...v2.6.11 )
---
updated-dependencies:
- dependency-name: zeitwerk
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-08-03 18:05:43 +00:00
Mike McQuaid
6b2876c0e8
Merge pull request #15812 from Homebrew/revert-15807-static-inreplace
...
Revert "Make `inreplace` a purely static method"
2023-08-03 17:36:52 +01:00
Alexander Bayandin
8656caa67c
Revert "Make inreplace
a purely static method"
2023-08-03 16:16:19 +01:00
Razvan Azamfirei
3949138d5b
format bump block
2023-08-03 09:58:59 -04:00
Razvan Azamfirei
2d330bcd32
bump: add arch-specific support
2023-08-03 09:41:01 -04:00
Mike McQuaid
24b6b3494d
Merge pull request #15810 from MikeMcQuaid/pkg_require_clt
...
package/Distribution: always require CLT.
2023-08-03 12:21:20 +01:00
Mike McQuaid
39dc5652aa
package/Distribution: always require CLT.
...
We always require it in `install.sh` and we need it for all but the
latest version of macOS so this seems a simpler compromise.
Fixes #15802
2023-08-03 11:42:06 +01:00
Mike McQuaid
3ced9156da
Merge pull request #15807 from dduugg/static-inreplace
...
Make `inreplace` a purely static method
2023-08-03 10:47:10 +01:00
Douglas Eichelberger
da33049c69
Resolve Style/OptionalBooleanParameter violation
2023-08-02 14:47:06 -07:00
Douglas Eichelberger
2ad87f87d5
Make inreplace a purely static method
2023-08-02 09:44:18 -07:00
Ruoyu Zhong
26f8f27b3c
formulary: fix type of alias_path
...
`Formulary.from_rack` only allows `alias_path` to be a `Pathname`. Make
it happy with `String`s too.
Fixes:
$ brew test openssl
Error: Parameter 'alias_path': Expected type Pathname, got type String with value "/usr/local/Homebrew/Librar...homebrew-core/Aliases/openssl"
Caller: /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/sorbet-runtime-0.5.10461/lib/types/private/methods/call_validation.rb:113
Definition: /usr/local/Homebrew/Library/Homebrew/formulary.rb:787
Signed-off-by: Ruoyu Zhong <zhongruoyu@outlook.com>
2023-08-02 22:49:39 +08:00
Mike McQuaid
5183103d5d
Merge pull request #15806 from EricFromCanada/repology-api-url
...
utils/repology: update API URL
2023-08-02 14:37:40 +01:00
Eric Knibbe
31a5df4bf2
extend/kernel: convert TTY-destined input to string
2023-08-02 09:22:15 -04:00
Eric Knibbe
c1fe80ac82
utils/repology: update API URL
2023-08-02 09:02:44 -04:00
Mike McQuaid
d2863d05b3
Merge pull request #15740 from EricFromCanada/tap-suggestion
...
dev-cmd/edit: suggest tapping core repositories if untapped
2023-08-02 09:04:43 +01:00
Eric Knibbe
b3ecd91f97
dev-cmd/edit: suggest tapping core repositories
2023-08-01 13:39:28 -04:00
Mike McQuaid
799417343a
Merge pull request #15800 from dduugg/inreplace-paths
...
Narrow member type of inreplace paths enumerable
2023-08-01 17:46:36 +01:00