Add auto-refreshed Docker pulls per month graph in README and documentation - #8698
Merged
Conversation
…in README and online docs - New .automation/docker_pulls_chart.py generates docs/assets/images/docker-pulls-monthly.svg from monthly points stored in .automation/generated/docker-pulls-monthly.json (historical baseline built once from collected stats + Web Archive badge snapshots), then appends newly completed months from flavors-stats.json - Called by build.py right after update_docker_pulls_counter() so the auto-update workflow refreshes the image - docker_stats.py now also tracks standalone megalinter-only-* images - Graph displayed in README (Why MegaLinter) and docs/flavors-stats.md
nvuillam
requested review from
Kurt-von-Laven,
bdovaz and
echoix
as code owners
August 8, 2026 15:45
Contributor
✅
|
…raph on They use MegaLinter page - cspell flagged 5 words from .automation/docker_pulls_chart.py (dataviz, Segoe, gridlines, linecap, linejoin) - build.py now re-inserts the Docker pulls graph below the badges of the generated docs/used-by-stats.md page after github-dependents-info runs
nvuillam
force-pushed
the
feature/docker-pulls-monthly-chart
branch
from
August 8, 2026 16:03
7e4e7c8 to
bbadfbb
Compare
…yft binaries Latest upstream releases all predate the go-git 5.19.2 fix; the worktree-write code path is unreachable when the tools scan the local workspace. Revisit when releases built with go-git >= 5.19.2 ship.
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
Adds a Docker pulls per month line graph showing the growth of MegaLinter adoption since the creation of the repository (October 2020), across all images (main + flavors + standalone
megalinter-only-*), all registries (Docker Hub + ghcr.io) and all historical image names (nvuillam/mega-linter,megalinter/megalinter,oxsecurity/megalinter).Where it is displayed
How it works
.automation/docker_pulls_chart.pyrendersdocs/assets/images/docker-pulls-monthly.svg(pure stdlib, hand-written SVG — no new dependency, no network call).automation/generated/docker-pulls-monthly.json:flavors-stats.jsonand appended to the file, so history is never recalculatedbuild.pyright afterupdate_docker_pulls_counter(), so the auto-update workflow refreshes the graph automaticallydocker_stats.pynow also collects download counts of the standalonemegalinter-only-*images (ghcr.io + Docker Hub), included in the stats file and in the README badge total