Repository navigation
feat(docs): track GHCR package downloads separately from release stats - #358
Merged
Merged
Conversation
DPM installs via dpm install are not visible in GitHub Release asset counts; scrape the public Packages page into its own history, charts, and daily workflow so adoption metrics stay separate.
zheli
marked this pull request as ready for review
October 20, 2026 15:01
Resolve README Download statistics conflict by keeping the Standalone and DPM subsections from this branch over main's short standalone-only note.
6 of 9 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add a parallel GHCR package download-stats pipeline for DPM (
dpm install) pulls, kept separate from the existing GitHub Release standalone download charts.Changes
scripts/package-stats.shto scrape the public Packages page (noread:packagestoken), seed history from the 30-day sparkline, and emitpackage-downloads-{history.jsonl,monthly.svg,md}scripts/package-stats-monthly.jqandscripts/package-stats_test.shwith an HTML fixture.github/workflows/package-stats.yml(daily cron + dispatch) publishing onlypackage-downloads-*torelease-stats-dataTest plan
bash scripts/package-stats_test.shmake testmake lintPackage statsworkflow and confirmpackage-downloads-*appear onrelease-stats-datawithout changingrelease-downloads-*Checklist
package-stats_test.sh)docs/*.md)