35804 Commits

Author SHA1 Message Date
BrewTestBot
0ed2ef92cc
sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2023-02-03 00:28:00 +00:00
Mike McQuaid
3af2f0ecec
Merge pull request #14470 from Homebrew/sponsors-maintainers-man-completions
Update maintainers and generation.
2023-02-02 17:50:01 +00:00
Mike McQuaid
89a93e8c22
New-Maintainer-Checklist: update based on Homebrew-Governance. 2023-02-02 17:48:20 +00:00
Mike McQuaid
7d4c18bb50
Homebrew-Governance: import merged PRs from homebrew-governance-private
These PRs were all approved by the majority of the PLC and the majority
of them approved by the majority of the TSC. They are being put here for
a members vote, ideally before the AGM.

- Replace some "Owners" with "billing managers" and "moderators"
  - Now that GitHub has more granular roles available such as "billing
    managers" and "moderators": let's tighten up our security posture by
    only have 3 folks who need to be "Owners" rather than 10.
- Max two PLC terms
  - We discussed this one year terms last year but this seems a better
    solution. Given we refresh maintainers, TSC and the Project Leader
    yearly: this seems more consistent, responsive and fair. Note this
    would only apply to candidates for the PLC from 2024.
- Tweak nomination rules
  - Do not require any nomination: any member can run for the PLC. This
    simplifies the procedure: no nomination vote has to be done inside
    the old PLC. Members do not need to go and find someone to sponsor
    them. Just apply and let the vote begin. Ask to write down the
    intentions and keep a candidate list by using a Slack channel, to
    keep track of everything
- Mandate that the PLC report their activities
  - Mandating that the PLC report back their actions throughout the
    year. The wording here is intentionally strong - I feel it is very
    important for the health of the PLC and the membership for this to
    be stuck to.
- Don't need financial statements, have OpenCollective
  - Now that we have an open, publicly readable ledger of all our
    financial transactions: there does not seem to be any need to
    continue to have the PLC re-publish reports of our finances
    (which were hidden to all but the PLC in our SFC days).
- Make maintainer removal more explicit.
  - Improve this guidelines to provide more evidence for why, what and
    how this process occurs
  - Allow maintainers to appeal the decision of the project leader
  - Allow the project leader to re-request this vote if no progress is
    made
- Clarifies maintainer nomination process language/formatting
2023-02-02 17:15:28 +00:00
Mike McQuaid
705fe01cda
Update maintainers. 2023-02-02 17:09:52 +00:00
Mike McQuaid
41ad2eba15
update-maintainers/manpages: not all PLC are maintainers.
So list all maintainers separately.
2023-02-02 17:09:25 +00:00
Mike McQuaid
cdc6a4f11f
Merge pull request #14480 from MikeMcQuaid/no_unsupported_install_from_api
Don't allow HOMEBREW_INSTALL_FROM_API when building from source
2023-02-02 15:23:25 +00:00
Mike McQuaid
46fc4f9f1b
Don't allow HOMEBREW_INSTALL_FROM_API when building from source
When either being in a non-default prefix or being on an unsupported
macOS version we expect most things to be built from source. In that
environment, do not allow HOMEBREW_INSTALL_FROM_API to be set.

Fixes #14475
2023-02-02 14:49:34 +00:00
Mike McQuaid
cdf58fe392
Merge pull request #14439 from MikeMcQuaid/cask_source_tweaks
Tweak cask-source API handling
2023-02-02 12:50:27 +00:00
Mike McQuaid
1c1c1623e2
test/cask/cmd/list: add tap_git_head. 2023-02-02 12:19:44 +00:00
Mike McQuaid
28e1135c92
Merge pull request #14437 from hyuraku/apply-extend/os-to-migrate_gcc_dependents_if_needed
apply extend/os to `migrate_gcc_dependents_if_needed`
2023-02-02 10:45:09 +00:00
hyuraku
a57b9e7bdf repair if style 2023-02-02 19:03:05 +09:00
hyuraku
4caee38388 mv extend/os update-report 2023-02-02 19:00:13 +09:00
hyuraku
6945cd7da4 - remove mac/cmd/update-report
- repair if condition
- repair require filename
2023-02-02 18:50:09 +09:00
Carlo Cabrera
4ded574330
Merge pull request #14471 from carlocab/regex-fix 2023-02-02 08:59:46 +08:00
Dawid Dziurla
856a347bfd
Merge pull request #14474 from dawidd6/fix-lc-tc-aliases
brew.sh: add missing dev-cmd aliases
2023-02-01 20:26:04 +01:00
Sean Molenaar
f67d4c4ed6
chore: deprecate plist_options in formula 2023-02-01 17:44:36 +01:00
Dawid Dziurla
e1700178bd
brew.sh: add missing dev-cmd aliases 2023-02-01 13:51:18 +01:00
apainintheneck
e0ad960025 Load cask from API with fullname
This allows homebrew/cask/caskname
to work with the FromAPILoader.

Also, creates new constant to hold the
regex to validate main tap casks.
2023-01-31 19:39:10 -08:00
Carlo Cabrera
93fd448c6c
version: fix bad regexps in version parsers
The character class `[.-v]` is interpreted as all the characters between
`.` and `v`, which is clearly not what is intended here.

Here's an example of what this fixes. Before:

    ❯ brew ruby -e 'puts Version.detect("https://github.com/llvm/llvm-project/releases/download/llvmorg-16.0.0-rc1/llvm-project-16.0.0rc1.src.tar.xz")'
    6.0.0rc1

After:

    ❯ brew ruby -e 'puts Version.detect("https://github.com/llvm/llvm-project/releases/download/llvmorg-16.0.0-rc1/llvm-project-16.0.0rc1.src.tar.xz")'
    16.0.0rc1

The problem here is that `1` is a match for `/[.-v]/`.

    ❯ brew ruby -e 'puts /[.-v]/.match("1")'
    1
2023-02-01 10:48:45 +08:00
Mike McQuaid
7a5f6143d3
Merge pull request #14466 from Homebrew/dependabot/bundler/Library/Homebrew/tzinfo-2.0.6
build(deps): bump tzinfo from 2.0.5 to 2.0.6 in /Library/Homebrew
2023-01-31 12:05:49 +00:00
Mike McQuaid
34b1cc2218
Merge pull request #14458 from dduugg/rm-string-extension
Remove redundant String extension
2023-01-31 11:55:43 +00:00
Mike McQuaid
e7380b2e76
Merge pull request #14446 from Homebrew/dependabot/bundler/Library/Homebrew/webrick-1.8.1
build(deps): bump webrick from 1.7.0 to 1.8.1 in /Library/Homebrew
2023-01-31 11:46:35 +00:00
Mike McQuaid
90b154fdb5
Merge branch 'master' into cask_source_tweaks 2023-01-31 10:50:34 +00:00
apainintheneck
4917a35413 Add sanity check for cask token 2023-01-30 23:52:57 -08:00
Kevin
1e4ae4ef7d
Merge pull request #14452 from dduugg/rm-undent-mp
remove String#undent 🐵-patch
2023-01-30 21:28:51 -08:00
Issy Long
79676ad20d
Merge pull request #14450 from issyl0/casks-are-not-formulae
cli/parser: Don't treat args with `--cask` as formulae
2023-01-31 00:07:06 +00:00
Dawid Dziurla
b1b5dbb44b
Merge pull request #14460 from p-linnane/remove-lion-ref
docs: Remove Lion reference
2023-01-31 01:06:52 +01:00
Dawid Dziurla
6bc4c32951
Merge pull request #14459 from Homebrew/dawidd6-patch-1
docs: mention Linux on site description
2023-01-31 01:06:30 +01:00
BrewTestBot
a63c289d88
Update RBI files for tzinfo.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2023-01-30 18:12:20 +00:00
BrewTestBot
268f3fc8ed
brew vendor-gems: commit updates. 2023-01-30 18:05:21 +00:00
dependabot[bot]
d457b63581
build(deps): bump tzinfo from 2.0.5 to 2.0.6 in /Library/Homebrew
Bumps [tzinfo](https://github.com/tzinfo/tzinfo) from 2.0.5 to 2.0.6.
- [Release notes](https://github.com/tzinfo/tzinfo/releases)
- [Changelog](https://github.com/tzinfo/tzinfo/blob/master/CHANGES.md)
- [Commits](https://github.com/tzinfo/tzinfo/compare/v2.0.5...v2.0.6)

---
updated-dependencies:
- dependency-name: tzinfo
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-30 18:01:07 +00:00
Patrick Linnane
a544d6fe6a
docs: Remove Lion reference 2023-01-28 19:29:18 -08:00
Dawid Dziurla
c775513127
docs: mention Linux on site description 2023-01-28 22:09:17 +01:00
Rylan Polster
4b3d64d307
Merge pull request #14453 from Rylan12/languages-in-cask-api
Add `languages` to cask API
2023-01-28 14:46:21 -06:00
Douglas Eichelberger
e98e668a34 remove redundant string extension 2023-01-28 08:26:11 -08:00
Issy Long
1ce6a38730
cli/parser: Casks can be specified with --cask or --casks 2023-01-28 12:55:57 +00:00
hyuraku
653930bed8 mv files to os/*/cmd/ 2023-01-28 21:38:40 +09:00
Rylan Polster
f38ac3943f
Fix tests 2023-01-28 02:39:23 -06:00
Rylan Polster
2c78840f57
Fix typecheck issue 2023-01-28 02:16:09 -06:00
Rylan Polster
014b603b1f
Fix tests 2023-01-28 02:15:05 -06:00
Rylan Polster
32a0877cad
Remove CaskSource API 2023-01-28 02:15:00 -06:00
Rylan Polster
c1fdcbdd0e
Support languages when installing from the API 2023-01-28 01:42:19 -06:00
Rylan Polster
0f79b24203
Add languages to cask API 2023-01-28 01:05:54 -06:00
Douglas Eichelberger
220becda96 remove undent 🐵-patch 2023-01-27 22:55:38 -08:00
Douglas Eichelberger
dc78e91edd missed a few 2023-01-27 22:54:14 -08:00
Douglas Eichelberger
1dbeee826d replace undent with squiggly heredoc 2023-01-27 22:52:44 -08:00
Issy Long
8881ea74b5
cli/parser: Don't treat args with --cask as formulae
- For the command `brew install --cask racket`, a user was reporting the
  behaviour where despite `--cask` in the command, they were getting
  output about the `racket` formula having been renamed:

```
$ brew install --cask racket
Warning: Use minimal-racket instead of deprecated racket
==> Downloading https://mirror.racket-lang.org/installers/8.7/racket-8.7-x86_64-macosx-cs.
==> Installing Cask racket
[...]
racket was successfully installed!
```

- The "instead of deprecated ..." messaging comes from the `TapLoader`
  class `formula_name_path` method, so _something_ must be assuming
  that everything is initially a formula before _later_ learning from
  further args parsing that there's a `--cask` qualifier to scope to
  only casks.

- There are always `@formula_options` and args parsing is recursive,
  going through each option, so we check that the original `argv` items
  include a `--cask` and skip calling the `formulae` method if that's
  the case.

- After this change, the "formula renames" words no longer show up.

```
$ brew install --cask racket
==> Downloading https://mirror.racket-lang.org/installers/8.7/racket-8.7-aarch64-macosx-cs.dmg
==> Installing Cask racket
[...]
racket was successfully installed!
```
2023-01-27 21:49:20 +00:00
BrewTestBot
ebe8a70954
Update RBI files for webrick.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2023-01-27 18:14:26 +00:00
BrewTestBot
f9facbf2b6
brew vendor-gems: commit updates. 2023-01-27 18:08:11 +00:00