As a git hook, the tracker cannot match files on worktrees due to mismatched path prefixes
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
- 67/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- git, react, typescript
Hướng nghiên cứu
Start by reading getGitPrefix and stage, then trace the git calls they make when invoked as a hook in a worktree. Check how filtered paths lead to the “No files to check” message, and review the integration examples if relevant. Done means the hook handles worktree paths, warns when all supplied paths are filtered out, and standalone and CI behavior remains intact.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
As git sets GIT_DIR for hooks in worktrees (e.g. GIT_DIR=.git/worktrees/<name>), this causes the tracker to not match any files, resulting in never catching anything.
It still works when run standalone or in CI, but we need to improve this. This means:
- Run its git calls in
getGitPrefix(and instage) withoutGIT_DIRandGIT_WORK_TREE. It should warn when every path it was given gets filtered out, instead of printing "No files to check". - Update integration examples, if necesseary
- Ngôn ngữ chính
- TypeScript
- Star
- 2
- Fork
- 0
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Doist/react-compiler-tracker
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
Doist/react-compiler-tracker#105 ·
-
Dependency DashboardĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 15/100
-
Add Ubicloud Managed Runners appCó thể làm lại được @frankieyan đã nhận 315 ngày trước và không có pull request nào đang mở. Đang mở
Doist/react-compiler-tracker#3 · 1 người được giao ·
Tất cả issue của Doist/react-compiler-tracker
Issue tương tự
-
dream report: normalizeMutation discards ok/status, consumers can only string-match the summaryĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
thecodacus/understory#61 ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Termix-SSH/Plugin-Hosts-Config#14 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 4 ngày
-
ai-generated priority: p2 size: s type: bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
JonathanTSilva/jts-website#92 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Toast announcer reads a doubled period when a toast's title ends in punctuationCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
vercel-labs/ui#999 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
ehmpathy/rhachet-roles-ehmpathy#1443 ·
Maintainer thường phản hồi trong vòng 1 ngày