utils/analytics: strip out more data.
We've filter this out in `brew formula-analytics` too but let's avoid sending it here in the first place so we can delete the formula-analytics filtering later.
This commit is contained in:
parent
b33e28c95f
commit
2d345d89eb
@ -113,6 +113,10 @@ module Utils
|
|||||||
|
|
||||||
# Strip out any flag values to reduce cardinality and preserve privacy.
|
# Strip out any flag values to reduce cardinality and preserve privacy.
|
||||||
options_array.map! { |option| option.sub(/=.*/, "=") }
|
options_array.map! { |option| option.sub(/=.*/, "=") }
|
||||||
|
|
||||||
|
# Strip out --with-* and --without-* options
|
||||||
|
options_array.reject! { |option| option.match(/^--with(out)?-/) }
|
||||||
|
|
||||||
options = options_array.sort.uniq.join(" ")
|
options = options_array.sort.uniq.join(" ")
|
||||||
|
|
||||||
# Tags must have low cardinality.
|
# Tags must have low cardinality.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user