arc build
--repo
, -r TEXT
: Path to the Git repository (default: current directory).--output
, -o TEXT
: Path to the output database file (default: ~/.arc/graph.db).--max-commits INTEGER
: Maximum number of commits to process (default: 5000).--days INTEGER
: Maximum age of commits to process in days (default: 365).--incremental
: Only process new data since last build (default: False).--pull
: Pull the latest CI-built graph (not implemented yet).--token TEXT
: GitHub token to use for API calls.--debug
: Enable debug logging.ingest
method with appropriate parametersRepository Size | Commits | PRs/Issues | Estimated Full Build Time | Incremental Build Time |
---|---|---|---|---|
Small | <500 | <100 | 10-30 seconds | <1 second |
Medium | 500-5000 | 100-1000 | 1-5 minutes | 1-3 seconds |
Large | 5000+ | 1000+ | 5-15 minutes | 3-10 seconds |
Very Large | 10000+ | 5000+ | 15-60 minutes | 10-30 seconds |
--incremental
for faster updates--max-commits
and --days
to limit the data processed--max-commits
and --days
options to limit the amount of data processed.--debug
flag to see detailed logs: arc build --debug