Mike McQuaid
8bf8393b89
Merge pull request #15021 from MikeMcQuaid/influxdb_cardinality
...
analytics: improve InfluxDB cardinality
2023-03-20 15:54:17 +00:00
Mike McQuaid
4d8445e29d
analytics: improve InfluxDB cardinality
...
- roll InfluxDB token (we need to report to a new bucket to fix implicit schema)
- adjust various parameters
- separate default tags and fields
- send more fields and fewer tags (tags should have low cardinality)
- use `--data-binary` to match InfluxDB documentation
- document second precision for greater InfluxDB performance
- pass through tap name, formula/cask name, options separately
- pass `devcmdrun` as a tag
- avoid sending very high-cardinality `OS_VERSION` values
2023-03-20 15:26:47 +00:00
Mike McQuaid
bd8341d422
Merge pull request #15020 from dtrodrigues/pluralize-includecount
...
Add include_count parameter to pluralize util
2023-03-20 13:53:31 +00:00
Mike McQuaid
1e4abe2cc9
Merge pull request #15018 from dduugg/rm-hash-refinement
...
Use ActiveSupport Hash#assert_valid_keys instead of refinement
2023-03-20 13:48:47 +00:00
Dustin Rodrigues
b776fb32de
change includecount to include_count for readability
2023-03-20 07:23:17 -04:00
Dustin Rodrigues
e5fba88035
use includecount argument in pluralize
2023-03-19 23:35:47 -04:00
Douglas Eichelberger
92b99b3132
Remove misleading upstream.rbi, enable types in on_system
2023-03-19 19:41:46 -07:00
Douglas Eichelberger
4dcd5ac47f
Remove HashValidator
2023-03-19 17:37:58 -07:00
Douglas Eichelberger
516c61057b
Use ActiveSupport Hash#assert_valid_keys instend of refinement
2023-03-19 17:37:58 -07:00
Mike McQuaid
c5fa3d221c
Merge pull request #15009 from apainintheneck/remove-old-prefix-placeholder
...
cask: remove old prefix placeholder
2023-03-19 17:29:00 -04:00
Mike McQuaid
96eb047121
Merge pull request #15008 from dduugg/enable-types
...
Enable types in Library/Homebrew/cask, etc.
2023-03-19 17:22:18 -04:00
Mike McQuaid
c31ae1ce6a
Merge pull request #14948 from hyuraku/remove-cask/cmd/fetch
...
remove `cask/cmd/fetch`
2023-03-19 17:21:22 -04:00
apainintheneck
3aae28aa0d
cask: remove old prefix placeholder
...
This was just a temporary workaround while we
waited for the API to regenerate the JSON content.
2023-03-18 16:42:44 -07:00
Douglas Eichelberger
abfe29040b
Enable types in Library/Homebrew/cask
2023-03-18 16:03:10 -07:00
Mike McQuaid
b3684e55a7
Merge pull request #14997 from ZhongRuoyu/ventura-system-settings
...
Update path to system settings on Ventura
2023-03-17 15:45:05 -04:00
Ruoyu Zhong
e9ce4a5a4e
Update path to system settings on Ventura
...
"System Preferences" has been renamed to "System Settings" on Ventura.
Privacy and security settings have moved, too. This commit makes sure
these changes are reflected. (Some adjustments were already made in
#14092.)
Signed-off-by: Ruoyu Zhong <zhongruoyu@outlook.com>
2023-03-17 19:24:07 +08:00
Issy Long
0701ea42fa
cask/audit: Pass a URL's referer
through to cURL
...
- Some casks have URL arguments like "referer" (spelled wrong, that's
intentional in the HTTP spec).
- The audit for one such cask, `iThoughtsX`, was failing because the
"referer" wasn't getting passed through to cURL so the access would
404.
----
Before:
```
❯ brew audit --cask --online --appcast --signing 'ithoughtsx'
[...]
audit for ithoughtsx: failed
- The binary URL https://cdn.toketaware.com?download=iThoughtsX.zip is not reachable (HTTP status code 404)
- Version '9.2.0' differs from '9.3.0' retrieved by livecheck.
- Version '9.2.0' differs from '9.3.0' retrieved by livecheck.
Error: 2 problems in 1 cask detected
```
After:
```
❯ brew audit --cask --online --appcast --signing 'ithoughtsx'
[...]
audit for ithoughtsx: failed
- Version '9.2.0' differs from '9.3.0' retrieved by livecheck.
- Version '9.2.0' differs from '9.3.0' retrieved by livecheck.
Error: 1 problem in 1 cask detected
```
2023-03-16 23:28:50 +00:00
Douglas Eichelberger
f4c9a96c70
Enable types in dev-cmd
2023-03-14 08:32:03 -07:00
Mike McQuaid
0dd41b5a57
Merge pull request #14955 from dduugg/enable-typing
...
Enable typing in a few more files
2023-03-14 06:49:00 -04:00
Markus Reiter
2955f63921
Remove artifact debug output.
2023-03-13 19:24:53 +01:00
Douglas Eichelberger
e40d2b42c9
Update Library/Homebrew/cask/cask.rb
...
Co-authored-by: Markus Reiter <me@reitermark.us>
2023-03-13 09:10:36 -07:00
Douglas Eichelberger
0fe595f9c2
Elaborate on sorbet comments
2023-03-13 09:08:56 -07:00
Douglas Eichelberger
04fa6e24d7
Enable more typing
2023-03-13 09:08:56 -07:00
hyuraku
da6f48dbd0
Merge branch 'master' into move-cask/cmd/uninstall
2023-03-12 11:49:06 +09:00
hyuraku
413e8ac81e
remove cask/cmd/fetch
2023-03-11 22:12:33 +09:00
hyuraku
e321edabbc
remove options and comments
2023-03-11 21:15:24 +09:00
Douglas Eichelberger
02fd0422aa
Enable typing in a few more files
2023-03-09 13:42:06 -08:00
hyuraku
8c1ce514b2
fix style
2023-03-09 22:34:46 +09:00
hyuraku
db328b59f2
move cask/cmd/uninstall to cask/uninstall
2023-03-09 22:33:29 +09:00
hyuraku
869c8effb5
remocve Cask::Upgrade::OPTIONS
2023-03-09 20:41:26 +09:00
hyuraku
19f83ef67f
move cask/cmd/upgrade to cask/upgrade
2023-03-09 20:40:20 +09:00
Issy Long
6d822d9a62
rubocop: Drop "fn" from Naming/MethodParameterName
allowlist
...
- I originally thought this was short for "function", but upon closer
inspection all its usages are to do with filenames. So, use "filename",
it's clearer.
2023-03-08 14:40:56 +00:00
Douglas Eichelberger
1195772b02
Refactor Searchable into Homebrew::Search
2023-03-07 09:08:54 -08:00
Douglas Eichelberger
900ee97f95
Revert splat changes to AbstractUninstall
2023-03-07 06:46:59 -08:00
Mike McQuaid
b698cef945
brew style --fix (and a manual one)
2023-03-07 10:48:35 +00:00
hyuraku
7c1bd961c6
remove cask/cmd/zap and cask/cmd/zap_spec
2023-03-06 22:27:53 +09:00
Mike McQuaid
9c2a333394
Merge pull request #14883 from SMillerDev/feat/cask/audit_pkg_signing2
...
cask: retry audit for correct signing of pkg installers
2023-03-06 12:34:41 +00:00
Issy Long
6a704f2f40
sorbet: Bump more files to typed: true
...
- This was done through the `brew typecheck --suggest-typed --update`
command.
2023-03-05 18:18:59 +00:00
Sean Molenaar
45c7e854db
cask: retry audit for correct signing of pkg installers
...
This reverts commit 7497f805ba92186121bd170b504e6bdf2dea1407.
2023-03-04 16:28:38 +01:00
Douglas Eichelberger
ccabd3318e
Undo changes to cask/cmd
2023-03-03 08:30:13 -08:00
Douglas Eichelberger
0c533f27ba
Enable typing in Cask::Cmd
2023-03-03 08:29:50 -08:00
Douglas Eichelberger
6611a03cc6
Enable typing in Cask::Cmd::AbstractCommand
2023-03-03 08:29:26 -08:00
Douglas Eichelberger
d98b7845d3
Enable typing in misc files
2023-03-03 08:29:26 -08:00
Mike McQuaid
d20abb4863
brew style --fix
2023-03-03 10:45:08 +00:00
hyuraku
fe95c07773
repair style
2023-03-02 21:53:15 +09:00
hyuraku
e39232313f
move cask/cmd/list to cask/list
2023-03-02 21:53:15 +09:00
Mike McQuaid
cae7aad141
Merge pull request #14713 from apainintheneck/cask-to-h-without-api
...
cask: `to_h` without api
2023-03-01 12:34:41 +00:00
Mike McQuaid
9296db0c41
Merge pull request #14839 from hyuraku/move-cask/cmd/info-to-cask/info
...
Move `cask/cmd/info` to `cask/info`
2023-03-01 12:25:26 +00:00
hyuraku
3e3ba7642c
remove useless method
2023-03-01 20:37:04 +09:00
apainintheneck
64ef2f1899
cask/cmd/upgrade: fix missing versions variable
...
This reference to the versions variable is unnecessary.
2023-02-28 22:58:00 -08:00