Skip to content

Commit 95b4e97

Browse files
committed
Add triage bugzilla data
1 parent 68516c3 commit 95b4e97

7 files changed

+656
-3
lines changed

.github/workflows/download-bugzilla-data.yml

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,21 +39,45 @@ jobs:
3939
run: |
4040
curl -o bugzilla-data-regressions.json "https://bugzilla.mozilla.org/rest/bug?include_fields=id,summary,status,component,creation_time,last_change_time,keywords,priority,severity,op_sys&classification=Client%20Software&classification=Developer%20Infrastructure&classification=Components&classification=Server%20Software&classification=Other&f1=keywords&f2=keywords&o1=substring&o2=anywordssubstr&resolution=---&v1=regression&v2=perf-alert"
4141
42+
- name: Download Bugzilla data (triage-general)
43+
run: |
44+
curl -o bugzilla-data-triage-general.json "https://bugzilla.mozilla.org/rest/bug?include_fields=id,summary,status,component,creation_time,last_change_time,keywords,priority,severity,op_sys&query_based_on=General+Performance+Triage&query_format=advanced&resolution=---&f1=OP&f2=cf_performance_impact&o2=equals&v2=%3F&f3=CP&f4=OP&f5=product&o5=equals&v5=Core&f6=component&o6=equals&v6=Performance%3A+General&f7=keywords&o7=notsubstring&v7=meta&f8=cf_performance_impact&o8=isempty&f9=CP&f10=OP&f11=product&o11=equals&v11=Core&f12=component&o12=equals&v12=Performance%3A+General&f13=cf_performance_impact&o13=equals&v13=pending-needinfo&f14=flagtypes.name&o14=notsubstring&v14=needinfo&f15=CP&j_top=OR&order=Bug+Number&include_fields=id&include_fields=summary&include_fields=status"
45+
46+
- name: Download Bugzilla data (triage-memory)
47+
run: |
48+
curl -o bugzilla-data-triage-memory.json "https://bugzilla.mozilla.org/rest/bug?include_fields=id,summary,status,component,creation_time,last_change_time,keywords,priority,severity,op_sys&query_based_on=Memory+Performance+Triage&query_format=advanced&resolution=---&f1=OP&f2=product&o2=equals&v2=Core&f3=component&o3=equals&v3=Performance%3A+Memory&f4=keywords&o4=notsubstring&v4=meta&f5=cf_performance_impact&o5=isempty&f6=CP&f7=OP&f8=product&o8=equals&v8=Core&f9=component&o9=equals&v9=Performance%3A+Memory&f10=cf_performance_impact&o10=equals&v10=pending-needinfo&f11=flagtypes.name&o11=notsubstring&v11=needinfo&f12=CP&j_top=OR&order=Bug+Number&include_fields=id&include_fields=summary&include_fields=status"
49+
50+
- name: Download Bugzilla data (triage-navigation)
51+
run: |
52+
curl -o bugzilla-data-triage-navigation.json "https://bugzilla.mozilla.org/rest/bug?include_fields=id,summary,status,component,creation_time,last_change_time,keywords,priority,severity,op_sys&query_format=advanced&resolution=---&f1=OP&f2=product&o2=equals&v2=Core&f3=component&o3=equals&v3=Performance%3A+Navigation&f4=keywords&o4=notsubstring&v4=meta&f5=cf_performance_impact&o5=isempty&f6=CP&f7=OP&f8=product&o8=equals&v8=Core&f9=component&o9=equals&v9=Performance%3A+Navigation&f10=cf_performance_impact&o10=equals&v10=pending-needinfo&f11=flagtypes.name&o11=notsubstring&v11=needinfo&f12=CP&j_top=OR&order=Bug+Number&include_fields=id&include_fields=summary&include_fields=status"
53+
54+
- name: Download Bugzilla data (triage-responsiveness)
55+
run: |
56+
curl -o bugzilla-data-triage-responsiveness.json "https://bugzilla.mozilla.org/rest/bug?include_fields=id,summary,status,component,creation_time,last_change_time,keywords,priority,severity,op_sys&query_based_on=Responsiveness+Performance+Triage&query_format=advanced&resolution=---&f1=OP&f2=product&o2=equals&v2=Core&f3=component&o3=equals&v3=Performance%3A+Responsiveness&f4=keywords&o4=notsubstring&v4=meta&f5=cf_performance_impact&o5=isempty&f6=CP&f7=OP&f8=product&o8=equals&v8=Core&f9=component&o9=equals&v9=Performance%3A+Responsiveness&f10=cf_performance_impact&o10=equals&v10=pending-needinfo&f11=flagtypes.name&o11=notsubstring&v11=needinfo&f12=CP&j_top=OR&order=Bug+Number&include_fields=id&include_fields=summary&include_fields=status"
57+
58+
- name: Download Bugzilla data (triage-startup)
59+
run: |
60+
curl -o bugzilla-data-triage-startup.json "https://bugzilla.mozilla.org/rest/bug?include_fields=id,summary,status,component,creation_time,last_change_time,keywords,priority,severity,op_sys&query_based_on=Startup+Performance+Triage&query_format=advanced&resolution=---&f1=OP&f2=product&o2=equals&v2=Core&f3=component&o3=equals&v3=Performance%3A+Startup&f4=keywords&o4=notsubstring&v4=meta&f5=cf_performance_impact&o5=isempty&f6=CP&f7=OP&f8=product&o8=equals&v8=Core&f9=component&o9=equals&v9=Performance%3A+Startup&f10=cf_performance_impact&o10=equals&v10=pending-needinfo&f11=flagtypes.name&o11=notsubstring&v11=needinfo&f12=CP&j_top=OR&order=Bug+Number&include_fields=id&include_fields=summary&include_fields=status"
4261
4362
- name: Merge JSON files
4463
run: |
45-
jq -n '{high: $high[], medium: $medium[], low: $low[], untriaged: $untriaged[], needinfo: $needinfo[], regressions: $regressions[]}' \
64+
jq -n '{high: $high[], medium: $medium[], low: $low[], untriaged: $untriaged[], needinfo: $needinfo[], regressions: $regressions[], triageGeneral: $triageGeneral[], triageMemory: $triageMemory[], triageNavigation: $triageNavigation[], triageResponsiveness: $triageResponsiveness[], triageStartup: $triageStartup[]}' \
4665
--slurpfile high bugzilla-data-high.json \
4766
--slurpfile medium bugzilla-data-medium.json \
4867
--slurpfile low bugzilla-data-low.json \
4968
--slurpfile untriaged bugzilla-data-untriaged.json \
5069
--slurpfile needinfo bugzilla-data-needinfo.json \
51-
--slurpfile regressions bugzilla-data-regressions.json > bugzilla-data-all.json
70+
--slurpfile regressions bugzilla-data-regressions.json \
71+
--slurpfile triageGeneral bugzilla-data-triage-general.json \
72+
--slurpfile triageMemory bugzilla-data-triage-memory.json \
73+
--slurpfile triageNavigation bugzilla-data-triage-navigation.json \
74+
--slurpfile triageResponsiveness bugzilla-data-triage-responsiveness.json \
75+
--slurpfile triageStartup bugzilla-data-triage-startup.json > bugzilla-data-all.json
5276
5377
- name: Commit and push changes
5478
run: |
5579
git config --global user.name 'github-actions[bot]'
5680
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
57-
git add bugzilla-data-medium.json bugzilla-data-low.json bugzilla-data-high.json bugzilla-data-untriaged.json bugzilla-data-needinfo.json bugzilla-data-all.json bugzilla-data-regressions.json
81+
git add bugzilla-data-medium.json bugzilla-data-low.json bugzilla-data-high.json bugzilla-data-untriaged.json bugzilla-data-needinfo.json bugzilla-data-all.json bugzilla-data-regressions.json bugzilla-data-triage-general.json bugzilla-data-triage-memory.json bugzilla-data-triage-navigation.json bugzilla-data-triage-responsiveness.json bugzilla-data-triage-startup.json
5882
git commit -m "Update Bugzilla data"
5983
git push

0 commit comments

Comments
 (0)