MOZ_TELEMETRY_ON_BY_DEFAULT should be controlled by the channel-specific build defines, not the update channel

RESOLVED FIXED in mozilla25

Status

()

defect
RESOLVED FIXED
6 years ago
5 years ago

People

(Reporter: Gavin, Assigned: Gavin)

Tracking

Trunk
mozilla25
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

MOZ_TELEMETRY_ON_BY_DEFAULT currently depends on the value of MOZ_UPDATE_CHANNEL, which itself depends on the build configuration and leads to issues like bug 888765.

Instead, it should be controlled by #ifndef release build, which depends on the version of the repository from which the code was built (mozilla-central, mozilla-aurora, mozilla-beta, etc., see https://wiki.mozilla.org/Platform/Channel-specific_build_defines).
Posted patch patchSplinter Review
I suppose this has the downside of enabling telemetry by default on developer-self builds in the cases where you:
- build with MOZ_TELEMETRY_REPORTING
- don't build with --enable-update-channel=nightly|aurora

I think that's unlikely to be a problem in practice.
Attachment #769695 - Flags: review?(khuey)
Assignee: nobody → gavin.sharp
Status: NEW → ASSIGNED
https://hg.mozilla.org/mozilla-central/rev/184127374d60
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Depends on: 892990
Blocks: 997820
You need to log in before you can comment on or make changes to this bug.