Skip to content

Commit fa40daf

Browse files
committed
merge main
2 parents 0ccd4a8 + 53a9308 commit fa40daf

35 files changed

+1578
-180
lines changed

.github/workflows/deploy-demo.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Deploy Demo
22

33
on:
44
push:
5-
tags: ["v*.*.*"]
5+
branches: [main]
66
workflow_dispatch:
77

88
jobs:

.github/workflows/deploy-staging.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ name: Deploy Staging
33
on:
44
push:
55
branches: [main]
6-
tags: ["v*.*.*"]
76
workflow_dispatch:
87

98
jobs:

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [3.1.4] - 2025-05-10
11+
12+
### Fixed
13+
- Added better error handling to git operations
14+
15+
## [3.1.3] - 2025-05-07
16+
1017
### Fixed
1118
- Fixes bug with repos not being visible in the homepage carousel when re-indexing. [#294](https://github.com/sourcebot-dev/sourcebot/pull/294)
1219

1320
### Added
1421
- Added special `*` value for `rev:` to allow searching across all branches. [#281](https://github.com/sourcebot-dev/sourcebot/pull/281)
22+
- Added the Sourcebot Model Context Protocol (MCP) server in [packages/mcp](./packages/mcp/README.md) to allow LLMs to interface with Sourcebot. Checkout the npm package [here](https://www.npmjs.com/package/@sourcebot/mcp). [#292](https://github.com/sourcebot-dev/sourcebot/pull/292)
1523

1624
## [3.1.2] - 2025-04-30
1725

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ clean:
2929
packages/crypto/dist \
3030
packages/error/node_modules \
3131
packages/error/dist \
32+
packages/mcp/node_modules \
33+
packages/mcp/dist \
3234
.sourcebot
3335

3436
soft-reset:

demo-site-config.json

Lines changed: 24 additions & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -1,75 +1,49 @@
1+
// This is the config file for https://demo.sourcebot.dev.
2+
// To add a new repository, edit this file and open a PR.
3+
// After the PR is merged, the deploy demo workflow will
4+
// run (see: https://github.com/sourcebot-dev/sourcebot/actions/workflows/deploy-demo.yml),
5+
// after which the changes will be reflected on the demo site.
16
{
2-
"$schema": "./schemas/v2/index.json",
3-
"settings": {
4-
"reindexInterval": 86400000, // 24 hours
5-
"resyncInterval": 86400000 // 24 hours
6-
},
7-
"repos": [
8-
{
7+
"$schema": "https://raw.githubusercontent.com/sourcebot-dev/sourcebot/main/schemas/v3/index.json",
8+
"connections": {
9+
// Defines the GitHub repositories.
10+
// See: https://docs.sourcebot.dev/docs/connections/github
11+
"github-repos": {
912
"type": "github",
1013
"token": {
1114
"env": "GITHUB_TOKEN"
1215
},
13-
"exclude": {
14-
"size": {
15-
"max": 1000000000 // Limit to 1GB
16-
}
17-
},
1816
"repos": [
1917
"torvalds/linux",
20-
"pytorch/pytorch",
18+
"pytorch/pytorch",
2119
"commaai/openpilot",
2220
"ggerganov/whisper.cpp",
2321
"ggerganov/llama.cpp",
2422
"codemirror/dev",
2523
"tailwindlabs/tailwindcss",
2624
"sourcebot-dev/sourcebot",
27-
"freeCodeCamp/freeCodeCamp",
28-
"EbookFoundation/free-programming-books",
2925
"sindresorhus/awesome",
30-
"public-apis/public-apis",
31-
"codecrafters-io/build-your-own-x",
32-
"jwasham/coding-interview-university",
33-
"kamranahmedse/developer-roadmap",
34-
"donnemartin/system-design-primer",
35-
"996icu/996.ICU",
3626
"facebook/react",
3727
"vinta/awesome-python",
3828
"vuejs/vue",
39-
"practical-tutorials/project-based-learning",
40-
"awesome-selfhosted/awesome-selfhosted",
4129
"TheAlgorithms/Python",
42-
"trekhleb/javascript-algorithms",
4330
"tensorflow/tensorflow",
44-
"getify/You-Dont-Know-JS",
45-
"CyC2018/CS-Notes",
46-
"ohmyzsh/ohmyzsh",
47-
"ossu/computer-science",
4831
"twbs/bootstrap",
49-
"Significant-Gravitas/AutoGPT",
5032
"flutter/flutter",
5133
"microsoft/vscode",
5234
"github/gitignore",
53-
"jackfrued/Python-100-Days",
54-
"jlevy/the-art-of-command-line",
55-
"trimstray/the-book-of-secret-knowledge",
56-
"Snailclimb/JavaGuide",
5735
"airbnb/javascript",
5836
"AUTOMATIC1111/stable-diffusion-webui",
5937
"huggingface/transformers",
6038
"avelino/awesome-go",
6139
"ytdl-org/youtube-dl",
6240
"vercel/next.js",
63-
"labuladong/fucking-algorithm",
6441
"golang/go",
65-
"Chalarangelo/30-seconds-of-code",
66-
"yangshun/tech-interview-handbook",
6742
"facebook/react-native",
6843
"electron/electron",
6944
"Genymobile/scrcpy",
7045
"f/awesome-chatgpt-prompts",
7146
"microsoft/PowerToys",
72-
"justjavac/free-programming-books-zh_CN",
7347
"kubernetes/kubernetes",
7448
"d3/d3",
7549
"nodejs/node",
@@ -90,23 +64,13 @@
9064
"mui/material-ui",
9165
"ant-design/ant-design",
9266
"yt-dlp/yt-dlp",
93-
"ryanmcdermott/clean-code-javascript",
94-
"godotengine/godot",
95-
"ripienaar/free-for-dev",
96-
"iluwatar/java-design-patterns",
9767
"puppeteer/puppeteer",
9868
"papers-we-love/papers-we-love",
99-
"PanJiaChen/vue-element-admin",
10069
"iptv-org/iptv",
10170
"fatedier/frp",
10271
"excalidraw/excalidraw",
10372
"tauri-apps/tauri",
104-
"Hack-with-Github/Awesome-Hacking",
105-
"nvbn/thefuck",
106-
"mtdvio/every-programmer-should-know",
107-
"storybookjs/storybook",
10873
"neovim/neovim",
109-
"microsoft/Web-Dev-For-Beginners",
11074
"django/django",
11175
"florinpop17/app-ideas",
11276
"animate-css/animate.css",
@@ -121,13 +85,11 @@
12185
"macrozheng/mall",
12286
"jaywcjlove/awesome-mac",
12387
"tonsky/FiraCode",
124-
"ChatGPTNextWeb/ChatGPT-Next-Web",
12588
"rustdesk/rustdesk",
12689
"tensorflow/models",
12790
"doocs/advanced-java",
12891
"shadcn-ui/ui",
12992
"gohugoio/hugo",
130-
"MisterBooo/LeetCodeAnimation",
13193
"spring-projects/spring-boot",
13294
"supabase/supabase",
13395
"oven-sh/bun",
@@ -138,31 +100,23 @@
138100
"openai/whisper",
139101
"netdata/netdata",
140102
"vuejs/awesome-vue",
141-
"DopplerHQ/awesome-interview-questions",
142103
"3b1b/manim",
143104
"2dust/v2rayN",
144105
"nomic-ai/gpt4all",
145106
"elastic/elasticsearch",
146-
"anuraghazra/github-readme-stats",
147-
"microsoft/ML-For-Beginners",
148-
"MunGell/awesome-for-beginners",
149107
"fighting41love/funNLP",
150108
"vitejs/vite",
151-
"thedaviddias/Front-End-Checklist",
152109
"coder/code-server",
153110
"moby/moby",
154111
"CompVis/stable-diffusion",
155112
"base-org/node",
156113
"nestjs/nest",
157114
"pallets/flask",
158115
"hakimel/reveal.js",
159-
"Anduin2017/HowToCook",
160116
"microsoft/playwright",
161117
"swiftlang/swift",
162-
"Developer-Y/cs-video-courses",
163118
"redis/redis",
164119
"bregman-arie/devops-exercises",
165-
"josephmisiti/awesome-machine-learning",
166120
"binary-husky/gpt_academic",
167121
"junegunn/fzf",
168122
"syncthing/syncthing",
@@ -173,11 +127,9 @@
173127
"microsoft/generative-ai-for-beginners",
174128
"grafana/grafana",
175129
"abi/screenshot-to-code",
176-
"ByteByteGoHq/system-design-101",
177130
"chartjs/Chart.js",
178131
"webpack/webpack",
179132
"d2l-ai/d2l-zh",
180-
"sdmg15/Best-websites-a-programmer-should-visit",
181133
"strapi/strapi",
182134
"python/cpython",
183135
"leonardomso/33-js-concepts",
@@ -187,9 +139,7 @@
187139
"apache/superset",
188140
"tesseract-ocr/tesseract",
189141
"lydiahallie/javascript-questions",
190-
"xtekky/gpt4free",
191142
"FuelLabs/sway",
192-
"twitter/the-algorithm",
193143
"keras-team/keras",
194144
"resume/resume.github.com",
195145
"swisskyrepo/PayloadsAllTheThings",
@@ -214,7 +164,6 @@
214164
"rust-unofficial/awesome-rust",
215165
"streamich/react-use",
216166
"pocketbase/pocketbase",
217-
"serhii-londar/open-source-mac-os-apps",
218167
"lllyasviel/Fooocus",
219168
"k88hudson/git-flight-rules",
220169
"react-hook-form/react-hook-form",
@@ -275,23 +224,20 @@
275224
"eslint/eslint",
276225
"nextauthjs/next-auth",
277226
"flameshot-org/flameshot",
278-
"envoyproxy/envoy"
227+
"envoyproxy/envoy",
228+
"sourcebot-dev/zoekt"
279229
]
280230
},
281-
{
231+
// Defines the GitLab repositories.
232+
// See: https://docs.sourcebot.dev/docs/connections/gitlab
233+
"gitlab-repos": {
282234
"type": "gitlab",
283-
"token": {
284-
"env": "GITLAB_TOKEN"
285-
},
286-
"groups": [
287-
"fdroid"
288-
],
289-
"exclude": {
290-
"projects": [
291-
"fdroid/wiki",
292-
"Matrixcoffee/internal-twif-preview"
293-
]
294-
}
235+
"projects": [
236+
"gnachman/iterm2"
237+
]
295238
}
296-
]
297-
}
239+
},
240+
"settings": {
241+
"reindexIntervalMs": 86400000 // 24 hours
242+
}
243+
}

docs/docs.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@
5555
"pages": [
5656
"docs/more/syntax-reference",
5757
"docs/more/multi-branch-indexing",
58-
"docs/more/roles-and-permissions"
58+
"docs/more/roles-and-permissions",
59+
"docs/more/mcp-server",
60+
"docs/more/search-contexts"
5961
]
6062
}
6163
]
@@ -78,8 +80,7 @@
7880
"self-hosting/more/authentication",
7981
"self-hosting/more/tenancy",
8082
"self-hosting/more/transactional-emails",
81-
"self-hosting/more/declarative-config",
82-
"self-hosting/more/search-contexts"
83+
"self-hosting/more/declarative-config"
8384
]
8485
},
8586
{

0 commit comments

Comments
 (0)