The Wayback Machine - https://web.archive.org/web/20201212231643/https://github.com/microsoft/TypeScript/pull/36867
Skip to content
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

Update the authors script to generate the content of authors.md #36867

Merged
merged 1 commit into from Feb 27, 2020

Conversation

@orta
Copy link
Member

@orta orta commented Feb 19, 2020

This file is now entirely auto-generated. I made a quick script with all the old names in to verify they are all in there from the file before I automated it afterwards.

Personally, I'm open to killing the mailmap file and making this script generate this file entirely - but for now this is good enough, we'll see where that conversation goes in teams.

@@ -162,6 +165,16 @@ namespace Commands {
console.log("=====================");
deduplicate(unknownAuthors).sort(sortAuthors).forEach(log);
}


const allAuthors = deduplicate([...knownAuthors, ...unknownAuthors].map(a => a.split("<")[0])).sort(sortAuthors);

This comment has been minimized.

@DanielRosenwasser

DanielRosenwasser Feb 19, 2020
Member

If you split by < and pipe to a file, does that mean you'll end up with trailing whitespace on certain lines?

This comment has been minimized.

@orta

orta Feb 19, 2020
Author Member

I'll trim to make sure anyway, though this isn't pipeable because it's part of a longer list command

@orta orta force-pushed the orta:authors branch from f95240d to a5f6c78 Feb 19, 2020
@orta
Copy link
Member Author

@orta orta commented Feb 27, 2020

This actually greened on Travis, so I'm merging 👍

@orta orta merged commit e804dc8 into microsoft:master Feb 27, 2020
7 of 8 checks passed
7 of 8 checks passed
build (8.x)
Details
build (10.x)
Details
build (12.x)
Details
continuous-integration/travis-ci/pr The Travis CI build is in progress
Details
license/cla All CLA requirements met.
Details
node10 Build #64955 succeeded
Details
node12 Build #64953 succeeded
Details
node8 Build #64954 succeeded
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

4 participants
You can’t perform that action at this time.