Skip to content

docs: plugin READMEs + foo-scrape cache-by-default with shared FOO_CACHE#10

Open
jadb wants to merge 4 commits into
mainfrom
docs-foo-youtube-readme
Open

docs: plugin READMEs + foo-scrape cache-by-default with shared FOO_CACHE#10
jadb wants to merge 4 commits into
mainfrom
docs-foo-youtube-readme

Conversation

@jadb

@jadb jadb commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

No description provided.

jadb added 3 commits June 19, 2026 06:28
regroup foo-youtube docs in cmd/foo-youtube/README.md.
verified against main.go: flags + --no-* negation, 0/1/2/5 exit
codes, ext-info contract, bus events + env vars. links shared
plugin docs, no content duplication.
foo-scrape caching now on by default (was opt-in) with --no-cache to
bypass, matching foo-youtube. FOO_SCRAPE_CACHE/_TTL become overrides,
not the on/off switch.

both plugins now resolve cache path + TTL with precedence:
plugin-specific env -> shared FOO_CACHE/FOO_CACHE_TTL -> XDG/24h default.
shared env lets one setting cover every foo plugin; each keeps a
distinct db file.
new cmd/foo-scrape/README.md (consolidated plugin doc, links shared
docs). update cmd/foo-youtube/README.md caching section for the shared
FOO_CACHE/FOO_CACHE_TTL precedence + --no-cache.
Copilot AI review requested due to automatic review settings June 19, 2026 10:38

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

resolveCachePath/resolveCacheTTL tests for foo-scrape (new test file)
and foo-youtube: plugin-specific env > shared FOO_CACHE/FOO_CACHE_TTL >
XDG/24h default, plus blank/unparseable fallthrough and zero-TTL.
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.

2 participants