scripts/readme_updates/README.md
This directory contains automation scripts for updating the main README.md file with release information from the changelog database.
update_readme_features.pyA Python script that generates the "Recent Major Features" section for the README by extracting and filtering release information from the changelog SQLite database.
# Generate the Recent Major Features section with default limit (20 releases)
python scripts/readme_updates/update_readme_features.py
# Specify a custom limit
python scripts/readme_updates/update_readme_features.py --limit 15
# Use a custom database path
python scripts/readme_updates/update_readme_features.py --db /path/to/changelog.db
cmd/generate_changelog/changelog.db (or custom path)versions table for release informationThe script uses keyword-based heuristics to filter releases:
To update the README with new release features:
# Generate the features and save to a temporary file
python scripts/readme_updates/update_readme_features.py --limit 20 > /tmp/recent_features.md
# Manually replace the "### Recent Major Features" section in README.md
# with the generated content
The script expects the following SQLite table structure:
CREATE TABLE versions (
name TEXT PRIMARY KEY,
date DATETIME,
commit_sha TEXT,
pr_numbers TEXT,
ai_summary TEXT,
created_at DATETIME DEFAULT CURRENT_TIMESTAMP
);
The script can parse various date formats:
2025-08-14 14:11:04+00:002025-08-14T14:11:042025-08-1408/14/2025Output format is standardized to: Aug 14, 2025
extract_title_desc() and split_summary() functionsINCLUDE_RE and EXCLUDE_RE patterns as neededPotential improvements for automated README updates: