[PR #1441] [MERGED] feat: add prune subcommand, drop archived/stale entries #19950

Closed
opened 2026-06-03 19:13:24 -05:00 by GiteaMirror · 0 comments
Owner

📋 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: masterHead: feat/prune-stale-archived


📝 Commits (3)

  • 20a9090 feat: add prune subcommand, drop archived/stale entries, add container-explorer
  • 5931fe9 golangci-lint config
  • 3c878d7 fix: 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 prune subcommand 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

  • I HAVE READ .github/CONTRIBUTING.md

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.

## 📋 Pull Request Information **Original PR:** https://github.com/veggiemonk/awesome-docker/pull/1441 **Author:** [@veggiemonk](https://github.com/veggiemonk) **Created:** 5/18/2026 **Status:** ✅ Merged **Merged:** 5/18/2026 **Merged by:** [@veggiemonk](https://github.com/veggiemonk) **Base:** `master` ← **Head:** `feat/prune-stale-archived` --- ### 📝 Commits (3) - [`20a9090`](https://github.com/veggiemonk/awesome-docker/commit/20a90901297c0e9804144bc22b4c73568a40011a) feat: add prune subcommand, drop archived/stale entries, add container-explorer - [`5931fe9`](https://github.com/veggiemonk/awesome-docker/commit/5931fe9c94a3f6f77f63dad85c4f74abe82d28ab) golangci-lint config - [`3c878d7`](https://github.com/veggiemonk/awesome-docker/commit/3c878d72ebb7864cf433f349939c77b37ccfb5fe) fix: address golangci-lint findings ### 📊 Changes **23 files changed** (+2444 additions, -2699 deletions) <details> <summary>View changed files</summary> ➕ `.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_ </details> ### 📄 Description Add a new `awesome-docker prune` subcommand 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 - [x] I HAVE READ .github/CONTRIBUTING.md 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: --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-06-03 19:13:24 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/awesome-docker#19950