Carlo Cabrera
ff45c2822f
utils/github/api: fix nil implicit conversion error
...
Fixes
Error: no implicit conversion of nil into String
https://github.com/Homebrew/homebrew-test-bot/actions/runs/5113802196/jobs/9193401244#step:11:11
2023-05-30 01:03:33 +08:00
Mike McQuaid
33a3f72fbc
Merge pull request #15492 from carlocab/no-run-attempt
...
github_runner_matrix: remove `GITHUB_RUN_ATTEMPT`
2023-05-29 16:22:21 +01:00
Carlo Cabrera
8860d8398f
determine-test-runners: fix test
2023-05-29 23:06:09 +08:00
Carlo Cabrera
40166eb5e7
github_runner_matrix: remove GITHUB_RUN_ATTEMPT
...
This should no longer be needed after
Homebrew/ci-orchestrator@845d26ccc0 .
2023-05-29 22:36:00 +08:00
Issy Long
a1f855bb1b
rubocop: Revert PR 15312, unset EnabledByDefault
...
- This proved sufficiently controversial in the comments of https://github.com/Homebrew/brew/issues/15297 .
- There are too many cops in this list that _don't_ make sense for us.
- For the few that do (with many thanks to Bo for going in depth to
figure them out!), we can selectively enable them without using
EnabledByDefault` and a whole load of `Enabled: false`.
2023-05-29 15:07:08 +01:00
Carlo Cabrera
909b8d078e
dev-cmd/update-maintainers: write JSON of maintainers
...
This will be needed for Homebrew/homebrew-test-bot#933 .
2023-05-29 21:30:47 +08:00
Mike McQuaid
89dfe4fc5b
Merge pull request #15483 from JBYoshi/cask-prompt-permissions
...
Check for App Management permissions before updating apps.
2023-05-29 09:15:22 +01:00
Mike McQuaid
98dd8610ae
Tweak code style and documentation wording
2023-05-29 08:59:35 +01:00
JBYoshi
97b9b61061
Change permission failure from fatal to warning.
2023-05-26 11:13:23 -05:00
Bjorn Neergaard
fc63aca46a
utils/github/api: refactor keychain code to use system_command
2023-05-26 09:54:28 -06:00
Bjorn Neergaard
d634296109
utils/github/api: discover credentials stored by the GitHub CLI
2023-05-26 09:54:25 -06:00
Mike McQuaid
e96fd24a73
Merge pull request #15481 from reitermarkus/sudo-xattrs
...
Use `sudo` for copying `xattr`s when necessary.
2023-05-25 12:19:31 +01:00
Mike McQuaid
072222e675
Merge pull request #15482 from Homebrew/sorbet-files-update
...
sorbet: Update RBI files.
2023-05-25 12:19:14 +01:00
Mike McQuaid
2f63d26601
Merge pull request #15471 from Omoeba/fix-noncore
...
Fix `brew formulae` and `brew casks` when the API is used
2023-05-25 12:18:20 +01:00
Omoeba
76120ad6f0
items.sh: use regex for find_exclude_filter
2023-05-25 01:49:25 -07:00
Omoeba
b43ed6e765
cmd/formulae,cmd/casks: include casks/formulae in local non-core taps when the API is used
...
Fixes #15229
2023-05-25 01:49:21 -07:00
JBYoshi
40352cb2da
Make Homebrew check for App Management permissions before updating apps.
2023-05-24 22:11:16 -05:00
BrewTestBot
d990a1ae18
sorbet: Update RBI files.
...
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml ) workflow.
2023-05-25 00:24:38 +00:00
Markus Reiter
43c6b0ab61
Use sudo
for copying xattr
s when necessary.
2023-05-24 23:39:18 +02:00
Markus Reiter
cc8025d16e
Merge pull request #15470 from reitermarkus/readall-os-arch
...
Add `--os` and `--arch` flags to `readall`.
2023-05-24 23:06:43 +02:00
Markus Reiter
0d8004bc3c
Fix MacOSVersionError
deprecation.
2023-05-23 21:43:48 +02:00
Markus Reiter
4cffb51b80
Fix wrong method in --cache
and fetch
.
2023-05-22 22:09:17 +02:00
Carlo Cabrera
a29b22f1a2
Merge pull request #15473 from carlocab/cmake-build-dir
...
keg_relocate: fix check for paths rooted in build directory
2023-05-22 21:08:39 +08:00
Carlo Cabrera
e8dd8c2a87
keg_relocate: match /tmp
more strictly
...
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2023-05-22 20:53:55 +08:00
Mike McQuaid
c3da720a1e
Merge pull request #15466 from reitermarkus/audit-url-location
...
Add cask URL location to audit problems.
2023-05-22 13:31:30 +01:00
Carlo Cabrera
59d92ab73f
keg_relocate: fix check for paths rooted in build directory
...
Stuff built by CMake evades this check because CMake normalises
`/private/tmp` (which is the default `HOMEBREW_TEMP`) to `/tmp`. See
https://gitlab.kitware.com/cmake/cmake/-/issues/23251 .
Let's fix that my taking this into account when `HOMEBREW_TEMP` is
`/private/tmp`.
2023-05-22 17:18:43 +08:00
Markus Reiter
4446fe603c
Merge pull request #15467 from Homebrew/dependabot/bundler/Library/Homebrew/msgpack-1.7.1
...
build(deps): bump msgpack from 1.7.0 to 1.7.1 in /Library/Homebrew
2023-05-22 09:21:09 +02:00
Sam Ford
cd99f72bc3
Merge pull request #15463 from samford/livecheck/fix-bitbucket-tag-match
...
Bitbucket: Fix tag match
2023-05-21 23:58:03 -04:00
Markus Reiter
813e639678
Add cask URL location to audit problems.
2023-05-21 16:17:16 +02:00
BrewTestBot
6cedcef95f
Update RBI files for msgpack.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml ) workflow.
2023-05-20 18:54:27 +00:00
BrewTestBot
a3eebe311e
brew vendor-gems: commit updates.
2023-05-20 18:49:39 +00:00
dependabot[bot]
c6cae5b080
build(deps): bump msgpack from 1.7.0 to 1.7.1 in /Library/Homebrew
...
Bumps [msgpack](https://github.com/msgpack/msgpack-ruby ) from 1.7.0 to 1.7.1.
- [Changelog](https://github.com/msgpack/msgpack-ruby/blob/master/ChangeLog )
- [Commits](https://github.com/msgpack/msgpack-ruby/compare/v1.7.0...v1.7.1 )
---
updated-dependencies:
- dependency-name: msgpack
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-05-20 18:47:00 +00:00
Markus Reiter
d55f1b85bf
Add --os
and --arch
flags to readall
.
2023-05-20 20:11:31 +02:00
Markus Reiter
106a61c0a6
Merge pull request #15469 from Homebrew/sorbet-files-update
...
sorbet: Update RBI files.
2023-05-20 19:44:11 +02:00
Markus Reiter
31ba0d280f
Remove methods from formula.rbi
.
2023-05-20 19:28:29 +02:00
BrewTestBot
9867b1cf3c
sorbet: Update RBI files.
...
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml ) workflow.
2023-05-20 00:23:06 +00:00
Todd Neal
9c29cf942d
remove mechanize-2.9.1 symlink to itself
2023-05-19 16:43:20 -05:00
Markus Reiter
7cc1b6191e
Clean up brew audit
output.
2023-05-19 19:40:37 +02:00
Sam Ford
ba7cf9df7a
Bitbucket: Fix tag match
...
The `Bitbucket` strategy currently matches versions from tag
tarball links on a project's `downloads/?tab=tags` page. It appears
that Bitbucket now uses a hash as the filename on this page instead
of the tag name, so the existing regex no longer matches.
This adds an alternative regex to match versions from the tag name
element (e.g., `<td class="name">example-1.2.3</td>`), which will fix
version matching in this scenario.
2023-05-19 10:55:28 -04:00
Markus Reiter
8371dde56a
Merge pull request #15435 from reitermarkus/working-dir-expand
...
Expand `service` paths.
2023-05-19 15:15:10 +02:00
Markus Reiter
e9bfcb9296
Merge pull request #15225 from reitermarkus/audit-os-arch
...
Add `--os=all` and `--arch=all` options for `brew audit`.
2023-05-19 15:03:32 +02:00
Markus Reiter
ee5f12d633
Merge pull request #15461 from reitermarkus/curl-download
...
Simplify `curl_download`.
2023-05-19 15:03:18 +02:00
Markus Reiter
f984495db0
Merge pull request #15458 from reitermarkus/cask-renames-token
...
Fix wrong token in `Cask::Migrator`.
2023-05-19 14:53:07 +02:00
Markus Reiter
e7a9727f56
Simplify curl_download
.
2023-05-19 14:39:46 +02:00
Markus Reiter
9885fbc129
Fix failing test.
2023-05-19 14:07:06 +02:00
Markus Reiter
c12ea0bc56
Also expand paths in command.
2023-05-18 20:00:46 +02:00
Markus Reiter
3484fa319b
Add tests.
2023-05-18 19:59:32 +02:00
Markus Reiter
7eff8957c4
Expand service
paths.
2023-05-18 19:59:32 +02:00
Markus Reiter
beb4c044c2
Fix wrong token in Cask::Migrator
.
2023-05-18 19:50:06 +02:00
Bo Anderson
2b703d5ed4
Merge pull request #15456 from Bo98/service-api-fix
...
service: fix API compatibility break
2023-05-18 15:12:21 +01:00