Skip to content

Commit fb380a8

Browse files
authored
Merge branch 'main' into feature/gerrit-authentication
2 parents 2ca5591 + 9b13492 commit fb380a8

File tree

27 files changed

+62
-51
lines changed

27 files changed

+62
-51
lines changed

CHANGELOG.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [Unreleased]
9+
10+
### Changed
11+
- Fixed typos in UI, docs, code [#369](https://github.com/sourcebot-dev/sourcebot/pull/369)
12+
813
## [4.5.1] - 2025-07-14
914

1015
### Changed
@@ -234,7 +239,7 @@ Sourcebot v3 is here and brings a number of structural changes to the tool's fou
234239

235240
### Added
236241

237-
- Added `maxTrigramCount` to the config to control the maximum allowable of trigrams per document.
242+
- Added `maxTrigramCount` to the config to control the maximum allowable of trigrams per document.
238243

239244
### Fixed
240245

@@ -292,7 +297,7 @@ Sourcebot v3 is here and brings a number of structural changes to the tool's fou
292297
- Added config option `settings.maxFileSize` to control the maximum file size zoekt will index. ([#118](https://github.com/sourcebot-dev/sourcebot/pull/118))
293298

294299
### Fixed
295-
300+
296301
- Fixed syntax highlighting for zoekt query language. ([#115](https://github.com/sourcebot-dev/sourcebot/pull/115))
297302
- Fixed issue with Gerrit repo fetching not paginating. ([#114](https://github.com/sourcebot-dev/sourcebot/pull/114))
298303
- Fixed visual issues with filter panel. ([#105](https://github.com/sourcebot-dev/sourcebot/pull/105))
@@ -344,13 +349,13 @@ Sourcebot v3 is here and brings a number of structural changes to the tool's fou
344349
### Added
345350

346351
- Added `DOMAIN_SUB_PATH` environment variable to allow overriding the default domain subpath. ([#74](https://github.com/sourcebot-dev/sourcebot/pull/74))
347-
- Added option `all` to the GitLab index schema, allowing for indexing all projects in a self-hosted GitLab instance. ([#84](https://github.com/sourcebot-dev/sourcebot/pull/84))
352+
- Added option `all` to the GitLab index schema, allowing for indexing all projects in a self-hosted GitLab instance. ([#84](https://github.com/sourcebot-dev/sourcebot/pull/84))
348353

349354
## [2.4.3] - 2024-11-18
350355

351356
### Changed
352357

353-
- Bumped NodeJS version to v20. ([#78](https://github.com/sourcebot-dev/sourcebot/pull/78))
358+
- Bumped NodeJS version to v20. ([#78](https://github.com/sourcebot-dev/sourcebot/pull/78))
354359

355360
## [2.4.2] - 2024-11-14
356361

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838

3939
6. Create a copy of `.env.development` and name it `.env.development.local`. Update the required environment variables.
4040

41-
7. If you're using a declerative configuration file, create a configuration file and update the `CONFIG_PATH` environment variable in your `.env.development.local` file.
41+
7. If you're using a declarative configuration file, create a configuration file and update the `CONFIG_PATH` environment variable in your `.env.development.local` file.
4242
4343
8. Start Sourcebot with the command:
4444
```sh

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ yarn:
1010
zoekt:
1111
mkdir -p bin
1212
go build -C vendor/zoekt -o $(PWD)/bin ./cmd/...
13-
export PATH=$(PWD)/bin:$(PATH)
13+
export PATH="$(PWD)/bin:$(PATH)"
1414
export CTAGS_COMMANDS=ctags
1515

1616
clean:

_typos.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[default.extend-words]
2+
# Don't correct the surname "Do Not Exists"
3+
dne = "dne"
4+
5+
[files]
6+
extend-exclude = ["vendor/**/*", "CHANGELOG.md", "packages/web/src/lib/languageMetadata.ts"]

docs/docs/connections/local-repos.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ To get Sourcebot to index these repositories:
2727

2828
<Steps>
2929
<Step title="Mount a volume">
30-
We need to mount a docker volume to the `repos` directory so Sourcebot can read it's contents. Sourcebot will **not** write to local repositories, so we can mount a seperate **read-only** volume:
30+
We need to mount a docker volume to the `repos` directory so Sourcebot can read it's contents. Sourcebot will **not** write to local repositories, so we can mount a separate **read-only** volume:
3131

3232
``` bash
3333
docker run \

docs/snippets/schemas/v2/index.schema.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -685,7 +685,7 @@
685685
"type": "string",
686686
"pattern": ".+"
687687
},
688-
"description": "List of paths relative to the provided `path` to exclude from the index. .git, .hg, and .svn are always exluded.",
688+
"description": "List of paths relative to the provided `path` to exclude from the index. .git, .hg, and .svn are always excluded.",
689689
"default": [],
690690
"examples": [
691691
[
@@ -1387,7 +1387,7 @@
13871387
"type": "string",
13881388
"pattern": ".+"
13891389
},
1390-
"description": "List of paths relative to the provided `path` to exclude from the index. .git, .hg, and .svn are always exluded.",
1390+
"description": "List of paths relative to the provided `path` to exclude from the index. .git, .hg, and .svn are always excluded.",
13911391
"default": [],
13921392
"examples": [
13931393
[
@@ -2171,7 +2171,7 @@
21712171
"type": "string",
21722172
"pattern": ".+"
21732173
},
2174-
"description": "List of paths relative to the provided `path` to exclude from the index. .git, .hg, and .svn are always exluded.",
2174+
"description": "List of paths relative to the provided `path` to exclude from the index. .git, .hg, and .svn are always excluded.",
21752175
"default": [],
21762176
"examples": [
21772177
[

packages/backend/src/repoCompileUtils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ export const compileBitbucketConfig = async (
381381
throw new Error(`No links found for ${isServer ? 'server' : 'cloud'} repo ${repoName}`);
382382
}
383383

384-
// In server case we get an array of lenth == 1 links in the self field, while in cloud case we get a single
384+
// In server case we get an array of length == 1 links in the self field, while in cloud case we get a single
385385
// link object in the html field
386386
const link = isServer ? (repoLinks.self as { name: string, href: string }[])?.[0] : repoLinks.html as { href: string };
387387
if (!link || !link.href) {

packages/backend/src/repoManager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ export class RepoManager implements IRepoManager {
174174
// We can no longer use repo.cloneUrl directly since it doesn't contain the token for security reasons. As a result, we need to
175175
// fetch the token here using the connections from the repo. Multiple connections could be referencing this repo, and each
176176
// may have their own token. This method will just pick the first connection that has a token (if one exists) and uses that. This
177-
// may technically cause syncing to fail if that connection's token just so happens to not have access to the repo it's referrencing.
177+
// may technically cause syncing to fail if that connection's token just so happens to not have access to the repo it's referencing.
178178
private async getCloneCredentialsForRepo(repo: RepoWithConnections, db: PrismaClient): Promise<{ username?: string, password: string } | undefined> {
179179

180180
for (const { connection } of repo.connections) {

packages/mcp/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ The Sourcebot MCP server gives your LLM agents the ability to fetch code context
1919

2020
- Building custom LLM horizontal agents like like compliance auditing agents, migration agents, etc.
2121
- _"Find all instances of hardcoded credentials"_
22-
- _"Identify repositories that depend on this depreacted api"_
22+
- _"Identify repositories that depend on this deprecated api"_
2323

2424

2525
## Getting Started

packages/schemas/src/v2/index.schema.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -684,7 +684,7 @@ const schema = {
684684
"type": "string",
685685
"pattern": ".+"
686686
},
687-
"description": "List of paths relative to the provided `path` to exclude from the index. .git, .hg, and .svn are always exluded.",
687+
"description": "List of paths relative to the provided `path` to exclude from the index. .git, .hg, and .svn are always excluded.",
688688
"default": [],
689689
"examples": [
690690
[
@@ -1386,7 +1386,7 @@ const schema = {
13861386
"type": "string",
13871387
"pattern": ".+"
13881388
},
1389-
"description": "List of paths relative to the provided `path` to exclude from the index. .git, .hg, and .svn are always exluded.",
1389+
"description": "List of paths relative to the provided `path` to exclude from the index. .git, .hg, and .svn are always excluded.",
13901390
"default": [],
13911391
"examples": [
13921392
[
@@ -2170,7 +2170,7 @@ const schema = {
21702170
"type": "string",
21712171
"pattern": ".+"
21722172
},
2173-
"description": "List of paths relative to the provided `path` to exclude from the index. .git, .hg, and .svn are always exluded.",
2173+
"description": "List of paths relative to the provided `path` to exclude from the index. .git, .hg, and .svn are always excluded.",
21742174
"default": [],
21752175
"examples": [
21762176
[
@@ -2258,4 +2258,4 @@ const schema = {
22582258
},
22592259
"additionalProperties": false
22602260
} as const;
2261-
export { schema as indexSchema };
2261+
export { schema as indexSchema };

0 commit comments

Comments
 (0)