[FR] Allow for restricting searches by org, repo, and branch/tag
還沒有人認領這個 Issue。
評估
- 難度
- 5/5
- 預估耗時
- 一週以上
- 新手友好度
- 35/100
- Issue 類型
- 功能
- 描述清晰度
- 基本清楚
- 活躍度
- 停滯
- 技術堆疊
- typescript
- 領域
- search
研究方向
The issue does not name files, tests, or an implementation entry point. Start by locating how search requests are handled and how GitLab repositories, organizations, and branches or tags are represented; done means searches can be restricted to each requested scope while preserving relevant source-code results.
由索引模型根據 Issue 內容生成。
描述
I'd like to be able to request source code specific to projects rather than from the entire GitLab instance.
Why?
- May be helpful for engineers onboarding to a team or project. It could help answer questions like "where is function xyz?", "where is this log message coming from?", etc.
- Would be highly useful in agentic workflows that may analyze code or use snippets of code as part of an analysis.
- I'm thinking of a situation where you may have logs you'd like to analyze, and you know which repository or org the logs are generated from. If an agent can analyze the logs and recognize log messages that it may want to search on, narrowing the search to the specific org/repo would ensure the results are relevant, and the search may be a bit quicker.
- Example: Agent recognizes that lines 150–200 in the logs are pertinent to the failure and finds a repeating log message,
ERROR something is wrong..., I want the agent to be able to search for that log message in the source code for additional targeted context rather than cloning the entire repository and flooding the context window with code.
- 主要語言
- TypeScript
- 星號
- 3.9k
- 分支
- 374
- 平均合併
- 21 小時 18 分鐘
- 30 天內合併 PR
- 39
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
sourcebot-dev/sourcebot 的其他 Issue
-
bug triage needed
難度 2/5 1-3 小時 新手友好度 84/100
sourcebot-dev/sourcebot#1681 · 1 則留言 ·
-
難度 2/5 1-3 小時 新手友好度 84/100
sourcebot-dev/sourcebot#1633 ·
-
bug
難度 2/5 1-3 小時 新手友好度 78/100
sourcebot-dev/sourcebot#1384 · 4 則留言 ·
-
ask_sb bug
難度 2/5 1-3 小時 新手友好度 76/100
sourcebot-dev/sourcebot#1137 · 4 則留言 ·
-
bug triage needed
難度 3/5 1-2 天 新手友好度 48/100
sourcebot-dev/sourcebot#1661 · 1 則留言 ·
查看 sourcebot-dev/sourcebot 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 84/100
bcgov/bc-wallet-mobile#4761 · 1 則留言 ·
-
external-issue to-triage
難度 2/5 1-3 小時 新手友好度 88/100
-
area-deployment area-integrations triage:bot-seen
難度 2/5 半天 新手友好度 86/100
-
難度 2/5 1-3 小時 新手友好度 82/100
-
refactor
難度 2/5 1-3 小時 新手友好度 84/100