Patrick Linnane
c1d02ae67c
Merge pull request #17871 from Homebrew/dependabot/github_actions/github/codeql-action-3.25.15
2024-07-26 08:37:59 -07:00
Patrick Linnane
e410c119e1
Merge pull request #17874 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-0.5.11495
2024-07-26 08:37:41 -07:00
BrewTestBot
d117a286b5
Update RBI files for docile.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml ) workflow.
2024-07-26 15:26:31 +00:00
BrewTestBot
e852990eda
brew vendor-gems: commit updates.
2024-07-26 15:26:19 +00:00
BrewTestBot
7476c6c6b3
Update RBI files for rubocop-sorbet.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml ) workflow.
2024-07-26 15:25:41 +00:00
BrewTestBot
ed9cf4eec1
Update RBI files for sorbet.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml ) workflow.
2024-07-26 15:25:32 +00:00
BrewTestBot
ce7b44fb8a
brew vendor-gems: commit updates.
2024-07-26 15:25:31 +00:00
BrewTestBot
c1b2ef4df6
brew vendor-gems: commit updates.
2024-07-26 15:25:21 +00:00
dependabot[bot]
ce9f5e43c1
build(deps-dev): bump sorbet in /Library/Homebrew
...
Bumps [sorbet](https://github.com/sorbet/sorbet ) from 0.5.11493 to 0.5.11495.
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
---
updated-dependencies:
- dependency-name: sorbet
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-26 15:16:21 +00:00
dependabot[bot]
123ca51cac
build(deps-dev): bump rubocop-sorbet in /Library/Homebrew
...
Bumps [rubocop-sorbet](https://github.com/shopify/rubocop-sorbet ) from 0.8.4 to 0.8.5.
- [Release notes](https://github.com/shopify/rubocop-sorbet/releases )
- [Commits](https://github.com/shopify/rubocop-sorbet/compare/v0.8.4...v0.8.5 )
---
updated-dependencies:
- dependency-name: rubocop-sorbet
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-26 15:15:48 +00:00
dependabot[bot]
0cdf1132b1
build(deps): bump github/codeql-action from 3.25.14 to 3.25.15
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.25.14 to 3.25.15.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](5cf07d8b70...afb54ba388
)
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-26 15:15:32 +00:00
dependabot[bot]
d111d82dd9
build(deps-dev): bump docile from 1.4.0 to 1.4.1 in /Library/Homebrew
...
Bumps [docile](https://github.com/ms-ati/docile ) from 1.4.0 to 1.4.1.
- [Changelog](https://github.com/ms-ati/docile/blob/main/HISTORY.md )
- [Commits](https://github.com/ms-ati/docile/compare/v1.4.0...v1.4.1 )
---
updated-dependencies:
- dependency-name: docile
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-26 15:15:19 +00:00
Mike McQuaid
e1b4f8c536
Merge pull request #17868 from branchvincent/npm_audit
2024-07-26 15:38:40 +01:00
Branch Vincent
5304b70c92
rubocops/lines: remove existing npm audit
2024-07-26 05:41:57 -07:00
Patrick Linnane
95e30ee2ab
Merge pull request #17866 from branchvincent/rustup-init
2024-07-25 20:26:35 -07:00
Branch Vincent
88aed13958
rubocops/lines: rustup-init -> rustup
2024-07-25 19:26:59 -07:00
Bo Anderson
1f198e629f
Merge pull request #17865 from branchvincent/npm_side_effect
...
formula: remove `std_npm_args` from system's pretty_args
2024-07-26 01:24:27 +01:00
Branch Vincent
0c0b95fae5
formula: remove std_npm_args
from system's pretty_args
2024-07-25 17:11:12 -07:00
Mike McQuaid
bdee21b706
Merge pull request #17863 from samford/livecheck/remove-unused-from_url-param
2024-07-25 19:51:58 +01:00
Mike McQuaid
c49238c607
Merge pull request #17862 from avsm/sudo-under-sandbox-exec
2024-07-25 19:39:04 +01:00
Anil Madhavapeddy
0c85c07be5
bin/brew: do not exit on sudo errors for resetting timestamp
...
In #17694 , a call to `sudo --reset-timestamp` was added to prevent
cached credentials being run. Unfortunately, this breaks `brew`
invocation under `sandbox-exec`, which forbids any attempts to
exec setuid executables. This in turn breaks the OCaml opam
package manager, which sandboxes its build commands (including
brew prefix queries): see https://github.com/ocaml/opam/issues/6117
for that error.
This commit just changes the sudo invocation to suppress errors
and continue if it fails, which should be harmless in normal
operation as sudo doesn't emit an error for this option when
invoked normally.
2024-07-25 18:50:15 +01:00
Sam Ford
0a2e9661b6
Strategy#from_url: remove unused param
...
The `url_provided` parameter of the `Strategy#from_url` method was
originally introduced in #9529 but I removed it in a later commit in
that PR in favor of a different approach. Unfortunately, I forgot to
remove the `url_provided` parameter, as it was no longer needed after
that change. This removes the parameter and updates `#from_url` calls
accordingly.
2024-07-25 13:41:40 -04:00
Sam Ford
34fbf09841
Merge pull request #17842 from sazriel26/livecheck-for-head-only
...
[livecheck] Help to check head only formulae
2024-07-25 13:40:08 -04:00
Sam Ford
3dc89609ee
Merge pull request #17861 from samford/livecheck/remove-unused-requires
...
livecheck: remove unused `require` calls
2024-07-25 13:37:20 -04:00
Patrick Linnane
759abe5446
Merge pull request #17860 from Homebrew/dependabot/bundler/Library/Homebrew/spoom-1.4.0
2024-07-25 09:44:42 -07:00
Sam Ford
0de85120cb
Git: remove unused open3 require
...
I refactored the `Git` strategy to use `SystemCommand` instead of
`Open3#capture3` in #13387 but I forgot to remove `require "open3"`
at the time. `Git` doesn't use `open3` now, so this removes the
unused `require`.
2024-07-25 12:43:16 -04:00
Sam Ford
fcaeacd0da
livecheck: remove unused URI require
...
`URI#parse` was originally added in #9074 and replaced with
`Addressable::URI#parse` in #13306 but `require "uri"` wasn't removed
at the time. livecheck doesn't use `URI` now, so this removes the
unused `require`.
2024-07-25 12:41:34 -04:00
Patrick Linnane
10888e482a
Merge pull request #17859 from Homebrew/dependabot/github_actions/github/codeql-action-3.25.14
2024-07-25 09:36:17 -07:00
BrewTestBot
2cb80fdd47
Update RBI files for spoom.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml ) workflow.
2024-07-25 16:33:27 +00:00
BrewTestBot
4673128b21
brew vendor-gems: commit updates.
2024-07-25 16:33:11 +00:00
dependabot[bot]
da12015237
build(deps-dev): bump spoom from 1.3.3 to 1.4.0 in /Library/Homebrew
...
Bumps [spoom](https://github.com/Shopify/spoom ) from 1.3.3 to 1.4.0.
- [Release notes](https://github.com/Shopify/spoom/releases )
- [Commits](https://github.com/Shopify/spoom/compare/v1.3.3...v1.4.0 )
---
updated-dependencies:
- dependency-name: spoom
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-25 16:23:54 +00:00
dependabot[bot]
e115290ea8
build(deps): bump github/codeql-action from 3.25.13 to 3.25.14
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.25.13 to 3.25.14.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](2d790406f5...5cf07d8b70
)
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-25 16:23:53 +00:00
Mike McQuaid
506feed220
Merge pull request #17855 from Homebrew/missing_formula_requires
2024-07-25 15:43:10 +01:00
Sam Ford
f23d0ce373
livecheck: convert head-only strings to Versions
...
`brew livecheck` currently gives a Sorbet type error when run on a
HEAD-only formula: `Parameter 'version': Expected type Version, got
type String with value "c06c10d"`. This happens because the `current`
and `latest` values are strings but `LivecheckVersion#create` expects
a `Version` object.
This addresses the issue by creating a `Version` object from the
related commit strings. This ensures that the type of these variables
is more uniform, which makes them easier to reason about.
2024-07-25 10:23:39 -04:00
Sharon Azriel
31f4570cc2
[livecheck] Help to check head only formulae
2024-07-25 10:22:05 -04:00
Mike McQuaid
266ed1426b
Merge pull request #17857 from samford/contributions-reorder-requires
2024-07-25 15:21:03 +01:00
Issy Long
928bf87f59
Merge pull request #17856 from Homebrew/not-all-bin-interpolation-is-bad
2024-07-25 15:09:38 +01:00
Sam Ford
a6e61fd664
contributions, github: reorder requires
...
Per feedback to https://github.com/Homebrew/brew/pull/17806 , this
moves some `require` statements in `dev-cmd/contributions.rb` and
`Utils::GitHub` into the methods that need them.
2024-07-25 10:02:18 -04:00
Mike McQuaid
0f0e2c7bd9
Merge pull request #17854 from Homebrew/version_unsafe
2024-07-25 13:51:08 +01:00
Issy Long
38bb463aad
Interpolated shell_output("#{bin}/foo -v")
, for example, is fine
...
- This would be weird to change because it's a string not a pathname passed to `shell_output`.
- I had misunderstood https://github.com/Homebrew/brew/pull/17826#discussion_r1690806375 .
2024-07-25 13:28:00 +01:00
Mike McQuaid
5bdd19d3eb
cli/named_args: improve missing_formula requires.
...
Let's make these more tightly scoped instead.
2024-07-25 12:54:03 +01:00
Mike McQuaid
be01b6ea64
version: use T.unsafe
for https://srb.help/7019
...
In some configurations, Sorbet gets upset by the `version.to_json` call
in `Library/Homebrew/version.rb`. This is because Sorbet's splat
support is lacking and it cannot handle the `*options` argument when it
does not know the size.
2024-07-25 12:14:06 +01:00
Mike McQuaid
b31cfe8a85
Merge pull request #17840 from Homebrew/forbid-path-installs
2024-07-25 11:48:30 +01:00
Issy Long
ac973535ee
Merge pull request #17826 from Homebrew/no-interpolated-bin
...
rubocops/text: Enforce `bin/"formula"` instead of `"#{bin}/formula"`
2024-07-25 11:39:20 +01:00
Bo Anderson
10cbf191dc
Add env to disable finding packages from paths
2024-07-25 11:37:44 +01:00
Issy Long
a6596c969f
Test the shell_output
single string edge case
2024-07-25 10:41:13 +01:00
Bo Anderson
5edcaf3f06
Merge pull request #17774 from branchvincent/std_npm_args
...
formula: add `std_npm_args`
2024-07-25 05:41:19 +01:00
Bo Anderson
eda3039b2d
Merge pull request #17852 from Homebrew/software-spec-error-clarify
...
software_spec: remove confusing missing version error
2024-07-25 04:47:54 +01:00
Bo Anderson
e6348b186f
Merge pull request #17851 from Homebrew/misconfigured-nss-fix
...
utils/github/api: handle systems with misconfigured NSS
2024-07-25 04:47:43 +01:00
Bo Anderson
a4b65647ae
Merge pull request #17844 from samford/version-loosen-debian-regex
...
version: loosen Debian orig tarball regex
2024-07-25 04:47:32 +01:00