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

Customizable URL template

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

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

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
45/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

Start with the linked gitindex/index.go lines 146-151 and then locate the corresponding GitLab URL generation in Sourcebot. Confirm how self-hosted GitLab links are currently formed; done means users can configure the generated GitLab URL template, including the /-/ path segment.

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

Mô tả

The official gitlab have a short dash link in the middle of the project name and the file path like this /-/:
https://gitlab.com/<user>/<project>/-/blob/<branch>/<filepath>/filename
But the self hosted GitLab doesn't have this behavior like this.
https://<self.gitlab.endpoint>/<user>/<project>/blob/<branch>/<filepath>/filename
How to disable this behavior?

https://github.com/sourcegraph/zoekt/blob/dc1b23bb0da9a0fa91056ad6d5fcf9b8e641f67d/gitindex/index.go#L146-L151

It would be nice if users can customize the git index URL templates.

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.