Douglas Eichelberger
057f561d2c
Port Homebrew::Cmd::Readall
2024-04-01 10:05:02 -07:00
Douglas Eichelberger
5ef070380c
Port Homebrew::Cmd::RbenvSync
2024-04-01 10:04:06 -07:00
Douglas Eichelberger
6c260db277
Port Homebrew::Cmd::PyenvSync
2024-04-01 10:01:54 -07:00
Douglas Eichelberger
427b527335
Port Homebrew::Cmd::Postinstall
2024-04-01 09:59:47 -07:00
Douglas Eichelberger
31aa89aa7c
Port Homebrew::Cmd::PostgresqlUpgradeDatabase
2024-04-01 09:48:23 -07:00
Douglas Eichelberger
c1b1c11a8c
Port Homebrew::Cmd::Pin
2024-04-01 09:44:14 -07:00
Douglas Eichelberger
7725fc62d4
Port Homebrew::Cmd::Outdated
2024-04-01 09:42:31 -07:00
Douglas Eichelberger
57442ab67e
Port Homebrew::Cmd::Options
2024-04-01 09:15:58 -07:00
Douglas Eichelberger
c5dfac1f2c
Port Homebrew::Cmd::NodenvSync
2024-04-01 09:15:58 -07:00
Douglas Eichelberger
a43224cb4a
Port Homebrew::Cmd::Missing
2024-04-01 09:15:58 -07:00
Douglas Eichelberger
0cb608a80c
Port Homebrew::Cmd::Migrate
2024-04-01 09:15:58 -07:00
Douglas Eichelberger
59adde2069
Port Homebrew::Cmd::Log
2024-04-01 09:15:58 -07:00
Mike McQuaid
7e35ae25d5
cask/utils: quieten down when fixing permissions fails.
...
When fixing permissions fails, we should not print the error messages
from e.g. `chmod` unless we are in debug or verbose mode (because we
immediately retry taking ownership `sudo`).
2024-04-01 16:22:42 +01:00
Mike McQuaid
df2c914b42
Merge pull request #16989 from cho-m/livecheck-throttle-audit-updates
...
formula_auditor: check livecheck throttle
2024-04-01 13:55:50 +01:00
Mike McQuaid
1f41dff48f
Merge pull request #16971 from cho-m/language-types
...
language/*: enable `typed: strict`
2024-04-01 13:51:34 +01:00
Mike McQuaid
8a59266e92
Merge pull request #16988 from Homebrew/remove-unnecessary-cache-clearing-in-tests
...
tests: remove unnecessary cache clearing
2024-04-01 08:12:45 +01:00
Michael Cho
2d50ef1bc0
formula_auditor: check livecheck throttle
...
Signed-off-by: Michael Cho <michael@michaelcho.dev>
2024-04-01 00:54:13 -04:00
apainintheneck
226239da4c
tests: remove unnecessary cache clearing
...
This PR removes all remaining unnecessary cache clearing in tests
from the codebase since we now clear all cachable classes between
tests making this functionally unnecessary.
Original PR to automatically clear caches:
- https://github.com/Homebrew/brew/pull/16746
I also moved the `Utils::Analytics` module to use cachable so
that we don't have to clear caches specifically in tests anymore.
2024-03-31 18:38:03 -07:00
Sam Ford
111ac5810c
livecheck: Clean up whitespace, ordering
2024-03-31 21:01:40 -04:00
Sam Ford
a8d506fdda
livecheck: Add ExtractPlist skip to SkipConditions
...
When the `--extract-plist` option was added to livecheck, conditions
were added in `#run_checks` to skip casks using `ExtractPlist` if the
`--extract-plist` isn't used and the run involves multiple
formulae/casks. This integrates the skip into the `SkipConditions`
class.
2024-03-31 21:01:39 -04:00
Mike McQuaid
5e5aee4a1d
Merge remote-tracking branch 'origin/master' into no-tty
...
# Conflicts:
# Library/Homebrew/test/cmd/deps_spec.rb
# Library/Homebrew/test/cmd/info_spec.rb
2024-03-31 19:31:40 +01:00
Mike McQuaid
87bf4af3fc
Merge pull request #16872 from cho-m/cleanup-cask-broken-symlinks
...
cleanup: remove broken symlink for uninstalled migrated Casks
2024-03-31 19:30:02 +01:00
Mike McQuaid
21dd3c263f
Merge pull request #16975 from Homebrew/ported-cmds
...
Begin porting non-dev commands to use AbstractCommand
2024-03-31 19:28:30 +01:00
Douglas Eichelberger
914e53e9d5
Move isolated matchers into the specs that uses them
2024-03-30 20:24:06 -07:00
Douglas Eichelberger
fde7d380f7
Don't include FileUtils everywhere
2024-03-30 19:10:56 -07:00
Douglas Eichelberger
c1a4a806e1
rm unused OutputAsTTY helper
2024-03-30 18:44:39 -07:00
Douglas Eichelberger
221fde4ad8
Merge pull request #16979 from Homebrew/rspec-cleanup
...
Enable and fix RSpec/DescribedClassModuleWrapping
2024-03-30 18:16:26 -07:00
Douglas Eichelberger
22bfd9b230
Port Homebrew::Cmd::Link
2024-03-30 16:24:11 -07:00
Douglas Eichelberger
8ab9d2cbad
Port Homebrew::Cmd::Leaves
2024-03-30 16:16:52 -07:00
Douglas Eichelberger
cd2397ca2c
removed unused code paths
2024-03-30 14:44:47 -07:00
Douglas Eichelberger
330d209e03
Set ivars directly
2024-03-30 13:50:39 -07:00
Douglas Eichelberger
03b815df82
Enable and fix RSpec/DescribedClassModuleWrapping
2024-03-30 11:29:34 -07:00
Douglas Eichelberger
0fd082a1ff
Port Homebrew::Cmd::InstallCmd
2024-03-30 09:36:47 -07:00
Ryan Rotter
d856d88c17
tap-info cmd: skip untapped core taps
...
When homebrew/core or homebrew/cask are untapped `brew tap-info` fails because
Tap.each includes them and tap.private? fails without a git repo interrogate.
This restores the behavior of `brew tap-info` before #16710
2024-03-30 01:41:31 -04:00
Douglas Eichelberger
d6a6742a4d
Port Homebrew::Cmd::Info
2024-03-29 18:54:12 -07:00
Douglas Eichelberger
74218c0483
Port Homebrew::Cmd::Home
2024-03-29 18:53:08 -07:00
Douglas Eichelberger
d0c1af4f9e
Port Homebrew::Cmd::Help
2024-03-29 18:53:08 -07:00
Douglas Eichelberger
78b259c8c6
Port Homebrew::Cmd::GistLogs
2024-03-29 18:53:08 -07:00
Douglas Eichelberger
90cd9d2e0a
Port Homebrew::Cmd::FetchCmd
2024-03-29 18:53:08 -07:00
Douglas Eichelberger
f83ba58f8d
Port Homebrew::Cmd::Doctor
2024-03-29 18:53:07 -07:00
Douglas Eichelberger
67fd065e1d
Port Homebrew::Cmd::Docs
2024-03-29 18:53:07 -07:00
Douglas Eichelberger
bde44cfc99
Port Homebrew::Cmd::Developer
2024-03-29 18:53:07 -07:00
Douglas Eichelberger
1fc4a93ca1
Port Homebrew::Cmd::Desc
2024-03-29 18:53:07 -07:00
Douglas Eichelberger
84222ec006
Port Homebrew::Cmd::Deps
2024-03-29 18:53:07 -07:00
Douglas Eichelberger
3615e5e648
Port Homebrew::Cmd::Config
2024-03-29 18:53:07 -07:00
Douglas Eichelberger
b97f9b22e2
Port Homebrew::Cmd::CompletionsCmd
2024-03-29 18:53:07 -07:00
Douglas Eichelberger
02e2772e9d
Port Homebrew::Cmd::CommandsCmd
2024-03-29 18:53:07 -07:00
Douglas Eichelberger
adf47bb11b
Port Homebrew::Cmd::Cleanup
2024-03-29 18:53:07 -07:00
Douglas Eichelberger
a8f8c65d93
Port Homebrew::Cmd::Autoremove
2024-03-29 18:53:07 -07:00
Douglas Eichelberger
3cedf33150
Port Homebrew::Cmd::Analytics
2024-03-29 18:53:07 -07:00