2315 Commits

Author SHA1 Message Date
Issy Long
d0795d2b9d
Delete ancient 'managing PRs' flowchart
- This diagram was really old and didn't reflect the current practices
  (a lot more things are automated now, hurray).
- Anything we replace it with will get outdated fast too.
- Also delete the diagramming docs since I don't believe we have made
  another diagram since this one which got out of date and forgotten
  about since it was a DrawIO SVG and not easily editable as code.
- If we want diagrams these days, we can use Mermaid which is
  diagrams-as-code.
2024-02-05 01:47:55 +01:00
Issy Long
06028c204a
Merge pull request #16518 from issyl0/rubocop-md
rubocop: Try out `rubocop-md` for linting the code in our docs
2024-02-02 15:49:46 +00:00
Issy Long
ca92fca770
Turn off FormulaAudit/{Desc,Homepage} for docs
- We don't need this blanket enabled, we only have a few docs where it actually matters that there's a description, it's just cruft having to invent descriptions.
2024-02-02 15:37:01 +00:00
Issy Long
bcd3a78f6d
Ignore the generated manpage; reinstate its trailing whitespace 2024-02-02 15:24:17 +00:00
BrewTestBot
7db1103408 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-01-31 22:17:10 -08:00
Issy Long
3ee62bb244
Update example formula descriptions 2024-01-29 22:43:36 +00:00
Issy Long
3955a70a26
Delete easily outdated template docs for brew create 2024-01-29 22:39:12 +00:00
Issy Long
3f5ae06ab1
Allow a longer Layout/LineLength for just the bottle blocks 2024-01-27 12:32:46 +00:00
Issy Long
aaddc66548
Fix remaining RuboCop FormulaAudit offenses in example code 2024-01-27 12:30:00 +00:00
Patrick Linnane
72a7ffd7ee
docs: drop example that requires --eval-all
Signed-off-by: Patrick Linnane <patrick@linnane.io>
2024-01-26 08:17:44 -08:00
BrewTestBot
a1ce124ca3
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-01-26 14:03:20 +00:00
Patrick Linnane
58c58da3fe
docs: use --eval-all with brew info
Signed-off-by: Patrick Linnane <patrick@linnane.io>
2024-01-25 09:30:06 -08:00
Michael Cho
6bc6aae0ca
cmd/upgrade: rename arg to installed_formula/cask
This avoids running `brew outdated` in shell completions, which is
noticeably slow.
2024-01-24 12:45:49 -05:00
Issy Long
00b47d1fec
Teach brew style about docs/.rubocop.yml
- Yes, we have yet another `.rubocop.yml` but in-line exclusions in
  `<span class="display:none;">` in the Markdown seemed more ugly.
- This needed tweaks to `brew style` to make it read the new config
  file when we're scanning docs.
2024-01-24 00:01:45 +00:00
Issy Long
e5ae67f906
Fix RuboCop FormulaAudit/ group offenses for docs code examples 2024-01-24 00:01:44 +00:00
Issy Long
9b6903f50b
Fix RuboCop Style/ group offenses in docs example code 2024-01-24 00:01:43 +00:00
Issy Long
af90f0858a
Fix RuboCop Layout/ group offenses in docs example code 2024-01-24 00:01:42 +00:00
Issy Long
6485324b18
Fix Sorbet/ group offenses in docs example code
- T::Sig hasn't been needed in every file for a long time.
2024-01-24 00:01:41 +00:00
Issy Long
28c513ac9d
Fix basic Ruby syntax errors in docs example code
- Blocks should open with `do` and close with `end`.
- `...` is not valid Ruby syntax, so comment it out so that the user
  knows that it's a placeholder for "other things here".
- Reword the "header line details" in `Cask-Cookbook` otherwise RuboCop
  crashes even with an `end` because of the empty block. There was
  already an example of a valid header line in the first code block on
  the page, so it's not a big loss.
2024-01-24 00:01:39 +00:00
Mike McQuaid
2ed2b337c2
Merge pull request #16507 from bevanjkay/cask-uninstall-upgrade-skip
cask/uninstall: skip quit/signal directives when upgrading or reinstalling
2024-01-21 19:16:36 +00:00
Issy Long
b3fad798be
docs/Maintainer-Guide: Fix BuildPulse links
https://github.com/Homebrew/brew/actions/runs/7596213836/job/20689665591?pr=16512
2024-01-20 19:18:46 +00:00
Bevan Kay
bd6ab1d2b8
cask/uninstall: skip quit and signal directives when upgrading or reinstalling 2024-01-19 23:30:25 +11:00
Michael Cho
ac8cba73b7
docs: remove OpenSSL keg_only information
OpenSSL is no longer `keg_only` since
501a8a714d
2024-01-15 11:43:18 -05:00
Mike McQuaid
155641340b
Merge pull request #16418 from jaymzh/gem-docs
Add some specifics on gems (and maybe pips)
2024-01-15 13:52:17 +00:00
Phil Dibowitz
9f11ef9aa1 Add some specifics on gems (and maybe pips)
In https://github.com/Homebrew/homebrew-core/pull/157910 we discussed
some improvements to docs on setting up gems. THis is an attempt at some
docs for that.

If someone can help with pip docs for this I'll add it too.

Signed-off-by: Phil Dibowitz <phil@ipom.com>
2024-01-13 15:29:51 -08:00
Patrick Linnane
3fdba532a2
various: fix miscellaneous typos
Signed-off-by: Patrick Linnane <patrick@linnane.io>
2024-01-12 10:56:49 -08:00
BrewTestBot
f4120ccfe9
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-01-12 18:41:23 +00:00
Tomy Hsieh
bb5d98358a
Patch new cask documentation 2024-01-10 22:01:12 +08:00
Mike McQuaid
1ed083f607
docs/Homebrew-Governance: import changes.
These are changes that were made in the private repository mirror
and either voted on by members already (where they were changes) or
were agreed clarifications on existing policy.
2024-01-09 10:16:57 +00:00
apainintheneck
894b94bfd7 dev-cmd/tests: Add profile option
This will allow us to more easily measure test performance. The only
downside here is that we can't use it with parallel rspec because
it will show the n slowest tests for each parallel rspec run which
is not what we want.
2024-01-06 12:51:15 -08:00
Osama Albahrani
0d190f7497
Homebrew-on-Linux.md: switch to pacman -S
I realized the convention in documentations is to recommend `-S`, not `-Syu`, as a system upgrade is usually an overkill. This change also makes Homebrew's documentation more consistent.
2024-01-04 05:15:21 -05:00
Eric Knibbe
09b7a7bceb
docs: mention standard argument methods 2023-12-22 21:44:42 -05:00
Sean Molenaar
86e31d07d8
feat: add "no public presence" as cask rejection reason 2023-12-21 15:35:55 +01:00
Rylan Polster
67598ce2c9
Merge pull request #16354 from Rylan12/docs-deprecate-disable-cask
Add `deprecate!` and `disable!` to cask docs
2023-12-19 20:39:45 -05:00
lucky
1ee012fd78 update brew audit params in docs 2023-12-18 21:02:15 +04:00
Rylan Polster
2a1a54c58a
Add deprecate! and disable! to cask docs 2023-12-17 19:59:53 -05:00
BrewTestBot
4470edd1f2
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-12-17 15:35:39 +00:00
Mike McQuaid
7dfbaec9d4
docs/Acceptable-Casks: capitalise Apple Silicon. 2023-12-17 15:22:44 +00:00
Razvan Azamfirei
cbe2c1d5c5
docs: update documentation 2023-12-15 15:49:05 -05:00
Mike McQuaid
cd8a9c02cb
Merge pull request #16301 from apainintheneck/update-pinned-formula-messaging
cmd/pin: Update pinned formula messaging
2023-12-13 12:17:21 +00:00
Michael Cho
f00c9277ae
docs: remove pip search recommendation
This is no longer supported and will just error with:
```
ERROR: XMLRPC request failed [code: -32500]
RuntimeError: PyPI no longer supports 'pip search' (or XML-RPC search).
Please use https://pypi.org/search (via a browser) instead. See
https://warehouse.pypa.io/api-reference/xml-rpc.html#deprecated-methods
for more information.
```
2023-12-12 12:21:35 -05:00
apainintheneck
b3a6e59f96 cmd/pin: Update pinned formula messaging
The hope is that this will be clearer and less annoying for users.

A user came to us a couple weeks ago stating that it was confusing
that the `brew upgrade` command printed an error when a pinned
formula had a new version available and didn't get upgraded.

This PR changes that message to a warning from an error. While looking
into this we found that there is another message that gets printed
when a package dependency doesn't get upgraded because it is pinned
and that got turned into a warning from a normal message. Honestly,
that should be more worrying for the user anyway; it could lead to
a program not working correctly in the worst case.

I also added a message to the `brew pin` command warning about
potential unintended behavior if a dependency gets pinned and another
package requires a newer version of it.

Lastly, I added a commented out deprecation notice for the
`brew upgrade --ignore-pinned` command since it's now the default.
2023-12-07 23:43:02 -08:00
Bo Anderson
b42256d286
Deprecate, disable & delete code for Homebrew 4.2.0 2023-12-07 23:42:13 +00:00
BrewTestBot
f8ad848e9e
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-12-06 20:28:11 +00:00
Mike McQuaid
ae94d9e28b
docs: various tweaks.
Adjust various maintainer and contributor-focused documents after
recent maintainer conversations and generally anything I noticed was
wrong or outdated as I went through these.
2023-12-06 14:29:09 -05:00
BrewTestBot
7740465fba
Update maintainers.
Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml) workflow.
2023-12-02 00:06:19 +00:00
Bo Anderson
2cefdd0284
doc/Installation: make clear the env configs are advanced settings
Co-authored-by: Kevin <apainintheneck@gmail.com>
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2023-11-29 15:43:22 +00:00
Ruoyu Zhong
8ae66eb5f9
docs/Interesting-Taps-and-Forks: add apple/apple
I guess a tap made by Apple is interesting enough.
2023-11-21 00:44:54 +08:00
BrewTestBot
9387085798
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-11-14 00:06:09 +00:00
BrewTestBot
df87dfba1e
Update maintainers.
Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml) workflow.
2023-11-06 00:06:07 +00:00