Convert contributors.json to a flat list
authorsimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 10 Oct 2016 00:45:20 +0000 (00:45 +0000)
committersimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 10 Oct 2016 00:45:20 +0000 (00:45 +0000)
commit686daf4713ec1b2dc0f11d45b812df5eb02e52a0
tree842e2eceedec808ac964019a8da5213d299a240e
parent4d6544da2c87d4cabcc0b5bc99061e552aeba80a
Convert contributors.json to a flat list
https://bugs.webkit.org/show_bug.cgi?id=163183

Reviewed by Darin Adler.

Make contributors.json easier to maintain by eliminating the big groupings ("Committers", "Reviewers" etc)
and moving that data to a "status" property on each contributor.
Tools:

* Scripts/webkitpy/common/config/committers.py:
(Contributor.__eq__): Implement this to fix unit tests, now that load_json() is not @memoized.
(Contributor.as_dict): Include status in the dict.
(CommitterList.__init__): Clean up to make the testing code path more explicit.
(CommitterList.load_json):
(CommitterList.load_test_data):
(CommitterList.as_json):
(Contributor.__unicode__): Deleted.
* Scripts/webkitpy/common/config/contributors.json:
* Scripts/webkitpy/tool/bot/irc_command_unittest.py:
(IRCCommandTest.test_whois): The ordering here is now alphabetical.

Websites/bugs.webkit.org:

Fix script that does bugzilla autocomplete.

* committers-autocomplete.js:
(statusToType):
(parseCommittersPy):
(parseType): Deleted.

Websites/webkit.org:

Fix script that generates webkit.org/team.

* wp-content/themes/webkit/team.php:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@206973 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Tools/ChangeLog
Tools/Scripts/webkitpy/common/config/committers.py
Tools/Scripts/webkitpy/common/config/contributors.json
Tools/Scripts/webkitpy/tool/bot/irc_command_unittest.py
Websites/bugs.webkit.org/ChangeLog
Websites/bugs.webkit.org/committers-autocomplete.js
Websites/webkit.org/ChangeLog
Websites/webkit.org/wp-content/themes/webkit/team.php