Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#547 2 bình luận 2 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
typescript
Lĩnh vực
search

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.
Ngôn ngữ chính
TypeScript
Star
3.9k
Fork
374
Merge trung bình
21 giờ 18 phút
Pull request đã merge (30 ngày)
39

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của sourcebot-dev/sourcebot

Tất cả issue của sourcebot-dev/sourcebot

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.