web-data-analysis: remove hardcoded end dates in mirrors gnuplot script #3191

Merged
kevin merged 1 commit from victorkoycheff/ansible:fix-12833-gnuplot-dates into main 2026-03-05 01:05:55 +00:00
Contributor

The mirrors-data.gp script had a hardcoded X-axis end date of 2024-12-31. Since we are now generating data for 2026, gnuplot fails with all points y value undefined! because the new log data points fall completely outside this strict plotting window.
By removing the end date and using an open-ended range (e.g., ["2007-05-17":]), gnuplot will automatically scale the X-axis to the latest available data point in the CSV, preventing this issue from recurring when the year rolls over.
Fixes: infra/tickets#12833

The `mirrors-data.gp` script had a hardcoded X-axis end date of `2024-12-31`. Since we are now generating data for 2026, gnuplot fails with `all points y value undefined!` because the new log data points fall completely outside this strict plotting window. By removing the end date and using an open-ended range (e.g., `["2007-05-17":]`), gnuplot will automatically scale the X-axis to the latest available data point in the CSV, preventing this issue from recurring when the year rolls over. Fixes: https://forge.fedoraproject.org/infra/tickets/issues/12833
web-data-analysis: remove hardcoded end date in gnuplot script
All checks were successful
Linter / yamllint (pull_request) Successful in 24s
Linter / ansible-lint (pull_request) Successful in 26s
b690533dba
The mirrors-data.gp script had a hardcoded X-axis end date of
2024-12-31. Since we are now in 2026, gnuplot fails with "all points
y value undefined!" because the new log data points fall completely
outside this strict plotting window.

By removing the end date and using an open-ended range (e.g. ["2007-05-17":]),
gnuplot will automatically scale the X-axis to the latest available data
point in the CSV, preventing this from breaking again in the future.

Fixes: #12833

Signed-off-by: Victor Koycheff <victorkoycheff@gmail.com>
Owner

Cool. Looks reasonable... since we are in freeze this will need a freeze break to be applied.

I'll give my +1

Cool. Looks reasonable... since we are in freeze this will need a freeze break to be applied. I'll give my +1
Member

FBR +1

FBR +1
Owner

ok, thats +2, lets try it.

ok, thats +2, lets try it.
kevin merged commit 7de3acd96c into main 2026-03-05 01:05:55 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
infra/ansible!3191
No description provided.