Proposal: new hook to detect LFS attribute inconsistencies
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
Start by reviewing the proposed check-lfs-attributes implementation at the linked branch, then compare it with the repository's existing hook patterns. Verify both reported cases: tracked files that should be LFS pointers and LFS pointers whose attributes were removed; done means the hook detects each inconsistency reliably.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
There are two common errors when working with LFS:
- Keeping files as general objects after setting LFS attributes (LFS produces a warnings like "Encountered 1 file(s) that should have been pointers, but weren't")
- Keeping LFS pointers after removing the attributes.
Proposed implementation of a check-lfs-attributes hook: https://github.com/klimkin/pre-commit-hooks/tree/feature/check-lfs-attributes
- Ngôn ngữ chính
- Python
- Star
- 6.7k
- Fork
- 800
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
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 pre-commit/pre-commit-hooks
-
Immutable Releases Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 45/100
pre-commit/pre-commit-hooks#1218 · 4 bình luận · 2 reaction ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
pre-commit/pre-commit-hooks#780 · 5 bình luận · 2 reaction ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 48/100
pre-commit/pre-commit-hooks#749 · 1 reaction ·
-
enhancement good-first-issue
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
pre-commit/pre-commit-hooks#612 · 13 bình luận ·
-
Ban unarmored GPG keys Đang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
pre-commit/pre-commit-hooks#339 · 18 bình luận · 2 reaction ·
Tất cả issue của pre-commit/pre-commit-hooks
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
qgis/QGIS-Documentation#11275 ·
-
bug priority:normal ready-for-dev
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
OpenHands/extensions#626 · 1 bình luận ·
-
Change observation tooltip text Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
CSCfi/sd-search-api#39 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
-
please add to porn list Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
StevenBlack/hosts#3255 ·