forked from ansible/galaxy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify author regex in update-authors.py
Before this change, update-authors.py would use a more complicated regex pattern. That pattern would sometimes fail to match anything and result in match() returning None followed by an AttributeError. The old regex pattern already assumed that there would be a "\t" before the information that we’re looking for. This new pattern starts by looking for the "\t" (rather than worrying about what comes before the "\t"). The new pattern also simplifies the rules for matching an author’s name and email. If we really want to enforce rules like “the author’s name must only use word characters and spaces” or “the author’s email must not contain ‘>’”, then we should add a CI check or something. Fixes ansible#3109.
- Loading branch information
1 parent
3c592a5
commit 0a7c081
Showing
2 changed files
with
41 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,24 +5,62 @@ Adrian Likins <[email protected]> | |
Alexander Saprykin <[email protected]> | ||
Andrew Crosby <[email protected]> | ||
Brian Coca <[email protected]> | ||
Brian McLaughlin <[email protected]> | ||
Bruno Rocha <[email protected]> | ||
Calvin Spealman <[email protected]> | ||
Chris Church <[email protected]> | ||
Chris Houseknecht <[email protected]> | ||
Chris Meyers <[email protected]> | ||
Christopher Chase <[email protected]> | ||
Chyna Sanders <[email protected]> | ||
David Davis <[email protected]> | ||
David Moreau Simard <[email protected]> | ||
David Newswanger <[email protected]> | ||
David Zager <[email protected]> | ||
Dostonbek <[email protected]> | ||
Dostonbek Toirov <[email protected]> | ||
Egor Margineanu <[email protected]> | ||
Evgeni Golov <[email protected]> | ||
Guillaume Delacour <[email protected]> | ||
Ivan <[email protected]> | ||
Ivan Remizov <[email protected]> | ||
Jake Jackson <[email protected]> | ||
James Cammarata <[email protected]> | ||
James Tanner <[email protected]> | ||
Jason Yundt <[email protected]> | ||
Jeff Geerling <[email protected]> | ||
Jiri Tyr <[email protected]> | ||
Joe Fiorini <[email protected]> | ||
John Barker <[email protected]> | ||
John Corrales <[email protected]> | ||
John R Barker <[email protected]> | ||
John R Barker <[email protected]> | ||
Jorge Heleno <[email protected]> | ||
Jürgen Etzlstorfer <[email protected]> | ||
Karl Goetz <[email protected]> | ||
Kevin Breit <[email protected]> | ||
Khrystyna Bugaienko <[email protected]> | ||
Kyle <[email protected]> | ||
Leon M. George <[email protected]> | ||
Martin Hradil <[email protected]> | ||
Martin Krizek <[email protected]> | ||
Nicolas Quiniou-Briand <[email protected]> | ||
Paul Belanger <[email protected]> | ||
Paul Belanger <[email protected]> | ||
Paul dG <[email protected]> | ||
Ryuichi Watanabe <[email protected]> | ||
Samy Coenen <[email protected]> | ||
Sandra McCann <[email protected]> | ||
Strix <[email protected]> | ||
Sviatoslav Sydorenko <[email protected]> | ||
Thad Guidry <[email protected]> | ||
Till! <[email protected]> | ||
Timothy Appnel <[email protected]> | ||
Traythedev <[email protected]> | ||
Yanis Guenane <[email protected]> | ||
cclauss <[email protected]> | ||
chynasan <[email protected]> | ||
ironfroggy <[email protected]> | ||
ironfroggy <[email protected]> | ||
jawyoonis <[email protected]> | ||
jctanner <[email protected]> | ||
thedoubl3j <[email protected]> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters