Closed Bug 1752576 Opened 2 years ago Closed 2 years ago

glean_parser data-review shouldn't print a template if it didn't match any bugs

Categories

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

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: chutten, Assigned: chutten)

Details

Attachments

(1 file)

If you call glean_parser data-review <non_existent_bug_number> it will happily spit out a Data Review Request template with no metrics in it.

I think it'd probably be better ergonomics if we instead outputted a message like

Sorry, we couldn't find any metrics in <metrics_yaml_list> matching bug number <non_existent_bug_number>.

While you're here, perhaps we could also make it so that permanent collections have, instead of TODO: identify at least one individual here something like ",".join(notification_emails)? It's one more question we can fill for folks.

Assignee: nobody → chutten
Priority: -- → P1
Status: NEW → RESOLVED
Closed: 2 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: