You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ci check lint templates flags all authors with localhost in name/email #63249
Activity
ahesford commentedon Oct 29, 2026
How would you recommend we modify the regex to accommodate a valid address while still addressing the original intent?
nikitalocalhost commentedon Oct 30, 2026
What in original intention it is supposed to catch? I guess in ideal world
Author Name <somelocalhost@email.com>- noAuthorlocalhost Name <user@email.com>- noAuthor Name <localhost>- yes? invalid email syntaxAuthor Name <localdomain>- yes? invalid email syntaxAuthor Name <user@localhost>- yesAuthor Name <user@localdomain>- yesAuthor Name <user@domain.localhost>- yesAuthor Name <user@domain.localdomain>- yesIdk about where and when there is
(none), I guess something likeauthor (none) 1778562996 +0200\nIs there something else?
So, if my guesses are right, ignoring invalid email syntax
/^author ([(]none[)]|.*<.*(localhost|localdomain)>)/can be used:authorstringsauthor(none)OR check for email that ends withlocalhostorlocaldomainnikitalocalhost commentedon Oct 30, 2026
I written this reading awk tutorial, and didn't check for "true awk" compatibility, if it's needed