Skip to content

Commit

Permalink
Do not filter out dist-git projects
Browse files Browse the repository at this point in the history
We do need those to be present in statistics for downstream jobs

Signed-off-by: Frantisek Lachman <[email protected]>
  • Loading branch information
lachmanfrantisek committed Dec 7, 2023
1 parent f20e57c commit dcb8957
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packit_service/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -781,7 +781,6 @@ def get_project_event_usage_numbers(
PipelineModel.project_event_id == ProjectEventModel.id,
)
.filter(ProjectEventModel.type == project_event_type)
.filter(GitProjectModel.instance_url != "src.fedoraproject.org")
)
if datetime_from:
query = query.filter(PipelineModel.datetime >= datetime_from)
Expand Down Expand Up @@ -897,8 +896,6 @@ def get_job_usage_numbers(
)
.join(job_result_model, job_result_model.id == pipeline_attribute)
.filter(ProjectEventModel.type == project_event_type)
# We have all the dist git projects in because of how we parse the events.
.filter(GitProjectModel.instance_url != "src.fedoraproject.org")
)
if datetime_from:
query = query.filter(PipelineModel.datetime >= datetime_from)
Expand Down

0 comments on commit dcb8957

Please sign in to comment.