2316 Commits

Author SHA1 Message Date
Mike McQuaid
e26784f424
Merge pull request #14479 from hyuraku/apply-extend/os-to-dev-cmd/bottle
move `dev-cmd/bottle` methods to extend/os
2023-02-07 16:23:03 +01:00
hyuraku
853421e968 repair setup_tar_and_args! method 2023-02-07 23:45:09 +09:00
hyuraku
10d4f06a30 remove useless require 2023-02-07 23:22:33 +09:00
hyuraku
ade7118057 add new method: gnutar_args 2023-02-07 23:22:33 +09:00
hyuraku
ec1a1566bc separate setup_tar_and_args method 2023-02-07 23:22:33 +09:00
hyuraku
fde7ca31b8 add alias generic_formula_ignores formula_ignores 2023-02-07 23:22:33 +09:00
hyuraku
197bdedd35 add new files for dev-cmd/bottle 2023-02-07 23:22:33 +09:00
Mike McQuaid
6882ac17e7
Revert "Add deprecations and disables" 2023-02-07 15:13:19 +01:00
hyuraku
c066e940c4 apply extend/os to Cask::cmd::install#install_casks 2023-02-07 22:54:06 +09:00
Bo Anderson
79f4d5996f
extend/time: restore rfc3339 method 2023-02-07 00:38:46 +00:00
Nanda H Krishna
75045e91f8
brew style --fix 2023-02-06 13:50:39 -05:00
Nanda H Krishna
d9d6a74257
brew style --fix 2023-02-06 13:48:18 -05:00
Mike McQuaid
59c03cb2a6
Add deprecations and disables
Do the usual dance:
- commented `odeprecated` to `odeprecated`
- `odeprecated` to `odisabled`
- `odisabled` removed
2023-02-03 10:48:43 +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
Douglas Eichelberger
e98e668a34 remove redundant string extension 2023-01-28 08:26:11 -08:00
hyuraku
653930bed8 mv files to os/*/cmd/ 2023-01-28 21:38:40 +09:00
Mike McQuaid
1c85a717cc
Merge pull request #14421 from hyuraku/move_check_binary_arches-to-extend-os
move `check_binary_arches` to `extend/os`
2023-01-26 15:26:44 +00:00
hyuraku
2d864d70e0 apply extend/os to migrate_gcc_dependents_if_needed 2023-01-26 22:21:45 +09:00
hyuraku
420d66532d remove a line 2023-01-26 21:42:46 +09:00
hyuraku
3f553a8ead add linux's binary_executable_or_library_files to keg 2023-01-26 21:41:45 +09:00
hyuraku
9241def1a2 reset formula_cellar_checks 2023-01-26 21:41:01 +09:00
Mike McQuaid
612c27cd2d
extend/ENV/shared: use try.
`version_suffix` exists (or doesn't) depending on the GCC formula being
available and not loaded from the API.
2023-01-25 16:07:23 +00:00
hyuraku
f1eacb04f0 move check_binary_arches to extend/os 2023-01-25 22:26:49 +09:00
hyuraku
42960c3e74 repair if condition 2023-01-25 17:23:44 +09:00
hyuraku
8289089482 add remove_const to cancel warning 2023-01-24 21:57:39 +09:00
hyuraku
e2f0075ee8 move default_prefix to extend/os 2023-01-24 21:02:24 +09:00
Mike McQuaid
4cf365f6c9
Merge pull request #14371 from dawidd6/os-specific-service
Allow defining service run command per platform
2023-01-20 15:21:47 +00:00
Sean Molenaar
59ebdab2b7
analytics: switch to InfluxDB for logging 2023-01-19 18:15:27 +01:00
Dawid Dziurla
0d0c98de29
Allow defining service run command per platform 2023-01-19 11:36:37 +01:00
Douglas Eichelberger
794b839e36 Fix remaining YARD exception 2023-01-12 09:56:05 -08:00
Mike McQuaid
077e9dccaf
Merge pull request #14322 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-1.42.0
build(deps): bump rubocop from 1.41.1 to 1.42.0 in /Library/Homebrew
2023-01-03 13:34:05 +00:00
Kevin
2e0b18f762
Merge pull request #14315 from apainintheneck/better-error-cask-on-linux
cli/parser: Better error message for cask on linux
2023-01-02 13:21:56 -08:00
Mike McQuaid
6a25229567
brew style --fix 2023-01-02 19:18:51 +00:00
apainintheneck
d8c2e311ab Use odie instead of bare exception
The reason that odie works well here
is that it doesn't print a stacktrace
or get caught and print the help page.
2023-01-02 10:59:08 -08:00
Sean Molenaar
84911edbed
system config: don't print WSL info on non-WSL systems
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2023-01-02 16:08:42 +01:00
apainintheneck
a8384c0ce7 cli/parser: Better error message for cask on linux
1. Validate options before constraint violations. This allows
us to error out when --cask is passed on Linux before getting
a constraint violation when --cask and --formula are set.
2. Skip printing the help page when --cask is passed on Linux.
2022-12-31 12:34:18 -08:00
Sean Molenaar
55c82749ad
SystemConfig: show WSL version if available on Linux 2022-12-30 20:48:24 +01:00
apainintheneck
b6f9b7d3e0 Remove bitdefender diagnostic check
This shows up in `brew doctor` but hasn't been
reported as a problem by users in 3+ years.
2022-12-28 10:45:29 -08:00
apainintheneck
0ae416d0ee Refactor Search#search_descriptions
- Move cask logic back into method from extend/os and check
  whether to display it based on args since formula?
  is passed by default on Linux now
- Use #search_descriptions in `brew desc` instead of
  duplicating logic
- Remove need for extend/os/search
2022-12-17 10:03:41 -08:00
apainintheneck
3aac0fef7e Simplify cask search
The cask_tokens and cask_names arrays here
were almost identical so we'll just use
cask_tokens for both.
2022-12-14 19:27:59 -08:00
apainintheneck
363df2a648 Speed up cask search
Add new method to get all cask names
without using Cask.all which is slow
in this case.
2022-12-14 00:00:34 -08:00
Mike McQuaid
4a0e16fbd9
dev-cmd/bottle: use gnu-tar's --mtime.
This allows us to remove all the manual timestamp fiddling and lets
`gnu-tar` handle it for us instead (as-per the most recent
recommendations on https://reproducible-builds.org/docs/archives/).
2022-12-12 16:47:56 +00:00
Mike McQuaid
639cb25c60
description*: fix argument handling of eval_all.
Fixes #14231.
2022-12-08 09:57:12 +00:00
apainintheneck
b7e28ef48f Make :formula? the default on Linux
This makes :formula? the default whenever
defined throughout the codebase on Linux.
It also makes :cask? illegal for all Linux
users.
2022-12-04 19:43:12 -08:00
apainintheneck
d48859a9ce Move FormulaInstaller check to extend/os 2022-11-29 23:13:50 -08:00
apainintheneck
2eee1e7c2a Move SimulateSystem check to extend/os 2022-11-29 23:13:50 -08:00
apainintheneck
9c2293a08e Move Sandbox check to extend/os 2022-11-23 20:39:59 -08:00