Closed Bug 1668798 Opened 6 years ago Closed 6 years ago

Let glean_parser fail on absent files

Categories

(Data Platform and Tools :: Glean: SDK, enhancement, P1)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: chutten, Assigned: mdroettboom)

Details

Attachments

(1 file)

glean_parser doesn't fail when asked to process a file that doesn't exist. This is apparently due to Gradle Reasons, so it's a good feature to have... but can we sequester the feature to just Gradle's use?

Maybe we add a --dont-fail-on-absent-files option and get the Gradle Plugin to always use that, and then change the default behaviour to fail on absent files (with, as always, a helpful message)?

Assignee: nobody → mdroettboom

Makes sense.

🚲🏠 Would --allow-missing-files be better?

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

Makes sense.

🚲🏠 Would --allow-missing-files be better?

I'm not fussy on the name, just that it exist. Gradle's the only one who needs to use it : )

Priority: P3 → P1
Whiteboard: [telemetry:glean-rs:m?]
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.

Attachment

General

Created:
Updated:
Size: