Closed Bug 1595487 Opened 6 years ago Closed 6 years ago

Configuration.packageName in Kotlin isn't used anywhere

Categories

(Data Platform and Tools :: Glean: SDK, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mdroettboom, Assigned: mdroettboom)

Details

(Whiteboard: [telemetry:glean-rs:m11])

The packageName configuration parameter is stored but not used anywhere. The packageName itself is hardcoded to be pulled from applicationContext.packageName in Glean.kt

We should decide whether providing the a way for the user to override the packageName is desirable, and if so, implement it as an override of applicationContext.packageName.

Whiteboard: [telemetry:glean-rs:m?] → [telemetry:glean-rs:m11]

I'd be in favor of removing this and only putting it back in if we are aware of a use case. Right now, it's there, but has no effect, which isn't good...

Flags: needinfo?(alessio.placitelli)

(In reply to Michael Droettboom [:mdroettboom] from comment #1)

I'd be in favor of removing this and only putting it back in if we are aware of a use case. Right now, it's there, but has no effect, which isn't good...

You're right, this is not required as of now. Would it become so due to our ping submission architecture changes? If we need to build the submission URL in Rust, then we might need to know that.

Flags: needinfo?(alessio.placitelli)
Assignee: nobody → mdroettboom

This seems to have been fixed in the meantime. It exists in FfiConfiguration (so we can pass it to Rust), but not in the constructor of Configuration. So I'm calling this FIXED.

Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.