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

Fixes #37062 - Rename pulpcore::telemetry to pulpcore::analytics #326

Merged

Conversation

wbclark
Copy link
Collaborator

@wbclark wbclark commented Jan 18, 2024

Pulp changed the setting name to ANALYTICS. The original name TELEMETRY is deprecated and could be removed in the future. Using pulp's preferred name will also remove the deprecation warning that appears in logs.

Pulp changed the setting name to ANALYTICS. The original name
TELEMETRY is deprecated and could be removed in the future.
@evgeni
Copy link
Member

evgeni commented Jan 18, 2024

Which Pulpcore release is the first to support the new name? 3.39?

@wbclark
Copy link
Collaborator Author

wbclark commented Jan 18, 2024

Which Pulpcore release is the first to support the new name? 3.39?

It was first introduced as TELEMETRY in 3.21 and renamed to ANALYTICS already in 3.22

@evgeni
Copy link
Member

evgeni commented Jan 18, 2024

Splendid, then it is a breaking change because we change params, but it doesn't influence the supported Pulpcore versions.

A separate test is necessary for the default, because we don't omit
the setting but rather comment it for discoverability. But we don't
really need to test if any behaviors change by including a commented
line (the file already includes many comments) so a unit test should
suffice for that case.
@wbclark
Copy link
Collaborator Author

wbclark commented Jan 26, 2024

Re-running the one test that failed, as the failure appeared transient.

@ehelms ehelms merged commit 71214fa into theforeman:master Jan 26, 2024
13 checks passed
@wbclark wbclark deleted the 37062_rename_pulp_telemetry_analytics branch January 26, 2024 17:41
@ekohl
Copy link
Member

ekohl commented Jan 29, 2024

It was first introduced as TELEMETRY in 3.21 and renamed to ANALYTICS already in 3.22

So we accidentally sent telemetry in 3.22, while we promised we didn't. That's not good.

@ehelms
Copy link
Member

ehelms commented Jan 29, 2024

It was first introduced as TELEMETRY in 3.21 and renamed to ANALYTICS already in 3.22

So we accidentally sent telemetry in 3.22, while we promised we didn't. That's not good.

It was deprecated and a new naming scheme introduced alongside it. The TELEMETRY setting exists still in the main branch (https://github.com/pulp/pulpcore/blob/main/pulpcore/app/util.py#L320-L322).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants