Skip to content

feat: repository file freshness system (script + config)#28

Merged
buddingengineers12345 merged 3 commits intofeat/template-logging-bump-copier-tasksfrom
cursor/repo-file-freshness-1cd0
Apr 8, 2026
Merged

feat: repository file freshness system (script + config)#28
buddingengineers12345 merged 3 commits intofeat/template-logging-bump-copier-tasksfrom
cursor/repo-file-freshness-1cd0

Conversation

@buddingengineers12345
Copy link
Copy Markdown
Owner

@buddingengineers12345 buddingengineers12345 commented Apr 8, 2026

Builds the repository file freshness system.

What’s included

  • scripts/repo_file_freshness.py: generates freshness data using Git only (git ls-files + last commit per file).
  • freshness_ignore.json: configurable ignore rules (files/dirs/extensions/globs) → Blue.
  • Generated artifacts:
    • docs/repo_file_status_report.md (dashboard)
    • file_freshness.json (per-file details)
    • freshness_summary.json (counts + badge fields)
  • just freshness to run locally.
  • tests/test_repo_file_freshness.py: ephemeral git repos covering classification + ignore + edge cases.
  • .github/workflows/file-freshness.yml: scheduled + manual workflow that regenerates artifacts and commits/pushes only when changed (no on: push to avoid loops).

CI stability fix (included)

  • Updates tests/test_template.py to use git+file://... template sources instead of . for Copier invocations, avoiding git hardlink clone failures in containerized filesystems.

Notes

  • Repo-wide docs/ is ignored by default in .gitignore; this PR adds an exception for docs/repo_file_status_report.md so the dashboard can be tracked.
Open in Web Open in Cursor 

Co-authored-by: buddingengineers12345 <buddingengineers12345@gmail.com>
Co-authored-by: buddingengineers12345 <buddingengineers12345@gmail.com>
@github-actions github-actions bot added documentation Improvements or additions to documentation ci tests build labels Apr 8, 2026
Co-authored-by: buddingengineers12345 <buddingengineers12345@gmail.com>
@buddingengineers12345 buddingengineers12345 marked this pull request as ready for review April 8, 2026 17:56
@buddingengineers12345 buddingengineers12345 merged commit ab42e91 into feat/template-logging-bump-copier-tasks Apr 8, 2026
1 check passed
@buddingengineers12345 buddingengineers12345 deleted the cursor/repo-file-freshness-1cd0 branch April 8, 2026 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build ci documentation Improvements or additions to documentation scripts tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants