Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

utils/analytics: hide InfluxDB message correctly. #15688

Merged
merged 1 commit into from Jul 17, 2023

Conversation

MikeMcQuaid
Copy link
Member

Fixes #15678

@MikeMcQuaid MikeMcQuaid added the critical Critical change which should be shipped as soon as possible. label Jul 17, 2023
@MikeMcQuaid MikeMcQuaid merged commit 7ee069e into Homebrew:master Jul 17, 2023
25 checks passed
@MikeMcQuaid MikeMcQuaid deleted the analytics_influxdb_message branch July 17, 2023 18:46
@Bo98
Copy link
Member

Bo98 commented Jul 17, 2023

I don't think this really covers it:

elsif Utils::Analytics.disabled?
ohai "Homebrew's analytics have entirely moved to our InfluxDB instance in the EU."

It still doesn't check if the message is already displayed.

This PR just makes it display the original intro & "No analytics have been recorded yet" message again for people who already have it enabled.

@MikeMcQuaid
Copy link
Member Author

@Bo98 My bad, see #15695

@github-actions github-actions bot added the outdated PR was locked due to age label Aug 18, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
critical Critical change which should be shipped as soon as possible. outdated PR was locked due to age
Projects
None yet
Development

Successfully merging this pull request may close these issues.

New message about InfluxDB analytics always shows
3 participants