Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

[FR] Allow for restricting searches by org, repo, and branch/tag

未關閉
#547 2 則留言 2 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 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 內容生成。

描述

Feature

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

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

sourcebot-dev/sourcebot 的其他 Issue

查看 sourcebot-dev/sourcebot 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。