34 lines
831 B
Markdown
34 lines
831 B
Markdown
# AOC Sync
|
|
|
|
A tool to poll multiple git repositories containing Advent of Code implementations and generate performance comparison reports.
|
|
|
|
## Building the Podman Image
|
|
|
|
The default configuration uses a custom Podman image (`aocsync:latest`) that has `cargo-aoc` pre-installed for faster execution.
|
|
|
|
To build the image:
|
|
|
|
```bash
|
|
podman build -t aocsync:latest -f Dockerfile .
|
|
```
|
|
|
|
Alternatively, you can use the `rust:latest` image, but it will install `cargo-aoc` on each run (slower).
|
|
|
|
## Configuration
|
|
|
|
See `config.yaml` for configuration options, including:
|
|
- Repository URLs and paths
|
|
- Docker/Podman container settings
|
|
- Build and registry cache directories
|
|
- Resource limits
|
|
|
|
## Usage
|
|
|
|
```bash
|
|
# Run sync (only processes changed repositories)
|
|
python3 aocsync.py
|
|
|
|
# Force rerun all benchmarks
|
|
python3 aocsync.py --force
|
|
```
|