-
Notifications
You must be signed in to change notification settings - Fork 103
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
Better canonicalization of GitHub usernames #3698
base: main
Are you sure you want to change the base?
Conversation
@@ -61,6 +61,11 @@ bool issueIsClosed(final FullIssue issue) { | |||
return issue.metadata.isClosed || issue.metadata.state.toUpperCase() == 'CLOSED'; | |||
} | |||
|
|||
// Turns a username into an internal canonicalized form. | |||
// We add a "👤" emoji here so that if we accidentally use the canonicalized form | |||
// in the output, we will catch it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where do we check for this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just meant we'll notice it in the console.
(PR Triage): Hey @Hixie is this still on your radar? Thanks! |
It's on my radar but I can't do much unless it's reviewed. :-) |
// Turns a username into an internal canonicalized form. | ||
// We add a "👤" emoji here so that if we accidentally use the canonicalized form | ||
// in the output, we will catch it. | ||
String canon(final String? s) => '👤${(s ?? "").toLowerCase()}'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
when do we pass null to this function?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have a question, but this LGTM
(triage): @Piinks said she would take this one over. |
No description provided.