apainintheneck
efb14a0ec2
fix no autoremove suggestion typo
...
This suggests setting an environment variable that is different
than the one we end up checking so I've updated the warning so
now things match. If the goal was to have the name in the warning,
the environment variable checking logic could be updated. I have
no personal preference.
```console
$ brew irb
==> Interactive Homebrew Shell
Example commands available with: `brew irb --examples`
brew(main):001:0> ENV["HOMEBREW_NO_AUTO_REMOVE"] = "1"
=> "1"
brew(main):002:0> Homebrew::EnvConfig.no_autoremove?
=> false
brew(main):003:0> ENV["HOMEBREW_NO_AUTOREMOVE"] = "1"
=> "1"
brew(main):004:0> Homebrew::EnvConfig.no_autoremove?
=> true
```
2024-05-09 20:14:16 -07:00
Mike McQuaid
c1c4f4509b
Merge pull request #17256 from jasonkarns/patch-1
...
dev-cmd/tap-new: add Brewfile documentation to readme template
2024-05-09 19:24:14 +01:00
Patrick Linnane
6a2a345bee
Merge pull request #17264 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-1.63.5
2024-05-09 10:25:20 -07:00
BrewTestBot
0c6a37c1bc
Update RBI files for rubocop.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml ) workflow.
2024-05-09 17:02:06 +00:00
BrewTestBot
161f09889e
brew vendor-gems: commit updates.
2024-05-09 17:01:32 +00:00
dependabot[bot]
85168030ba
build(deps-dev): bump rubocop from 1.63.4 to 1.63.5 in /Library/Homebrew
...
Bumps [rubocop](https://github.com/rubocop/rubocop ) from 1.63.4 to 1.63.5.
- [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.63.4...v1.63.5 )
---
updated-dependencies:
- dependency-name: rubocop
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-09 17:00:33 +00:00
Patrick Linnane
1497a73720
Merge pull request #17261 from Homebrew/autoremove_default
2024-05-09 09:57:25 -07:00
Mike McQuaid
cb659a9130
Merge pull request #17263 from Homebrew/formula_install_no_cask_warning
...
formula_installer: don't fire cask warnings when installing.
2024-05-09 17:56:23 +01:00
Mike McQuaid
2707729266
formula_installer: don't fire cask warnings when installing.
...
e.g. `brew install go` complains about a cask migration otherwise.
2024-05-09 17:08:12 +01:00
Bo Anderson
3a36df5f2e
Merge pull request #17219 from Homebrew/long-build-queue
...
github_runner_matrix: support orchestrator long build queues
2024-05-09 15:08:43 +01:00
Mike McQuaid
7433205ddc
Merge pull request #17255 from Homebrew/github_actions_opoo_odie
...
extend/kernel: make `opoo`/`odie`/etc. print GitHub Actions notes.
2024-05-09 15:01:35 +01:00
Mike McQuaid
16901a674f
extend/kernel: make opoo
/odie
/etc. print GitHub Actions notes.
...
We already do this for deprecations but these may make warnings
and errors from Homebrew easier to spot in GitHub Actions logs.
While we're here, cleanup other cases that should have used
`GitHub::Actions::Annotation` but didn't and provide some helpers and
tweaks there necessary for our use case here.
2024-05-09 14:43:53 +01:00
Mike McQuaid
3d114161b3
Enable HOMEBREW_AUTOREMOVE by autoremove_default
...
Enabled `HOMEBREW_AUTOREMOVE` by default, and added
`HOMEBREW_NO_AUTOREMOVE` to disable it.
Co-authored-by: Ruoyu Zhong <zhongruoyu@outlook.com>
2024-05-09 13:47:52 +01:00
Jason Karns
e40c3e24bd
Update Library/Homebrew/dev-cmd/tap-new.rb
...
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2024-05-09 08:30:03 -04:00
Mike McQuaid
6ba84044b0
Merge pull request #17254 from Homebrew/sbom_tweaks
...
SBOM improvements
2024-05-09 13:21:02 +01:00
Mike McQuaid
442aa91704
SBOM improvements
...
- write a schema when installing formulae (if not already present)
- cache the schema on disk rather than downloading it every time
- make more methods/attributes `private`
- allow validation to be optional, only enable for Homebrew developers
at installation time
- use the tab for more, correct information
- ensure that dependencies/bottles are written correctly
- use new SBOM 3 schema URL
- improve test coverage
2024-05-09 13:10:37 +01:00
Mike McQuaid
78a812b234
Merge pull request #17262 from Homebrew/github-auth-seteuid
...
utils/github/api: use real UID for auth fetching
2024-05-09 12:19:44 +01:00
Bo Anderson
b790c7fe8c
utils/github/api: use real UID for auth fetching
2024-05-09 11:55:14 +01:00
Mike McQuaid
fbb73ba1ec
Merge pull request #17259 from dkav/chk-initial-branch
...
cmd/update.sh: check initial branch is not master
2024-05-09 08:42:24 +01:00
Patrick Linnane
9d58b797d4
Merge pull request #17260 from Homebrew/dependabot/bundler/Library/Homebrew/tapioca-0.14.1
2024-05-08 19:50:08 -07:00
BrewTestBot
b161ac22d9
Update RBI files for tapioca.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml ) workflow.
2024-05-09 02:39:24 +00:00
BrewTestBot
5f0c53a7b5
brew vendor-gems: commit updates.
2024-05-09 02:39:06 +00:00
dependabot[bot]
efb9c15367
build(deps-dev): bump tapioca from 0.14.0 to 0.14.1 in /Library/Homebrew
...
Bumps [tapioca](https://github.com/Shopify/tapioca ) from 0.14.0 to 0.14.1.
- [Release notes](https://github.com/Shopify/tapioca/releases )
- [Commits](https://github.com/Shopify/tapioca/compare/v0.14.0...v0.14.1 )
---
updated-dependencies:
- dependency-name: tapioca
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-09 02:38:04 +00:00
Kevin
c44e053847
Merge pull request #17242 from Homebrew/fix-cask-source-file-path-loading-issues
...
Fix cask source file path loading issues
2024-05-08 18:28:04 -07:00
apainintheneck
3dcb26072b
cli/named_args: address review feedback
...
- use `T.cast` to avoid unnecessary error handling with Sorbet
- avoid using dashes in terminal output to make piping easier
2024-05-08 18:13:35 -07:00
Darren Kavanagh
85cd2f075e
cmd/update.sh: check initial branch is not master
...
Check that the initial branch is not 'master' before doing a forced update on 'master'. Git will fail with fatal error otherwise.
2024-05-08 14:44:59 -07:00
Carlo Cabrera
21e130056a
Merge pull request #17257 from Homebrew/dependabot/bundler/Library/Homebrew/multi-df01635c99
2024-05-08 20:28:29 +01:00
Carlo Cabrera
ff56131fbc
Merge pull request #17258 from Homebrew/dependabot/bundler/Library/Homebrew/rspec-mocks-3.13.1
2024-05-08 20:28:06 +01:00
BrewTestBot
0497d7abfb
brew vendor-gems: commit updates.
2024-05-08 18:34:24 +00:00
BrewTestBot
91ea590cfa
brew vendor-gems: commit updates.
2024-05-08 18:34:00 +00:00
dependabot[bot]
26248571b3
build(deps-dev): bump rspec-mocks in /Library/Homebrew
...
Bumps [rspec-mocks](https://github.com/rspec/rspec-mocks ) from 3.13.0 to 3.13.1.
- [Release notes](https://github.com/rspec/rspec-mocks/releases )
- [Changelog](https://github.com/rspec/rspec-mocks/blob/main/Changelog.md )
- [Commits](https://github.com/rspec/rspec-mocks/compare/v3.13.0...v3.13.1 )
---
updated-dependencies:
- dependency-name: rspec-mocks
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-08 18:33:28 +00:00
dependabot[bot]
cc46ad4f58
build(deps): bump sorbet-runtime and sorbet-static-and-runtime
...
Bumps [sorbet-runtime](https://github.com/sorbet/sorbet ) and [sorbet-static-and-runtime](https://github.com/sorbet/sorbet ). These dependencies needed to be updated together.
Updates `sorbet-runtime` from 0.5.11369 to 0.5.11370
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
Updates `sorbet-static-and-runtime` from 0.5.11369 to 0.5.11370
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
---
updated-dependencies:
- dependency-name: sorbet-runtime
dependency-type: direct:production
update-type: version-update:semver-patch
- dependency-name: sorbet-static-and-runtime
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-08 18:33:06 +00:00
Jason Karns
1f1a8b6c11
Add Brewfile documentation to tap-new readme template
...
It would be helpful for taps to document how they are to be used with `Brewfile`.
Adding documentation for formulae installation to the generated tap readme would help ensure that new taps have this helpful documentation in their repos from the start.
2024-05-08 14:20:51 -04:00
Mike McQuaid
9bf7734749
Merge pull request #17252 from bevanjkay/extract_plist_url
...
extract_plist: fix passing an alternative url
2024-05-08 12:23:15 +01:00
Carlo Cabrera
41cbfc3710
Merge pull request #17251 from Homebrew/update-core-tap-force-messaging
2024-05-08 09:16:30 +01:00
Bevan Kay
6c90e65f6f
livecheck/livecheck: fix passing an alternative url
2024-05-08 15:02:43 +10:00
apainintheneck
60149fb5de
cli/named_args: improve message for casks/formulae without taps
...
This just improves the messaging in the `#to_formulae_and_casks_with_taps`
method so that users have a better idea of what to try next.
Ex.
```
Error: These formulae and casks are not in any locally installed taps!
- discord
- iterm2
- visual-studio-code
- zstd
You may need to run `brew tap` to install additional taps.
```
2024-05-07 21:22:58 -07:00
apainintheneck
5005916093
tap: update core tap --force messaging
...
Per this suggestion: https://github.com/Homebrew/brew/pull/17227#discussion_r1590630520
2024-05-07 20:07:27 -07:00
Carlo Cabrera
020d9947b0
Merge pull request #17249 from Homebrew/dependabot/bundler/Library/Homebrew/multi-083f53c1ae
2024-05-07 21:07:29 +01:00
Carlo Cabrera
dc4af23023
Merge pull request #17250 from Homebrew/dependabot/bundler/Library/Homebrew/tapioca-0.14.0
2024-05-07 20:10:20 +01:00
BrewTestBot
fe24bf1579
Update RBI files for tapioca.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml ) workflow.
2024-05-07 18:59:27 +00:00
BrewTestBot
b53e117618
brew vendor-gems: commit updates.
2024-05-07 18:59:07 +00:00
BrewTestBot
eba59a608d
brew vendor-gems: commit updates.
2024-05-07 18:58:10 +00:00
dependabot[bot]
2124b9844e
build(deps-dev): bump tapioca from 0.13.3 to 0.14.0 in /Library/Homebrew
...
Bumps [tapioca](https://github.com/Shopify/tapioca ) from 0.13.3 to 0.14.0.
- [Release notes](https://github.com/Shopify/tapioca/releases )
- [Commits](https://github.com/Shopify/tapioca/compare/v0.13.3...v0.14.0 )
---
updated-dependencies:
- dependency-name: tapioca
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-07 18:58:00 +00:00
dependabot[bot]
fc55ea15e9
build(deps): bump sorbet-static-and-runtime and sorbet-runtime
...
Bumps [sorbet-static-and-runtime](https://github.com/sorbet/sorbet ) and [sorbet-runtime](https://github.com/sorbet/sorbet ). These dependencies needed to be updated together.
Updates `sorbet-static-and-runtime` from 0.5.11368 to 0.5.11369
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
Updates `sorbet-runtime` from 0.5.11368 to 0.5.11369
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
---
updated-dependencies:
- dependency-name: sorbet-static-and-runtime
dependency-type: direct:development
update-type: version-update:semver-patch
- dependency-name: sorbet-runtime
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-07 18:57:07 +00:00
Mike McQuaid
d3746d55f2
Merge pull request #17248 from Homebrew/remove_plist_startup
...
caveats_spec: remove outdated plist_startup reference.
2024-05-07 19:54:25 +01:00
Mike McQuaid
0d1bebcc35
Merge pull request #16594 from SMillerDev/feat/sbom/install_spdx
...
feat: add generated SPDX file on bottling
2024-05-07 19:43:25 +01:00
Sean Molenaar
a43b7464c2
feat: add generated SPDX file on bottling
2024-05-07 20:33:22 +02:00
Mike McQuaid
46c6571bd6
caveats_spec: remove outdated plist_startup reference.
...
This was removed a long time ago.
2024-05-07 19:31:28 +01:00
Carlo Cabrera
802487d6f0
Merge pull request #17246 from Homebrew/sponsors-maintainers-man-completions
2024-05-07 12:41:01 +01:00