feat: skip already-indexed revisions, add --force flag

When indexing a revision that already exists, the indexer now returns
early with information about the existing revision instead of re-indexing.
Use the --force flag to re-index an existing revision.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-02-03 18:59:44 +01:00
parent ae6a4d6cf9
commit 730f2d7610
4 changed files with 61 additions and 14 deletions

View File

@@ -1,9 +1,5 @@
# TODO - Future Improvements
## Quick Wins
- [ ] Check if revision exists before indexing (skip or require `--force`)
## Usability
- [ ] Progress reporting during indexing ("Fetching nixpkgs... Parsing options... Indexing files...")