Releases: sourcebot-dev/sourcebot
Releases · sourcebot-dev/sourcebot
v2.3.0
What's Changed
- Added support for local directory indexing in #56.
To index local directories, use the local
type in your config file:
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
v2.2.0
What's Changed
- Added a simple filtering panel to filter results by repository or language #48

- Improved rendering performance for large number of results #52
- All nested GitLab subgroups for a given
group
are now included #54
Full Changelog: v2.1.1...v2.2.0
v2.1.1
What's Changed
- Fixed issue with GitLab projects that are not owned but still visible by the provided
token
not being synchronized. (#51)
Full Changelog: v2.1.0...v2.1.1
v2.1.0
What's Changed
Added Gitea support in #45 for both Gitea Cloud and self-hosted Gitea instances. To get started using Gitea, use the gitea
type in your config.json:
{
"$schema": "https://raw.githubusercontent.com/sourcebot-dev/sourcebot/main/schemas/v2/index.json",
"repos": [
{
"type": "gitea",
// note: url only necessary for self-hosted instances
"url": "https://gitea.example.com",
// Index individual repos
"repos": [
"my_org/repo1"
],
// Index all repos in a org
"orgs": [
"my_org"
],
// Index all repos owned by a user
"users": [
"my_user"
],
// Exclude repos
"exclude": {
"forks": true,
"archived": true,
"repos": {
"my_org/repo2"
}
}
}
]
}
Full Changelog: v2.0.2...v2.1.0
v2.0.2
v2.0.1
Sourcebot v2.0.0
What's Changed
We've overhauled the config schema to make things more readable. Some examples:
// Single-line comments are now supported, as well as...
/*
...multi-line comments!
*/
{
"$schema": "https://raw.githubusercontent.com/sourcebot-dev/sourcebot/main/schemas/v2/index.json",
"repos": [
// For GitHub, you can include users, orgs, or individual repos
{
"type": "github",
"users": [
"torvalds"
],
"orgs": [
"commaai"
],
"repos": [
"sourcebot-dev/sourcebot"
]
},
// For GitLab, you can include users, groups (& sub-groups), or individual projects
{
"type": "gitlab",
"users": [
"my-user"
],
"groups": [
"my-group",
"my-other-group/sub-group"
],
"projects": [
"my-group/project1"
]
},
// You can exclude repos with the `exclude` property
{
"type": "github",
"orgs": [
"my-org"
],
"exclude": {
"archived": true,
"forks": true,
"repos": [
"my-org/repo1",
"my-org/repo2"
]
}
},
// You can authenticate with the `token` property
{
"type": "github",
"token": "ghp_token1234",
"orgs": [
"my-private-org"
]
},
// You can also pass tokens as environment variables
{
"type": "github",
"token": {
"env": "GITHUB_TOKEN_ENV_VAR"
},
"orgs": [
"my-private-org"
]
},
// Self-hosted instances can be used with the `url` property
{
"type": "gitlab",
"url": "https://gitlab.example.com",
"groups": [
"my-group"
]
}
]
}
For more examples, see the configs directory. You can also checkout the v2 schema here.
Full Changelog: v1.0.3...v2.0.0