Skip to content

Commit b097c3d

Browse files
Rename "Fenix" to "Firefox for Android" (#2624)
1 parent a227521 commit b097c3d

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

bugbot/rules/component.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,8 @@ def get_bugs(self, date="today", bug_ids=[]):
8888
def meets_threshold(bug_data):
8989
threshold = (
9090
self.general_confidence_threshold
91-
if bug_data["class"] == "Fenix" or bug_data["class"] == "General"
91+
if bug_data["class"] == "Firefox for Android"
92+
or bug_data["class"] == "General"
9293
else self.component_confidence_threshold
9394
)
9495
return bug_data["prob"][bug_data["index"]] >= threshold
@@ -112,12 +113,12 @@ def meets_threshold(bug_data):
112113
# security bug.
113114
continue
114115
if meets_threshold(bug_data):
115-
if bug_data.get("class") == "Fenix":
116+
if bug_data.get("class") == "Firefox for Android":
116117
fenix_general_bug_ids.append(bug_id)
117118
else:
118119
current_bug_data = raw_bugs[bug_id]
119120
if (
120-
current_bug_data["product"] == "Fenix"
121+
current_bug_data["product"] == "Firefox for Android"
121122
and current_bug_data["component"] == "General"
122123
):
123124
fenix_general_bug_ids.append(bug_id)
@@ -134,7 +135,7 @@ def meets_threshold(bug_data):
134135
confidence > self.fenix_confidence_threshold
135136
and data["class"] != "General"
136137
):
137-
data["class"] = f"Fenix::{data['class']}"
138+
data["class"] = f"Firefox for Android::{data['class']}"
138139
bugs[bug_id] = data
139140

140141
results = {}

configs/rules.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"Developer Infrastructure",
4040
"DevTools",
4141
"External Software Affecting Firefox",
42-
"Fenix",
42+
"Firefox for Android",
4343
"Firefox",
4444
"Firefox for iOS",
4545
"Firefox Build System",

0 commit comments

Comments
 (0)