Skip to content

feat(docs): show daily DPM package download chart - #360

Merged
zheli merged 1 commit into
mainfrom
feat/package-stats-daily
Oct 21, 2026
Merged

zheli merged 1 commit into
mainfrom
feat/package-stats-daily

Conversation

@zheli

@zheli zheli commented Oct 21, 2026

Copy link
Copy Markdown
Contributor

Summary

Switch the DPM/GHCR package download README chart from monthly to daily (last 30 days), since the package history is still short and monthly buckets hide useful detail.

Changes

  • Emit package-downloads-daily.svg and a last-30-days daily table from history deltas
  • Replace package-stats-monthly.jq with package-stats-daily.jq; update tests
  • Workflow publishes the daily SVG and removes the superseded monthly chart on release-stats-data
  • README embeds the daily chart

Test plan

  • bash scripts/package-stats_test.sh
  • Dispatch Package stats workflow and confirm package-downloads-daily.svg appears on release-stats-data
  • Confirm README daily chart embed loads after the workflow run
  • Confirm package-downloads-monthly.svg is removed from release-stats-data

Checklist

  • Tests pass locally (package-stats_test.sh)
  • No coverage regression on touched code (shell/docs only)
  • Docs updated (README only; no mirrored docs/*.md)
  • CLI ↔ Web UI parity maintained (N/A — docs/CI stats only)

With little package history yet, monthly buckets are too coarse; chart
and summarize the last 30 daily deltas instead, and drop the monthly SVG.
@zheli
zheli marked this pull request as ready for review October 21, 2026 13:17
@zheli
zheli merged commit d77d2cc into main Oct 21, 2026
1 check passed
@zheli
zheli deleted the feat/package-stats-daily branch October 21, 2026 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant