Sean Molenaar
59ebdab2b7
analytics: switch to InfluxDB for logging
2023-01-19 18:15:27 +01:00
Rylan Polster
7656c09184
Only check for Rosetta on macOS
2021-12-05 13:03:38 -05:00
Nipunn Koorapati
30c4663066
Fix analytics string to test for CI
2021-12-04 12:29:31 -05:00
Rylan Polster
b58551cd67
Control for CPU type and Rosetta in os_arch_prefix_ci
tests
2021-12-03 22:29:10 -05:00
Nipunn Koorapati
e2fc14b0b7
Fix analytics_spec.rb test to pass when run from M1
2021-12-03 20:14:17 -05:00
Misty De Meo
93ea8b6350
Analytics spec: avoid ARM-specific strings
2021-06-15 20:35:21 -07:00
Mike McQuaid
e65e310fd0
Fix brew style
2021-01-29 20:56:59 +00:00
Mike McQuaid
8af4895479
Improve submitted analytics data
...
- Use default `custom-prefix` label on macOS ARM (as `/usr/local` is
not the default).
- Add architecture (or Rosetta) to analytics event label.
- Don't send minor versions on Big Sur.
- Remove defunct `HOMEBREW_OSX_VERSION` reference.
2021-01-07 09:28:40 +00:00
Markus Reiter
24ae318a3d
Move type annotations into files.
2020-10-10 14:59:39 +02:00
Mike McQuaid
3a9f585ebb
Move more code to utils/analytics.
2019-11-22 09:10:29 +00:00
Mike McQuaid
36dbad3922
Add frozen_string_literal to all files.
2019-04-20 13:27:36 +09:00
Mike McQuaid
234e4aec96
Improve use of default_prefix? in tests.
2019-01-21 14:33:56 +00:00
Mike McQuaid
78eba5b815
Autofix RuboCop RSpec failures
2018-09-20 13:36:42 +01:00
Shaun Jackman
f6093961ef
Add Homebrew::DEFAULT_PREFIX for Linux
...
The default prefix is /usr/local on macOS
and /home/linuxbrew/.linuxbrew on Linux.
2018-09-11 09:57:08 -07:00
Mike McQuaid
5e1806e796
test: rubocop-rspec style auto-corrects.
...
There’s too many warnings to start enabling `rubocop-rspec` by default
but let’s at least apply the cleanups it does automatically.
2018-03-25 13:30:37 +01:00
Mike McQuaid
83cca40fc9
RuboCop 0.53.0 manual fixes.
2018-03-08 14:10:02 +00:00
mansimarkaur
db28126b4a
Used clear_anonymous_os_prefix_ci_cache to remove @anonymous_os_prefix_ci
2017-08-29 16:24:19 +05:30
mansimarkaur
59f3c661a3
Used ENV.delete to remove set ENV vars
2017-08-29 16:24:19 +05:30
mansimarkaur
a4d8d7ba57
Added tests for report_build_error
2017-08-29 16:24:19 +05:30
mansimarkaur
2660f5ae3e
Added tests for report and report_event
2017-08-29 16:24:19 +05:30
mansimarkaur
a4d4da64aa
Added tests for os_prefix_ci
2017-08-29 16:24:19 +05:30