2599 Commits

Author SHA1 Message Date
Issy Long
8f75f66d01
Review some docs
- Most of these were fine still, apart from:
  - FAQ: `hub` is less maintained than `gh`.
  - Brew-Maintainer-Guide: link to GitHub docs on commit signing via GPG or SSH.
  - Interesting-Taps-and-Forks: remove outdated information about `homebrew/core` being in `Library/Taps`.
  - New-Maintainer-Checklist: remove outdated information about the `@members` team.
2025-02-08 14:43:49 +00:00
BrewTestBot
769fb8739f
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.
2025-02-07 19:42:46 +00:00
Mike McQuaid
5ae29d324d
Merge pull request #19258 from Homebrew/brew_alias_import
Import `brew alias` and `brew unalias` commands
2025-02-07 19:32:14 +00:00
Mike McQuaid
8adc188992
Import brew alias and brew unalias commands
Import these from the homebrew/aliases tap and deprecate that tap.

This required a little messing around with class/module/constant names
to get `brew tests` and `brew typecheck` to play nicely.

I added also added Sorbet type signatures and integration tests.
2025-02-07 14:31:50 +00:00
Sam Ford
b4757af656
livecheck: Add support for POST requests
livecheck currently doesn't support `POST` requests but it wasn't
entirely clear how best to handle that. I initially approached it as
a `Post` strategy but unfortunately that would have required us to
handle response body parsing (e.g., JSON, XML, etc.) in some fashion.
We could borrow some of the logic from related strategies but we would
still be stuck having to update `Post` whenever we add a strategy for
a new format.

Instead, this implements `POST` support by borrowing ideas from the
`using: :post` and `data` `url` options found in formulae. This uses
a `post_form` option to handle form data and `post_json` to handle
JSON data, encoding the hash argument for each into the appropriate
format. The presence of either option means that curl will use a
`POST` request.

With this approach, we can make a `POST` request using any strategy
that calls `Strategy::page_headers` or `::page_content` (directly or
indirectly) and everything else works the same as usual. The only
change needed in related strategies was to pass the options through
to the `Strategy` methods.

For example, if we need to parse a JSON response from a `POST`
request, we add a `post_data` or `post_json` hash to the `livecheck`
block `url` and use `strategy :json` with a `strategy` block. This
leans on existing patterns that we're already familiar with and
shouldn't require any notable maintenance burden when adding new
strategies, so it seems like a better approach than a `Post` strategy.
2025-02-07 08:53:47 -05:00
BrewTestBot
59597035a0
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.
2025-02-06 17:03:07 +00:00
Patrick Linnane
4c1f2b65bc
docs: run brew generate-man-completions
Signed-off-by: Patrick Linnane <patrick@linnane.io>
2025-02-05 13:39:45 +01:00
Eric Knibbe
99de228fc2
docs: various manpage grammar fixes 2025-02-05 13:38:39 +01:00
BrewTestBot
3caa98efb7
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.
2025-02-04 15:38:49 +00:00
Bo Anderson
c5e2aa63e5
Merge pull request #19222 from Homebrew/pr-upload-keep-old
dev-cmd/pr-upload: allow --keep-old with --upload-only
2025-02-03 20:23:59 +00:00
Mike McQuaid
4b55ebf894
Merge pull request #19212 from Moisan/patch-1
Add rebottling documentation in BrewTestBot-For-Maintainers.md
2025-02-03 17:18:39 +00:00
Bo Anderson
627c4a714c
dev-cmd/pr-upload: allow --keep-old with --upload-only 2025-02-03 18:15:31 +01:00
Thierry Moisan
ecc7832498
fixup! Update docs/BrewTestBot-For-Maintainers.md 2025-02-03 17:42:50 +01:00
Thierry Moisan
9311e45aa1
Update docs/BrewTestBot-For-Maintainers.md
Co-authored-by: Carlo Cabrera <github@carlo.cab>
2025-02-03 17:40:13 +01:00
Eric Knibbe
29b2f35ce8
docs: prefer /opt/homebrew in examples 2025-02-03 15:30:03 +01:00
Thierry Moisan
32ef99e612
Add rebottling documentation in BrewTestBot-For-Maintainers.md 2025-02-03 15:13:31 +01:00
Issy Long
235082549d
Merge pull request #19200 from Homebrew/docs-last-reviewed-date
Add a `last_reviewed_date` to docs metadata
2025-02-03 13:33:52 +00:00
Issy Long
5dfdfe387f
Unlink localhost:4000 - it doesn't need to be a link 2025-02-03 13:23:20 +00:00
Mike McQuaid
791194865f
Merge pull request #19188 from Homebrew/arm64_linux-tag
Rename aarch64_linux tag to arm64_linux
2025-02-03 13:21:59 +00:00
Issy Long
31d7bcc583
Add a last_reviewed_date to docs metadata
- At the AGM we formed an ad-hoc documentation working group.
- One of our ideas was that we should have a last reviewed date for
  documentation, so that we can periodically implement a review
  mechanism (GitHub Actions posts to Slack for a regular documentation
  outdatedness check?) to track how old docs are and ensure they're
  still relevant.
- This is a first step towards that goal, by adding a `last_review_date`
  to the metadata of all docs with a date of earlier than Homebrew's
  inception because everything needs reviewing so that we start from a
  good base!
2025-02-03 11:56:07 +00:00
BrewTestBot
55e7b9031d
Update maintainers.
Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml) workflow.
2025-02-03 10:20:35 +00:00
BrewTestBot
693216bc49
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.
2025-02-01 12:26:33 +00:00
Bo Anderson
fed5321969
Rename aarch64_linux tag to arm64_linux 2025-02-01 13:03:58 +01:00
Paul Bissex
a014e75cff
Update How-To-Open-a-Homebrew-Pull-Request.md
One-character correction
2025-01-29 22:18:25 -05:00
Mike McQuaid
7ff99e2353
Use ~ instead of ${HOME}
Partial revert of Homebrew/brew#19153
See https://github.com/Homebrew/brew/pull/19153#discussion_r1930678587
2025-01-27 15:19:59 +00:00
Mike McQuaid
bbf5a9f479
env_config: use environment variables consistently
- use e.g. `$HOMEBREW_*` for cases where only the environment variable
  is the entire backtick-quoted string
- use e.g. `${HOMEBREW_*}` for cases where the environment variable is
  part of a backtick-quoted string to make clear what parts are variable
  and what parts are not
- use `export HOMEBREW_*=...` for cases where we're talking about
  setting the environment variable (because it likely needs to be
  exported to work how they want)

Inspired by https://github.com/Homebrew/homebrew-bundle/pull/1579 making
similar changes for Homebrew/homebrew-bundle.
2025-01-27 14:21:27 +00:00
BrewTestBot
b7ec021ffe
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.
2025-01-27 08:59:49 +00:00
BrewTestBot
9704a74037
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.
2025-01-24 09:16:00 +00:00
BrewTestBot
b7a92f4cac
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.
2025-01-24 00:07:49 +00:00
Mike McQuaid
b49625a7dc
Add brew install --skip-link
We already have `--skip-post-install` and this adds similar behaviour
for e.g. `brew bundle` (and other users) to be able to install a
formula but skip the `brew link` stage afterwards.
2025-01-23 14:42:03 +00:00
Colin Dean
80f201f9ee
Adds caching proxy example using HOMEBREW_ARTIFACT_DOMAIN
I brought this up several months ago and got a solution working that's been running on my work machine since early September without failure.
2025-01-22 00:34:37 -05:00
Andreas Gruhler
8fa2119719 doc(cookbook): add specific case shell_output stderr
Document the specific case, where your program writes an error to stderr
that needs to be checked in a test (e.g., using `assert_match` and
`shell_output`):
* https://github.com/Homebrew/brew/issues/5149

Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2025-01-19 16:28:25 +01:00
BrewTestBot
efcde44ed1
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.
2025-01-17 12:57:50 +00:00
BrewTestBot
9260c966b1
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.
2025-01-04 15:38:38 +00:00
BrewTestBot
ba7022a63d
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.
2024-12-30 16:14:33 +00:00
Mike McQuaid
e69124045a
Remove BuildPulse and use CodeCov instead
Now we're successfully sending flaky test results to CodeCov, let's
remove BuildPulse code and docs.
2024-12-24 10:32:55 +00:00
BrewTestBot
2c3d78005c
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.
2024-12-22 17:20:02 +00:00
BrewTestBot
4514c61eca
Update maintainers.
Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml) workflow.
2024-12-06 16:06:21 +00:00
BrewTestBot
f99047a090
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.
2024-11-28 00:08:40 +00:00
Mike McQuaid
7567fe4ea6
Merge pull request #18810 from alebcay/deprecate-disable-replacement-docs
docs: mention optional replacement parameter for deprecate/disable
2024-11-25 08:49:58 +00:00
Sam Ford
1c0e657edb
docs: update redirecting url
A php.net URL in `docs/Versions.md` is redirecting to www.php.net, so
this updates the URL to avoid the redirection.
2024-11-24 10:46:37 -05:00
Caleb Xu
c5070e2c7e
docs: mention optional replacement parameter for deprecate/disable 2024-11-24 07:52:47 -05:00
Mike McQuaid
b421c2f068
Merge pull request #18760 from Homebrew/rm-outdated-info
Acceptable-Casks: remove outdated info
2024-11-13 08:46:28 +00:00
Patrick Linnane
1bc1ff9a55
Update docs/Installation.md
Co-authored-by: Eric Knibbe <enk3@outlook.com>
2024-11-12 12:51:28 -08:00
Patrick Linnane
034cdc9ebb
Installation: note that OpenCore is not supported
Signed-off-by: Patrick Linnane <patrick@linnane.io>
2024-11-12 12:43:09 -08:00
Patrick Linnane
9f4ec0eb4e
Acceptable-Casks: remove outdated info
Signed-off-by: Patrick Linnane <patrick@linnane.io>
2024-11-12 12:35:31 -08:00
BrewTestBot
4900317157
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.
2024-11-11 11:02:52 +00:00
Mike McQuaid
e4fb33928f
Merge pull request #18613 from pkryger/allow_homebrew_prefix_in_external_patches
Allow HOMEBREW_PREFIX replacement in external patches
2024-10-27 07:11:17 -07:00
BrewTestBot
00e295b4f5
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.
2024-10-26 00:07:31 +00:00
BrewTestBot
58f4500388
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.
2024-10-25 00:07:57 +00:00