36194 Commits

Author SHA1 Message Date
Markus Reiter
e85016230e
Merge pull request #15462 from Homebrew/sponsors-maintainers-man-completions
Update manpage and completions.
2023-05-19 15:16:36 +02:00
Markus Reiter
8371dde56a
Merge pull request #15435 from reitermarkus/working-dir-expand
Expand `service` paths.
2023-05-19 15:15:10 +02:00
BrewTestBot
a5a921c512
Update manpage and completions.
Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml) workflow.
2023-05-19 13:04:26 +00: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
08cffe0a64
Merge pull request #15460 from reitermarkus/fix-curl-test
Fix failing test.
2023-05-19 14:23:45 +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
Carlo Cabrera
16b2a14c94
Merge pull request #15457 from Homebrew/sponsors-maintainers-man-completions
Update manpage and completions.
2023-05-18 22:22:29 +08: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
BrewTestBot
61698a8baa
Update manpage and completions.
Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml) workflow.
2023-05-18 14:09:30 +00: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
Mike McQuaid
f7b3225574
Merge pull request #15447 from carlocab/all-github-vars
bin/brew: add all `GITHUB_*` vars to env allowlist
2023-05-17 13:06:40 +01:00
Carlo Cabrera
b65f08700d
bin/brew: add all GITHUB_* vars to env allowlist
See #15441.
2023-05-17 19:53:46 +08:00
Mike McQuaid
13d716b08c
Merge pull request #15442 from Homebrew/dependabot/github_actions/codecov/codecov-action-3.1.4
Bump codecov/codecov-action from 3.1.3 to 3.1.4
2023-05-17 12:33:08 +01:00
Mike McQuaid
81c56a5e53
Merge pull request #15444 from Homebrew/sorbet-files-update
sorbet: Update RBI files.
2023-05-17 12:32:55 +01:00
Sean Molenaar
49b4a7928e
Merge pull request #15260 from SMillerDev/feature/livecheck/github_release_strategy
feat: add github_release strategy
2023-05-17 11:09:57 +02:00
BrewTestBot
df335e36f5
sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2023-05-17 00:26:39 +00:00
Markus Reiter
6f7f8eaf81
Merge pull request #15441 from carlocab/env-allow-more-github
brew/brew: add `GITHUB_EVENT_PATH` to env allowlist
2023-05-16 22:49:37 +02:00
Sam Ford
9b6e8f8dc5
Update brew livecheck documentation 2023-05-16 16:08:20 -04:00
Sam Ford
104d30d231
Finish renaming GithubRelease to GithubReleases 2023-05-16 16:08:18 -04:00
dependabot[bot]
e41a47e730
Bump codecov/codecov-action from 3.1.3 to 3.1.4
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3.1.3 to 3.1.4.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](894ff025c7...eaaf4bedf3)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-16 18:56:46 +00:00
Sean Molenaar
940b63cad3
chore: rename GitHubRelease to GitHubReleases 2023-05-16 14:19:01 -04:00
Sam Ford
bed4737826
GithubRelease: Add tests
This adds tests to cover all of the strategy outside of the
`#find_versions` method, which we don't currently test because it
involves a network request.
2023-05-16 14:19:00 -04:00