33496 Commits

Author SHA1 Message Date
Bo Anderson
4e48a9e6c1
Merge pull request #14061 from Bo98/softwareupdate
os/mac/xcode: do not recommend `softwareupdate` CLI
2022-10-31 01:33:54 +00:00
Issy Long
c4e6a46271
rubocop: Set inherit_mode for allowed Naming/MethodParameterName
- As I was looking through the RuboCop configs for
  `Naming/MethodParameterName`, since there was a fairly long-standing
  TODO here, I found that in the default RuboCop configs the method
  names `to` and `io` are
  [allowed by default](41a8249b35/config/default.yml (L2794)).
- But we weren't inheriting those allowed names correctly from the
  default configuration. This fixes that so that we get future
  enhancements automatically for this particular cop allowlist.
2022-10-30 21:49:40 +00:00
Issy Long
c53b14e955
rubocop: Remove _ from allowed Naming/MethodParameterName
- As of RuboCop v0.67.0 (quite some time ago!), this rule allows `_` by
  default as it commonly denotes "this argument is unused". This is not
  set upstream in `AllowedNames`, the code
  [ignores underscores](4bc7d8c1bc (diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed))
  entirely.
2022-10-30 21:48:17 +00:00
Sean Molenaar
b27aeb8f94
Update Library/Homebrew/cask/audit.rb
Co-authored-by: Bo Anderson <mail@boanderson.me>
2022-10-30 19:41:51 +01:00
Bo Anderson
a99323e5a6
os/mac/xcode: do not recommend softwareupdate CLI 2022-10-30 18:16:08 +00:00
Sean Molenaar
012bd1f134
cask: audit for minimal OS version in sparkle feeds 2022-10-30 15:00:56 +01:00
Lucas Astrada
a58dffc636
Reword suggestion to be more clear of command placement
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2022-10-27 13:26:11 -03:00
Mike McQuaid
31758eaa02
Merge pull request #14027 from MikeMcQuaid/devcontainer
Add VSCode devcontainers
2022-10-27 09:43:09 +01:00
Mike McQuaid
dd39b2be64
Add VSCode devcontainers
Should be useful for getting a development environment setup quickly.
2022-10-27 09:18:49 +01:00
Mike McQuaid
3da846d1b1
Merge pull request #14056 from ThatsJustCheesy/cache-regexes
Improve performance of `brew info` by caching compiled regexes
2022-10-27 08:53:59 +01:00
Ian Gregory
cdc707fa38 Cache compiled regexes
Improves performance of `brew info --json=v2 --eval-all` by about 15–20%
2022-10-27 02:06:22 -04:00
Lucas Astrada
d1d332aed8 Fix Oh-My-Zsh suggested configuration breaking completions on non-login shells 2022-10-26 21:31:52 -03:00
Mike McQuaid
560f5717ad
Merge pull request #14051 from Homebrew/sponsors-maintainers-man-completions
Update manpage and completions.
2022-10-26 12:42:28 +01:00
BrewTestBot
666c156de0
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.
2022-10-26 11:17:55 +00:00
Mike McQuaid
7eb68835cc
Merge pull request #14033 from ThatsJustCheesy/cask-install-adopt
Add `--adopt` switch
2022-10-26 12:16:49 +01:00
Mike McQuaid
30f069f60a
Merge pull request #14045 from Bo98/bump-formula-pr-version
dev-cmd/bump-formula-pr: allow --version for version formatting changes
2022-10-26 12:12:27 +01:00
Ian Gregory
a0f915169c Remove --adopt switch from reinstall and upgrade 2022-10-25 19:07:21 -04:00
Ian Gregory
9256a01afe
Apply suggestions from code review
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2022-10-25 18:58:06 -04:00
Bo Anderson
c7f1a45ece
Merge pull request #14046 from Bo98/unbottled-dependents
dev-cmd/unbottled: fix --dependents erroring
2022-10-25 23:04:48 +01:00
Bo Anderson
ee64886554
Merge pull request #14041 from Bo98/no-sitedir
Remove sitedir from LOAD_PATH
2022-10-25 23:02:10 +01:00
Bo Anderson
b500aee799
dev-cmd/bump-formula-pr: allow --version for version formatting changes 2022-10-25 15:46:27 +01:00
Bo Anderson
e47988a12b
dev-cmd/unbottled: fix --dependents erroring 2022-10-25 15:44:29 +01:00
Mike McQuaid
f9e49a89ab
Merge pull request #14044 from MikeMcQuaid/bump_nokogiri
Gemfile: bump nokogiri.
2022-10-25 13:27:25 +01:00
Mike McQuaid
6b1aa77ead
Gemfile: bump nokogiri.
To address a vulnerability.
2022-10-25 12:56:06 +01:00
Bo Anderson
4c9eee3bf8
Merge pull request #14043 from Bo98/allow-ruby-2.6.10
os/mac/diagnostic: allow Ruby 2.6.10 on < Ventura
2022-10-25 12:02:52 +01:00
Bo Anderson
476b5e7424
os/mac/diagnostic: allow Ruby 2.6.10 on < Ventura 2022-10-25 10:55:05 +01:00
Mike McQuaid
b9411ef8a6
Merge pull request #14035 from hmarr/git-partial-clone-sparse-checkout
Support git partial clones with sparse checkouts (take 2)
2022-10-25 09:28:29 +01:00
Mike McQuaid
4e3a21b380
cask/artifact/relocated: tweak syntax. 2022-10-25 09:00:54 +01:00
Mike McQuaid
52ae5ec6bb
Merge pull request #14038 from abhillman/patch-1
Suggest `--verbose` for `softwareupdate --all ...`
2022-10-25 08:58:56 +01:00
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