What's Changed
- Added support for local directory indexing in #56.
To index local directories, use the local
type in your config file:
{
"$schema": "https://raw.githubusercontent.com/sourcebot-dev/sourcebot/main/schemas/v2/index.json",
"repos": [
{
"type": "local",
"path": "/path/to/local/repo",
"watch": "true",
"exclude": {
"paths": [
"node_modules",
"build"
]
}
}
]
}
When running in Docker, ensure that the directory is mapped to a volume:
docker run -v /path/to/local/repo:/path/to/local/repo /* additional args */ ghcr.io/sourcebot-dev/sourcebot:latest
Full Changelog: v2.2.0...v2.3.0