2532 Commits

Author SHA1 Message Date
Ingmar Steiner
98afa7e77f
Add license to block preceding revision placement 2024-09-04 16:08:49 +02:00
Michael Cho
a548a81040
docs: remove references to deprecated/disabled GCC formulae 2024-09-02 12:03:06 -04:00
Patrick Linnane
1d71ee8f16
Merge pull request #18199 from Homebrew/remove-miccal-maintainer 2024-08-29 19:33:38 -07:00
miccal
b8ec1bfd5b
Update README.md and manpage 2024-08-30 08:44:31 +08:00
Ryan Schumacher
ff6df8ee56
Update How-To-Open-a-Homebrew-Pull-Request.md
Co-authored-by: Carlo Cabrera <30379873+carlocab@users.noreply.github.com>
2024-08-29 18:45:10 -05:00
Ryan Schumacher
b31a9b922e
Apply suggestions from code review
Co-authored-by: Ruoyu Zhong <zhongruoyu@outlook.com>
2024-08-29 15:55:12 -05:00
Ryan Schumacher
e5a3f0e583
Update docs/How-To-Open-a-Homebrew-Pull-Request.md
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2024-08-29 15:54:32 -05:00
Ryan Schumacher
72f995599d
Update docs/How-To-Open-a-Homebrew-Pull-Request.md
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2024-08-29 08:48:45 -05:00
Ryan Schumacher
010304a9a1
Update docs/How-To-Open-a-Homebrew-Pull-Request.md
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2024-08-29 08:48:39 -05:00
Ryan Schumacher
f119b4a6d0
Added the block for casks 2024-08-29 08:28:18 -05:00
Ryan Schumacher
ff8b3f21f9
Move to appropriate section and resolve lint error 2024-08-29 08:19:34 -05:00
Ryan Schumacher
5fb6a8b8e3
Add link to Acceptable Formulae and slight wording change for more clarity. 2024-08-29 08:17:22 -05:00
Ryan Schumacher
8c6aa176f6
Add note about auditor to How-To-Open-a-Homebrew-Pull-Request.md 2024-08-29 05:17:26 -05:00
Michael Cho
4d537fe6da
docs: use NOTE rather than NOTICE 2024-08-23 11:04:28 -04:00
BrewTestBot
0267484403
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-08-23 07:07:41 +00:00
Bo Anderson
7117233e5f
docs/Typechecking: update to latest code standards 2024-08-20 15:55:57 +01:00
BrewTestBot
143b39cfc9
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-08-19 11:57:14 +00:00
BrewTestBot
6b2827cbda
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-08-15 19:01:02 +00:00
BrewTestBot
787b44fecf
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-08-15 14:29:45 +00:00
Issy Long
45978435e7
rubocop: Use Sorbet/StrictSigil as it's better than comments
- Previously I thought that comments were fine to discourage people from
  wasting their time trying to bump things that used `undef` that Sorbet
  didn't support. But RuboCop is better at this since it'll complain if
  the comments are unnecessary.

- Suggested in https://github.com/Homebrew/brew/pull/18018#issuecomment-2283369501.

- I've gone for a mixture of `rubocop:disable` for the files that can't
  be `typed: strict` (use of undef, required before everything else, etc)
  and `rubocop:todo` for everything else that should be tried to make
  strictly typed. There's no functional difference between the two as
  `rubocop:todo` is `rubocop:disable` with a different name.

- And I entirely disabled the cop for the docs/ directory since
  `typed: strict` isn't going to gain us anything for some Markdown
  linting config files.

- This means that now it's easier to track what needs to be done rather
  than relying on checklists of files in our big Sorbet issue:

```shell
$ git grep 'typed: true # rubocop:todo Sorbet/StrictSigil' | wc -l
    268
```

- And this is confirmed working for new files:

```shell
$ git status
On branch use-rubocop-for-sorbet-strict-sigils
Untracked files:
  (use "git add <file>..." to include in what will be committed)
        Library/Homebrew/bad.rb
        Library/Homebrew/good.rb

nothing added to commit but untracked files present (use "git add" to track)

$ brew style
Offenses:

bad.rb:1:1: C: Sorbet/StrictSigil: Sorbet sigil should be at least strict got true.
^^^^^^^^^^^^^

1340 files inspected, 1 offense detected
```
2024-08-12 15:24:27 +01:00
BrewTestBot
b2a1ad519f
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-08-09 00:07:01 +00:00
BrewTestBot
29a9fd90ce
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-08-06 22:29:00 +00:00
Mike McQuaid
1e560120a6
Merge pull request #17867 from branchvincent/std_npm_args 2024-08-05 08:52:07 +01:00
Issy Long
768ef34bc2
Formula-Cookbook: Stop recommending rm_f in postinstall
- After all the work that went into
  https://github.com/Homebrew/brew/pull/17705, we
  don't want the docs disagreeing with what CI says
  the style should be.
2024-08-05 00:10:00 +01:00
Branch Vincent
96c9ea1485
docs: update with std_npm_args 2024-08-03 20:28:39 -07:00
BrewTestBot
9a288e6816
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-08-03 20:17:21 +00:00
BrewTestBot
e158a5260a
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-08-02 23:32:18 +00:00
James Kerrane
e3082ac5d8 docs: Update find-appcast command
Updates the documentation for PR https://github.com/Homebrew/homebrew-cask/pull/174292 that converted find-appcast from a developer script to command.
2024-08-02 14:48:03 -06:00
William Woodruff
52fd495a5c
fix header + anchor
Technically PEP 668 isn't unique to 3.12 anyways.

Signed-off-by: William Woodruff <william@yossarian.net>
2024-08-01 10:10:32 -04:00
William Woodruff
c354c288ae
Homebrew-and-Python: more PEP 668 guidance
Signed-off-by: William Woodruff <william@yossarian.net>
2024-07-31 14:26:05 -04:00
Mike McQuaid
ca22e9ccfa
Merge pull request #17904 from Homebrew/lock_improvements 2024-07-30 18:02:02 +01:00
Mike McQuaid
e3a1a9dccf
Improve locking UX
My experience recently playing around with our locking behaviour is
that, while mostly seamless and not seen by users, it's leaks
implementation details a bit too heavily.

As a result, the following improvements are in this commit:
- Ensure that, whenever possible, we tell the user the actual command
  that is holding a given lock instead of the lock name (an internal
  implementation detail)
- Make the locking error output a little more consistent and user
  friendly
- Add a `DownloadLock` class to simplify locking downloads
- Add a `HOMEBREW_LOCK_CONTEXT` variable to allow adding additional
  context for logging error messages
- Lock paths and leave deciding how this translates to lock names up
  to the locking code itself
- Lock the Cellar/Caskroom paths explicitly rather than implicitly

Co-authored-by: Carlo Cabrera <30379873+carlocab@users.noreply.github.com>
2024-07-30 17:51:02 +01:00
Patrick Linnane
b1eb6da98d
Formula-Cookbook: add std_npm_args
Signed-off-by: Patrick Linnane <patrick@linnane.io>
2024-07-26 14:35:41 -07:00
Mike McQuaid
9aaae260a9
docs/Maintainer-Guidelines: tweak auto-merging.
Now we require comments to be resolved: the flow is a bit nicer here.
2024-07-26 17:39:40 +01:00
Bo Anderson
10cbf191dc
Add env to disable finding packages from paths 2024-07-25 11:37:44 +01:00
Bo Anderson
93dbb9593d
Add env to disable Debrew 2024-07-24 06:16:18 +01:00
Sam Ford
61f5e2b698
Merge pull request #17798 from muescha/patch-3
Update Brew-Livecheck.md: add examples for modify version information
2024-07-18 12:43:16 -04:00
Muescha
5ce0124c4b
Update docs/Brew-Livecheck.md - simplify regex
Co-authored-by: Sam Ford <1584702+samford@users.noreply.github.com>
2024-07-18 18:00:59 +02:00
Muescha
3b0488edb4
Update docs/Brew-Livecheck.md - better wording
Co-authored-by: Sam Ford <1584702+samford@users.noreply.github.com>
2024-07-18 17:58:13 +02:00
Muescha
f0f491b417
Update docs/Brew-Livecheck.md - uppercase YAML and quotation
Co-authored-by: Sam Ford <1584702+samford@users.noreply.github.com>
2024-07-18 17:57:50 +02:00
Patrick Linnane
2f3076b4ad
Merge pull request #17797 from muescha/patch-2 2024-07-18 08:24:23 -07:00
Muescha
cee029516e
Update Brew-Livecheck.md
fix ruby style guide check
2024-07-18 16:07:26 +02:00
Muescha
8a00f0451b
Update Brew-Livecheck.md: add examples for modify version information
add examples for modify version information
2024-07-18 15:56:43 +02:00
Muescha
56ec4363eb
Update How-To-Open-a-Homebrew-Pull-Request.md: add links to Manpage
add links to Manpage
2024-07-18 15:29:36 +02:00
Patrick Linnane
7b8d0e6b7f
Formula-Cookbook: add std_*_args explanations
Signed-off-by: Patrick Linnane <patrick@linnane.io>
2024-07-17 17:36:51 -07:00
BrewTestBot
f8cbcffeba
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-07-15 19:56:06 +00:00
Ruoyu Zhong
e806870f85
cmd/update-reset.rb: the named args are repos not taps 2024-07-14 23:12:53 -04:00
Mike McQuaid
5987c5c1d0
Add stub Ruby commands for all Bash commands.
This gets us pretty similar (but easier to manage) manpage output but
much nicer completions etc. for all these commands.
2024-07-14 23:12:53 -04:00
BrewTestBot
fc08017310
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-07-14 20:49:39 +00:00
BrewTestBot
25364eb479
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-07-14 16:06:07 +00:00