RESOLVED FIXED199161
contributors.json not canonicalized since r243297
https://bugs.webkit.org/show_bug.cgi?id=199161
Summary contributors.json not canonicalized since r243297
Michael Catanzaro
Reported 2019-06-24 08:18:06 PDT
"status" : "contributor", added all over the place in r243297 "Update status inactive committers' status to 'contributor'," isn't recognized as canonical format by validate-committer-lists --canonicalize. Canonicalizing contributors.json will result in the removal of "status" : "contributor" wherever it exists. We could make it canonical form with this simple tweak: diff --git a/Tools/Scripts/webkitpy/common/config/committers.py b/Tools/Scripts/ webkitpy/common/config/committers.py index ed927ba52ea..c446ce53a04 100644 --- a/Tools/Scripts/webkitpy/common/config/committers.py +++ b/Tools/Scripts/webkitpy/common/config/committers.py @@ -142,6 +142,8 @@ class Contributor(object): info["status"] = "reviewer" elif self.can_commit: info["status"] = "committer" + else: + info["status"] = "contributor" if self.irc_nicknames: info["nicks"] = self.irc_nicknames Or we could just remove it everywhere. Alexey, your preference?
Attachments
Patch (83.39 KB, patch)
2019-06-24 08:21 PDT, Michael Catanzaro
ap: review+
Michael Catanzaro
Comment 1 2019-06-24 08:20:58 PDT
This patch canonicalizes it without changing the format.
Michael Catanzaro
Comment 2 2019-06-24 08:21:12 PDT
Michael Catanzaro
Comment 3 2019-06-24 08:22:31 PDT
(In reply to Michael Catanzaro from comment #0) > We could make it canonical form with this simple tweak: (Note this will result in it being added in a ton of places where it's not currently.)
EWS Watchlist
Comment 4 2019-06-24 08:22:56 PDT
Attachment 372764 [details] did not pass style-queue: ERROR: Tools/Scripts/webkitpy/common/config/contributors.json:0: contributors.json should not be modified through the commit queue [json/syntax] [5] Total errors found: 1 in 2 files If any of these errors are false positives, please file a bug against check-webkit-style.
Alexey Proskuryakov
Comment 5 2019-06-24 09:36:56 PDT
Comment on attachment 372764 [details] Patch No preference as far as I’m concerned. I didn’t know that there was a canonical form.
Michael Catanzaro
Comment 6 2019-06-24 11:59:45 PDT
Radar WebKit Bug Importer
Comment 7 2019-06-24 12:01:16 PDT
Note You need to log in before you can comment on or make changes to this bug.