33117 Commits

Author SHA1 Message Date
Bo Anderson
8cb056c657
Remove sitedir from LOAD_PATH 2022-10-24 19:42:49 +01:00
Bo Anderson
6a7eac25e1
Merge pull request #14003 from Bo98/linux-req
Update Linux requirements
3.6.7
2022-10-24 01:41:50 +01:00
Bo Anderson
2365c6bed5
Merge pull request #14039 from p-linnane/installation-typo
docs: Fix minor version typo
2022-10-23 19:23:54 +01:00
Patrick Linnane
01fa07d08a
Update docs/Installation.md
Co-authored-by: Bo Anderson <mail@boanderson.me>
2022-10-23 08:36:12 -07:00
Patrick Linnane
cc358c2cad
Fix minor version typo 2022-10-22 21:23:44 -07:00
Aryeh Hillman
51643d0ef0
Suggest --verbose for softwareupdate --all ...
Gives information about what is being updated, downloaded, etc. Else the updater is quite silent and it's hard to tell what's going on and when it will complete.

Example with the `--verbose` flag:

```
% softwareupdate --all --install --force --verbose

Software Update Tool

Finding available software
Downloading macOS Ventura 13.0
Password: 
Downloading: 65.02%
```

This feature is documented via `--help`; i.e.:

```
% softwareupdate --help
usage: softwareupdate <cmd> [<args> ...]

** Manage Updates:
	-l | --list		List all appropriate update labels (options:  --no-scan, --product-types)
	-d | --download		Download Only
	-i | --install		Install
		<label> ...	specific updates
		-a | --all		All appropriate updates
		-R | --restart		Automatically restart (or shut down) if required to complete installation.
		-r | --recommended	Only recommended updates
		     --os-only	Only OS updates
		     --safari-only	Only Safari updates
		     --stdinpass	Password to authenticate as an owner. Apple Silicon only.
		     --user	Local username to authenticate as an owner. Apple Silicon only.
	--list-full-installers		List the available macOS Installers
	--fetch-full-installer		Install the latest recommended macOS Installer
		--full-installer-version	The version of macOS to install. Ex: --full-installer-version 10.15
	--install-rosetta	Install Rosetta 2
	--background		Trigger a background scan and update operation

** Other Tools:
	--dump-state		Log the internal state of the SU daemon to /var/log/install.log
	--evaluate-products	Evaluate a list of product keys specified by the --products option 
	--history		Show the install history.  By default, only displays updates installed by softwareupdate.  

** Options:
	--no-scan		Do not scan when listing or installing updates (use available updates previously scanned)
	--product-types <type>		Limit a scan to a particular product type only - ignoring all others
		Ex:  --product-types macOS  || --product-types macOS,Safari 
	--products		A comma-separated (no spaces) list of product keys to operate on. 
	--force			Force an operation to complete.  Use with --background to trigger a background scan regardless of "Automatically check" pref 
	--agree-to-license		Agree to the software license agreement without user interaction.

	--verbose		Enable verbose output
	--help			Print this help
```
2022-10-22 16:09:52 -07:00
Harry Marr
237a4181c0
Add docs for casks that use git URLs 2022-10-22 12:01:13 -04:00
Harry Marr
2d68e27d7b
Prefix artifact source with only_path 2022-10-22 10:54:51 -04:00
Harry Marr
b11df3bef8
Singularise only_paths (now only_path) 2022-10-22 10:53:02 -04:00
Ian Gregory
a715dec49d Add --adopt switch
Allows `brew install` & co. to adopt existing cask artifacts that are
identical to those being installed.

Discussion: #14006
2022-10-21 23:28:51 -04:00
Rylan Polster
faa995022d
Merge pull request #14030 from Rylan12/checksum-json-api
Add stable checksum to the JSON API
2022-10-21 11:56:42 -04:00
Rylan Polster
cc78b155c6
Add stable checksum to the JSON API 2022-10-21 01:22:36 -04:00
Harry Marr
6219cd0a92
Use different cache tag for sparse checkouts 2022-10-20 15:47:26 -04:00
Harry Marr
49e2cf9f92
Extract supports_partial_clone_sparse_checkout? 2022-10-20 15:45:33 -04:00
Harry Marr
99504c4474
Use blank? rather than nil?
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2022-10-20 15:45:33 -04:00
Harry Marr
1472259e1d
Appease rubocop 2022-10-20 15:45:33 -04:00
Harry Marr
7df90eb7e1
Support git partial clones with sparse checkouts 2022-10-20 15:45:32 -04:00
Bo Anderson
2bec760529
Merge pull request #14028 from Bo98/ventura-bump
Ventura RC version bumps
2022-10-20 20:37:26 +01:00
Bo Anderson
c092708448
Ventura RC version bumps 2022-10-20 20:04:42 +01:00
Eric Knibbe
0a25588a04
Merge pull request #14023 from EricFromCanada/docs-add-common-issue
Docs: mention "path not in the working tree" error in Common Issues
2022-10-20 11:49:42 -04:00
Bo Anderson
4f4747cf98
Merge pull request #14014 from Bo98/ruby3-part2
Additional fixes for Ruby 3 compatibility
2022-10-20 16:17:01 +01:00
Mike McQuaid
d863d333c7
Merge pull request #14015 from Homebrew/sorbet-files-update
sorbet: Update RBI files.
2022-10-20 15:51:29 +01:00
EricFromCanada
67f6f29675
docs: section 1 wording/formatting fixes 2022-10-20 09:35:42 -04:00
EricFromCanada
bbac622d1b
docs: mention "path not in the working tree" error 2022-10-20 09:14:33 -04:00
Mike McQuaid
f33b8511b5
Merge pull request #14025 from MikeMcQuaid/bundler_with_unbundled_env
integration_test: fix Bundler deprecation.
2022-10-20 14:01:42 +01:00
Mike McQuaid
bfd2263425
integration_test: fix Bundler deprecation.
Otherwise in some configurations some tests will fail.
2022-10-20 13:33:27 +01:00
Mike McQuaid
3bb2cd4ece
Merge pull request #13971 from MikeMcQuaid/stronger-language
Strengthen "don't create issues" language
2022-10-20 12:04:28 +01:00
Mike McQuaid
8a963deda1
Merge pull request #14024 from MikeMcQuaid/ventura_test_fixes
macOS Ventura (and related) test fixes
2022-10-20 11:57:30 +01:00
Mike McQuaid
53b1c0f48e
Strengthen "don't create issues" language
We're still getting a non-trivial number of issues from configurations
we don't support and don't plan to.

Let people know that we know their experience will not be good and what
to expect if they file issues.

Co-authored-by: Eric Knibbe <enk3@outlook.com>
2022-10-20 11:39:20 +01:00
Mike McQuaid
416af82670
macOS Ventura (and related) test fixes
- fix `check_for_config_scripts` test, no idea why this wasn't working
- don't autoretry tests if `focus` or `byebug` are enabled
- add a ARM64 Ventura bottle symlink
2022-10-20 11:28:27 +01:00
Bo Anderson
38cb504898
Merge pull request #14022 from Bo98/system-ruby-sdkroot
utils/gems: set SDKROOT for macOS system Ruby
2022-10-19 19:10:27 +01:00
Bo Anderson
200cdc69df
utils/gems: set SDKROOT for macOS system Ruby 2022-10-19 18:39:52 +01:00
Mike McQuaid
c6b7836368
Merge pull request #14020 from samford/allow-livecheck-block-in-on_system-blocks
Allow livecheck method in on_system blocks
2022-10-19 11:20:09 +01:00
Mike McQuaid
13f2a317ec
Merge pull request #14021 from fxcoudert/ventura
Mark macOS Ventura as supported
2022-10-19 11:18:11 +01:00
Mike McQuaid
5540225c9a
Merge pull request #14019 from Homebrew/sponsors-maintainers-man-completions
Update sponsors.
2022-10-19 11:17:16 +01:00
FX Coudert
8749e19e63
Update docs/Installation.md
Co-authored-by: Sean Molenaar <SMillerDev@users.noreply.github.com>
2022-10-19 11:48:13 +02:00
Francois-Xavier Coudert
e16afb305e Mark macOS Ventura as supported 2022-10-19 11:21:52 +02:00
Sam Ford
95364610cc
Merge pull request #14011 from samford/resource_auditor-fix-audit_head_branch-error
ResourceAuditor: Fix #audit_head_branch error
2022-10-18 23:15:11 -04:00
BrewTestBot
36f2e25160
Update sponsors.
Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml) workflow.
2022-10-19 00:10:33 +00:00
Sam Ford
40199404cf
Allow livecheck method in on_system blocks
It's sometimes necessary to have a `livecheck` block in an `on_macos`
or `on_linux` block. For example, a formula may be disabled on macOS
but not on Linux. In that scenario, we only want a `livecheck` block
to apply to Linux, so livecheck will automatically skip the formula
as disabled on macOS.

While this setup works on a technical level, `brew style` will give
an `on_linux cannot include livecheck` offense. This commit addresses
the issue by adding `livecheck` to `on_system_allowed_methods` in the
`ComponentsOrder` Rubocop.

This also updates `on_system_allowed_methods` to use the order in
`FORMULA_COMPONENT_PRECEDENCE_LIST`, which may make it a bit easier
for formula maintainers to read at a glance.
2022-10-18 16:02:29 -04:00
Carlo Cabrera
4737289259
Merge pull request #14013 from Homebrew/sponsors-maintainers-man-completions
Update maintainers.
2022-10-18 13:33:37 +08:00
Bo Anderson
eac32f0b20
Additional fixes for Ruby 3 compatibility 2022-10-18 01:54:59 +01:00
BrewTestBot
1db08dc8b6
sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2022-10-18 00:37:06 +00:00
BrewTestBot
c32b7c1ade
Update maintainers.
Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml) workflow.
2022-10-18 00:12:06 +00:00
Bo Anderson
cf629b1175
Merge pull request #14000 from Bo98/wsl1
docs: discontinue WSL 1 support; recommend WSL 2
2022-10-17 22:11:59 +01:00
Sam Ford
942f419a48
ResourceAuditor: Fix #audit_head_branch error
The existing logic in `#audit_head_branch` for identifying the `HEAD`
branch in a Git repository will give an ```undefined method `[]' for
nil:NilClass``` error when a repository doesn't provide this
reference. Expected output is as follows:

```
ref: refs/heads/master  HEAD
1a8f9ac700873d1a08de31a17a2fd654245d5085  HEAD
```

However, I encountered this error for a repository with the following
output (i.e., where no symref is provided for HEAD):

```
f86be659718c0cd0a67f88b42f07044c23d0d028  HEAD
```

This commit resolves the error by modifying the related logic to
account for a `nil` value.
2022-10-17 13:28:20 -04:00
Bo Anderson
1a8f9ac700
Merge pull request #14008 from Bo98/bundler-arm-linux
Restore ARM Linux support when installing gems
2022-10-17 14:38:39 +01:00
Bo Anderson
c150657005
Restore ARM Linux support when installing gems 2022-10-17 13:59:40 +01:00
Bo Anderson
978a452ea7
Merge pull request #14005 from Bo98/macos-13-pkgconfig
os/mac/pkgconfig/13: update for beta 9 SDK
3.6.6
2022-10-17 01:39:30 +01:00
Bo Anderson
44f93069bb
os/mac/pkgconfig/13: update for beta 9 SDK 2022-10-17 01:14:01 +01:00