Newsletter Cache Refresh
Purpose
Populate .cache/YYYY-MM/ with activity data from the three SCRC repositories.
Inputs
- •Required:
MONTH: YYYY-MM - •Optional:
START_DATE: YYYY-MM-DD - •Optional:
END_DATE: YYYY-MM-DD - •Optional:
OUTPUT_DIR: default .cache
Steps
- •Resolve the date range. Use
START_DATEandEND_DATEif provided, otherwise use the full calendar month forMONTH. - •Run the cache tool:
- •
uv run python tools/newsletter/fetch_activity.py --month YYYY-MM - •If a custom range is needed:
--start-dateand--end-date.
- •
- •Confirm the outputs exist:
- •
.cache/YYYY-MM/summary.json - •
.cache/YYYY-MM/<owner>-<repo>/commits.json - •
.cache/YYYY-MM/<owner>-<repo>/prs.json - •
.cache/YYYY-MM/<owner>-<repo>/issues.json - •
.cache/YYYY-MM/<owner>-<repo>/releases.json
- •
- •Note any missing data or gh authentication errors.
Output
- •Cache folder path and list of generated files.
- •Any errors or missing data.