33960 Commits

Author SHA1 Message Date
Mike McQuaid
9d6713d023
Merge branch 'master' into api-language-support 2023-02-03 08:36:23 +00:00
Mike McQuaid
14eb3536ce
Merge pull request #14484 from Homebrew/sorbet-files-update
sorbet: Update RBI files.
2023-02-03 08:31:59 +00:00
Mike McQuaid
04700cc08f
Merge pull request #14486 from apainintheneck/fix-prefix-check
OS: Fix supported prefix check
2023-02-03 08:27:32 +00:00
apainintheneck
8060360333 Fix supported version check
HOMEBREW_PREFIX is a Pathname; HOMEBREW_DEFAULT_PREFIX
and HOMEBREW_MACOS_ARM_DEFAULT_PREFIX are strings.
2023-02-02 19:58:03 -08:00
apainintheneck
15c1930804 Remove redundant FromAPILoader attempt
After 32a0877 this logic has been changed so it's now
always covered by `FromAPILoader.can_load?`.
2023-02-02 18:43:53 -08:00
apainintheneck
2d93cbe13f Handle merge conflict 2023-02-02 18:40:13 -08:00
Asutosh Palai
a3765d0a80 making core tap install an in-process call
This helps fixes problems with fresh install on ARM Linux.
When brew is relaunched with filtered PATH, it is not able to
find user installed Ruby.
2023-02-03 00:36:39 +00:00
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