Changeset 207350 in webkit
- Timestamp:
- Oct 14, 2016 11:26:44 AM (7 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r207349 r207350 1 2016-10-14 Simon Fraser <simon.fraser@apple.com> 2 3 Annotate bots in contributors.json and don't show them on webkit.org/team 4 https://bugs.webkit.org/show_bug.cgi?id=163317 5 6 Reviewed by Daniel Bates. 7 8 Add "class" : "bot" for non-humans in contributors.json and round-trip it. 9 10 * Scripts/webkitpy/common/config/committers.py: 11 (Contributor.__init__): 12 (Contributor.as_dict): 13 (Bot): 14 (Bot.__init__): 15 (CommitterList.load_json): 16 * Scripts/webkitpy/common/config/contributors.json: 17 1 18 2016-10-14 Simon Fraser <simon.fraser@apple.com> 2 19 -
trunk/Tools/Scripts/webkitpy/common/config/committers.py
r206980 r207350 63 63 self.can_commit = False 64 64 self.can_review = False 65 self.is_bot = False 65 66 66 67 def bugzilla_email(self): … … 147 148 info["expertise"] = self.expertise 148 149 150 if self.is_bot: 151 info["class"] = "bot" 152 149 153 return info 150 154 … … 161 165 self.can_review = True 162 166 167 168 class Bot(Contributor): 169 def __init__(self, name, email_or_emails, irc_nickname=None, alias_or_aliases=None, expertise=None): 170 Contributor.__init__(self, name, email_or_emails, irc_nickname, alias_or_aliases, expertise) 171 self.is_bot = True 163 172 164 173 class CommitterList(object): … … 200 209 contributor = Committer(name, data.get('emails'), data.get('nicks'), data.get('aliases'), data.get('expertise')) 201 210 self._committers.append(contributor) 211 elif data.get('class') == 'bot': 212 contributor = Bot(name, data.get('emails'), data.get('nicks'), data.get('aliases'), data.get('expertise')) 202 213 else: 203 214 contributor = Contributor(name, data.get('emails'), data.get('nicks'), data.get('aliases'), data.get('expertise')) -
trunk/Tools/Scripts/webkitpy/common/config/contributors.json
r207161 r207350 150 150 }, 151 151 "Adobe Bug Tracker" : { 152 "class" : "bot", 152 153 "emails" : [ 153 154 "WebkitBugTracker@adobe.com" … … 1259 1260 }, 1260 1261 "Commit Queue" : { 1262 "class" : "bot", 1261 1263 "emails" : [ 1262 1264 "commit-queue@webkit.org" … … 4514 4516 }, 4515 4517 "Radar WebKit Bug Importer" : { 4518 "class" : "bot", 4516 4519 "emails" : [ 4517 4520 "webkit-bug-importer@group.apple.com" … … 5461 5464 }, 5462 5465 "WebKit Review Bot" : { 5466 "class" : "bot", 5463 5467 "emails" : [ 5464 5468 "webkit.review.bot@gmail.com" … … 5469 5473 }, 5470 5474 "WebKitGTK+ Bugs" : { 5475 "class" : "bot", 5471 5476 "emails" : [ 5472 5477 "bugs-noreply@webkitgtk.org" -
trunk/Websites/webkit.org/ChangeLog
r207266 r207350 1 2016-10-14 Simon Fraser <simon.fraser@apple.com> 2 3 Annotate bots in contributors.json and don't show them on webkit.org/team 4 https://bugs.webkit.org/show_bug.cgi?id=163317 5 6 Reviewed by Daniel Bates. 7 8 Don't show bots. 9 10 * wp-content/themes/webkit/team.php: 11 1 12 2016-10-12 Keith Miller <keith_miller@apple.com> 2 13 -
trunk/Websites/webkit.org/wp-content/themes/webkit/team.php
r206973 r207350 136 136 for (var contributor in contributorsJSON) { 137 137 var data = contributorsJSON[contributor]; 138 if (data.class == "bot") 139 continue; 138 140 contributors.push({ 139 141 name: contributor,
Note: See TracChangeset
for help on using the changeset viewer.