28024 Commits

Author SHA1 Message Date
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
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
Mike McQuaid
1d794cd8c2
Merge pull request #15445 from binury/master
Add brew deps `--missing` arg
2023-05-18 15:08:48 +01:00
Bo Anderson
a3c96126cf
service: fix API compatibility break 2023-05-18 14:57:47 +01:00
Carlo Cabrera
6ac868a035
Merge pull request #15440 from carlocab/download-artifact-refactor
Refactor GitHub artifact downloads out of `dev-cmd/pr-pull`
2023-05-18 21:27:36 +08:00
Mike McQuaid
857dbfb2ea
Merge pull request #15455 from MikeMcQuaid/formulary_presence
formulary: use a lot more `.presence`.
2023-05-18 13:28:18 +01:00
Mike McQuaid
77f94ba5bf
formulary: use a lot more .presence.
Addresses regression in https://github.com/Homebrew/brew/pull/15396.

Fixes https://github.com/Homebrew/homebrew-core/issues/131284
Fixes https://github.com/Homebrew/homebrew-core/issues/131287
Fixes https://github.com/Homebrew/homebrew-bundle/issues/1205
2023-05-18 13:14:52 +01:00
Mike McQuaid
d70ebaea3d
Merge pull request #15409 from TheMDev/master
Download Strategy Dependency Missing Case
2023-05-18 13:09:57 +01:00
Kevin
946478aed4
Merge pull request #15396 from apainintheneck/custom-service-name
Custom service name
2023-05-17 22:09:31 -07:00
apainintheneck
f2adbf6613 service: change custom name DSL
After some discussion, we decided to change the DSL to get rid of
the `plist_name` and `service_name` methods which aren't meaningful
for most users.

The new DSL looks like this:

```rb
service do
  name macos: "name", linux: "name"
end
```

I also updated some specs here to reflect these changes.

There was some talk about maybe deprecating `plist_name` and `service_name`
but I think that's outside of the scope of this PR so I'm leaving
them as is for now. One benefit of this is that everything here is backwards
compatible.
2023-05-17 21:54:32 -07:00
Michael Wagner
78c07fd0e1
Fix Missing Download Strategy And Dependency 2023-05-17 16:30:00 -05:00
Robin Ury
dddec94fd7
Change: --skip-installed to --missing 2023-05-17 14:57:26 -05:00
Robin Ury
9b884942d7
Change: skip-installed description for clarity 2023-05-17 13:59:38 -05:00
Robin Ury
db84725c7b
Fix: strict args exception for uses 2023-05-17 13:53:19 -05:00
Robin Ury
6aa9a0e57b
Add brew deps --skip-installed arg 2023-05-17 13:53:19 -05:00
Carlo Cabrera
4c0912d95c
utils/github/artifacts: minor improvements 2023-05-17 23:54:45 +08:00
Carlo Cabrera
d7870bb24d
Move artifact download code to separate file
This will help avoid mutually-recursive `require`s.
2023-05-17 23:48:58 +08:00
Markus Reiter
a97e63efbf
Fix tests on generic OS. 2023-05-17 15:26:46 +02:00
Markus Reiter
486c3765ce
Add --os=all and --arch=all options. 2023-05-17 15:26:46 +02:00
Carlo Cabrera
43b6d79a4c
cleanup: handle GitHub Actions artifacts
Implemented based on feedback from #15440.
2023-05-17 21:11:16 +08:00
Carlo Cabrera
9260bd97e8
GitHubArtifactDownloadStrategy: fix initialize signature 2023-05-17 21:11:16 +08:00
Carlo Cabrera
ee6ef00a73
GitHubArtifactDownloadStrategy: set cache properly
Co-authored-by: Bo Anderson <mail@boanderson.me>
2023-05-17 21:11:16 +08:00
Carlo Cabrera
d372eb86ca
utils/github: remove unnecessary chdir call
The only existing caller already has the requested directory as the
workign directory, so this is currently not needed.
2023-05-17 21:11:15 +08:00
Carlo Cabrera
05337cbb79
Refactor GitHub artifact downloads out of dev-cmd/pr-pull
I plan to use these in `test-bot` to download built bottles from
previous CI runs.
2023-05-17 21:11:15 +08:00