Changeset 281936 in webkit
- Timestamp:
- Sep 2, 2021, 10:32:51 AM (4 years ago)
- Location:
- trunk/Websites/bugs.webkit.org
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Websites/bugs.webkit.org/ChangeLog
r276640 r281936 1 2021-09-02 Jonathan Bedard <jbedard@apple.com> 2 3 [contributors.json] Relocation (Part 4) 4 https://bugs.webkit.org/show_bug.cgi?id=229690 5 <rdar://problem/82552403> 6 7 Reviewed by Aakash Jain. 8 9 * committers-autocomplete.js: Use metadata/contributors.json. 10 (parseCommittersPy): Parse contributors.json as list instead of dictionary. 11 1 12 2021-04-27 Jonathan Bedard <jbedard@apple.com> 2 13 -
trunk/Websites/bugs.webkit.org/committers-autocomplete.js
r210931 r281936 25 25 26 26 WebKitCommitters = (function() { 27 var COMMITTERS_URL = 'https://svn.webkit.org/repository/webkit/trunk/ Tools/Scripts/webkitpy/common/config/contributors.json';27 var COMMITTERS_URL = 'https://svn.webkit.org/repository/webkit/trunk/metadata/contributors.json'; 28 28 var m_committers; 29 29 … … 37 37 38 38 function parseCommittersPy(text) { 39 var contributors = JSON.parse(text);40 41 39 m_committers = []; 42 43 for (var name in contributors) { 44 var record = contributors[name]; 40 JSON.parse(text).forEach(contributor => { 45 41 m_committers.push({ 46 name: name,47 emails: record.emails,48 irc: record.nicks,49 type: statusToType( record.status),42 name: contributor.name, 43 emails: contributor.emails, 44 irc: contributor.nicks, 45 type: statusToType(contributor.status), 50 46 }); 51 } 47 }) 52 48 } 53 49
Note:
See TracChangeset
for help on using the changeset viewer.