mirror of
https://github.com/veggiemonk/awesome-docker.git
synced 2026-07-11 04:22:31 -05:00
[PR #1441] [MERGED] feat: add prune subcommand, drop archived/stale entries #27723
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/veggiemonk/awesome-docker/pull/1441
Author: @veggiemonk
Created: 5/18/2026
Status: ✅ Merged
Merged: 5/18/2026
Merged by: @veggiemonk
Base:
master← Head:feat/prune-stale-archived📝 Commits (3)
20a9090feat: add prune subcommand, drop archived/stale entries, add container-explorer5931fe9golangci-lint config3c878d7fix: address golangci-lint findings📊 Changes
23 files changed (+2444 additions, -2699 deletions)
View changed files
➕
.golangci.yml(+74 -0)📝
README.md(+3 -5)📝
cmd/awesome-docker/main.go(+199 -24)📝
config/health_cache.yaml(+1607 -2530)📝
go.mod(+3 -3)📝
go.sum(+4 -0)📝
internal/builder/builder.go(+7 -2)📝
internal/cache/cache.go(+15 -13)📝
internal/checker/github.go(+8 -10)📝
internal/checker/github_test.go(+8 -1)📝
internal/checker/http.go(+3 -3)📝
internal/linter/fixer.go(+21 -7)📝
internal/linter/rules.go(+6 -2)📝
internal/parser/parser_test.go(+5 -1)📝
internal/parser/types.go(+3 -3)➕
internal/pruner/pruner.go(+221 -0)➕
internal/pruner/pruner_test.go(+173 -0)📝
internal/scorer/scorer.go(+13 -10)📝
internal/scorer/scorer_test.go(+11 -4)📝
internal/tui/model.go(+43 -73)...and 3 more files
📄 Description
Add a new
awesome-docker prunesubcommand that removes README entries whose repository health status matches a configurable set (default: archived,stale). URLs are read from the local health cache, or from a markdown report file via --from-report when the cache is outdated.Apply it against the issue #1439 health report to remove 5 entries that survived the recent reorg: stitchocker, docker-consul, blockbridge-docker-volume, docker-explorer, dockdash.
Add google/container-explorer in the Security section as the actively maintained successor to the now-archived google/docker-explorer.
IF THE PROJECT JUST RUNS IN DOCKER, AUTOMATICALLY DENIED
Write the sentence: "This project exists to ____."
If the blank doesn't contain Docker, container, image, registry, Dockerfile, Compose, Swarm, BuildKit, or OCI, it probably doesn't belong here.
What changed and why:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.