@@ -176,153 +176,36 @@ def get_usage_data(datetime_from=None, datetime_to=None, top=10):
176
176
jobs:
177
177
copr_build_targets:
178
178
job_runs: 530955
179
- per_event:
180
- branch_push:
181
- job_runs: 48160
182
- top_projects_by_job_runs:
183
- https://github.com/osandov/drgn: 5812
184
- https://github.com/osbuild/osbuild: 7078
185
- https://github.com/osbuild/osbuild-composer: 12847
186
- issue:
187
- job_runs: 0
188
- top_projects_by_job_runs: {}
189
- pull_request:
190
- job_runs: 481561
191
- top_projects_by_job_runs:
192
- https://github.com/osbuild/osbuild: 31108
193
- https://github.com/osbuild/osbuild-composer: 93939
194
- https://github.com/systemd/systemd: 60158
195
- release:
196
- job_runs: 1234
197
- top_projects_by_job_runs:
198
- https://github.com/facebook/folly: 340
199
- https://github.com/packit/ogr: 104
200
- https://github.com/packit/packit: 174
201
179
top_projects_by_job_runs:
202
180
https://github.com/osbuild/osbuild: 38186
203
181
https://github.com/osbuild/osbuild-composer: 106786
204
182
https://github.com/systemd/systemd: 60158
205
183
koji_build_targets:
206
184
job_runs: 1466
207
- per_event:
208
- branch_push:
209
- job_runs: 56
210
- top_projects_by_job_runs:
211
- https://github.com/besser82/libxcrypt: 46
212
- https://github.com/ostreedev/ostree: 10
213
- issue:
214
- job_runs: 0
215
- top_projects_by_job_runs: {}
216
- pull_request:
217
- job_runs: 1410
218
- top_projects_by_job_runs:
219
- https://github.com/containers/podman: 297
220
- https://github.com/packit/ogr: 509
221
- https://github.com/rear/rear: 267
222
- release:
223
- job_runs: 0
224
- top_projects_by_job_runs: {}
225
185
top_projects_by_job_runs:
226
186
https://github.com/containers/podman: 297
227
187
https://github.com/packit/ogr: 509
228
188
https://github.com/rear/rear: 267
229
189
srpm_builds:
230
190
job_runs: 103695
231
- per_event:
232
- branch_push:
233
- job_runs: 7084
234
- top_projects_by_job_runs:
235
- https://github.com/osbuild/osbuild-composer: 646
236
- https://github.com/packit/packit: 549
237
- https://github.com/rhinstaller/anaconda: 1015
238
- issue:
239
- job_runs: 0
240
- top_projects_by_job_runs: {}
241
- pull_request:
242
- job_runs: 96305
243
- top_projects_by_job_runs:
244
- https://github.com/cockpit-project/cockpit: 6915
245
- https://github.com/packit/hello-world: 10401
246
- https://github.com/systemd/systemd: 14489
247
- release:
248
- job_runs: 306
249
- top_projects_by_job_runs:
250
- https://github.com/facebook/folly: 40
251
- https://github.com/packit/ogr: 34
252
- https://github.com/packit/packit: 54
253
191
top_projects_by_job_runs:
254
192
https://github.com/cockpit-project/cockpit: 6937
255
193
https://github.com/packit/hello-world: 10409
256
194
https://github.com/systemd/systemd: 14489
257
195
sync_release_runs:
258
196
job_runs: 419
259
- per_event:
260
- branch_push:
261
- job_runs: 0
262
- top_projects_by_job_runs: {}
263
- issue:
264
- job_runs: 22
265
- top_projects_by_job_runs:
266
- https://github.com/martinpitt/python-dbusmock: 3
267
- https://github.com/packit/packit: 3
268
- https://github.com/packit/specfile: 6
269
- pull_request:
270
- job_runs: 0
271
- top_projects_by_job_runs: {}
272
- release:
273
- job_runs: 397
274
- top_projects_by_job_runs:
275
- https://github.com/martinpitt/python-dbusmock: 35
276
- https://github.com/packit/packit: 35
277
- https://github.com/rhinstaller/anaconda: 34
278
197
top_projects_by_job_runs:
279
198
https://github.com/martinpitt/python-dbusmock: 38
280
199
https://github.com/packit/packit: 38
281
200
https://github.com/rhinstaller/anaconda: 34
282
201
tft_test_run_targets:
283
202
job_runs: 150525
284
- per_event:
285
- branch_push:
286
- job_runs: 441
287
- top_projects_by_job_runs:
288
- https://github.com/oamg/convert2rhel: 209
289
- https://github.com/packit-service/packit: 50
290
- https://github.com/python-bugzilla/python-bugzilla: 88
291
- issue:
292
- job_runs: 0
293
- top_projects_by_job_runs: {}
294
- pull_request:
295
- job_runs: 150026
296
- top_projects_by_job_runs:
297
- https://github.com/cockpit-project/cockpit: 21157
298
- https://github.com/oamg/convert2rhel: 15297
299
- https://github.com/teemtee/tmt: 22136
300
- release:
301
- job_runs: 58
302
- top_projects_by_job_runs:
303
- https://github.com/fedora-infra/fedora-messaging: 8
304
- https://github.com/fedora-iot/zezere: 8
305
- https://github.com/psss/tmt: 21
306
203
top_projects_by_job_runs:
307
204
https://github.com/cockpit-project/cockpit: 21157
308
205
https://github.com/oamg/convert2rhel: 15506
309
206
https://github.com/teemtee/tmt: 22136
310
207
vm_image_build_targets:
311
208
job_runs: 2
312
- per_event:
313
- branch_push:
314
- job_runs: 0
315
- top_projects_by_job_runs: {}
316
- issue:
317
- job_runs: 0
318
- top_projects_by_job_runs: {}
319
- pull_request:
320
- job_runs: 2
321
- top_projects_by_job_runs:
322
- https://github.com/packit/ogr: 2
323
- release:
324
- job_runs: 0
325
- top_projects_by_job_runs: {}
326
209
top_projects_by_job_runs:
327
210
https://github.com/packit/ogr: 2
328
211
@@ -350,27 +233,6 @@ def get_usage_data(datetime_from=None, datetime_to=None, top=10):
350
233
job_result_model = job_model ,
351
234
),
352
235
)
353
- jobs [job_model .__tablename__ ]["per_event" ] = {}
354
- jobs [job_model .__tablename__ ]["per_event" ].update (
355
- {
356
- project_event_type .value : dict (
357
- job_runs = GitProjectModel .get_job_usage_numbers_count (
358
- datetime_from = datetime_from ,
359
- datetime_to = datetime_to ,
360
- job_result_model = job_model ,
361
- project_event_type = project_event_type ,
362
- ),
363
- top_projects_by_job_runs = GitProjectModel .get_job_usage_numbers (
364
- datetime_from = datetime_from ,
365
- datetime_to = datetime_to ,
366
- top = top ,
367
- job_result_model = job_model ,
368
- project_event_type = project_event_type ,
369
- ),
370
- )
371
- for project_event_type in ProjectEventModelType
372
- }
373
- )
374
236
375
237
return dict (
376
238
all_projects = dict (
0 commit comments