Extension fields (`x-*`) for cabal.project
Maintainer thường phản hồi trong vòng 3 ngày
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
- 45/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- haskell
- Lĩnh vực
- build-system
Hướng nghiên cứu
Start by reading the project-file parsing code and the existing .cabal extension-field support referenced by the issue. Check how top-level fields and stanza fields are parsed and reported, then define behavior for x-* fields in both locations. Done means both examples parse without unknown-field warnings and existing project-file parsing still works.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Describe the feature request
.cabal files already support extension fields. The feature could be extended to cabal.project and its stanzas.
Currently cabal emits a warning. Top level:
Warnings found while parsing the project file, cabal.project:
- cabal.project: Unrecognized field 'x-foo' on line 10
Inside a stanza:
Warnings found while parsing the project file, cabal.project:
- cabal.project: ???:10:0: Unknown field: "x-foo"
Additional context
We have a tool that modifies cabal.project files and it'd be nice if we could specify directives for it next to the piece of data it affects.
Related issues:
- Ngôn ngữ chính
- Haskell
- Star
- 1.8k
- Fork
- 766
- Merge trung bình
- 5 ngày 21 giờ
- Pull request đã merge (30 ngày)
- 27
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- 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 haskell/cabal
-
needs triage type: enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 3 ngày
-
needs triage type: bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
haskell/cabal#12568 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 3 ngày
-
needs triage type: bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
haskell/cabal#12525 · 3 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Required version of `cabal-install` to build CabalCó thể đã có người làm @philderbeast đã nhận 24 ngày trước. Đang mởdocumentation type: discussion
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
haskell/cabal#12477 · 2 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Document which are our LTS releasesCó thể đã có người làm @KeuqS đã nhận 41 ngày trước. Đang mởdocumentation type: discussion
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
haskell/cabal#12373 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 3 ngày
Tất cả issue của haskell/cabal
Issue tương tự
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
alunduil/siren-json.hs#322 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Dead link in readmeĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
commercialhaskell/rio#287 ·
-
wide-word-0.2Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
commercialhaskell/stackage#8181 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug desktop
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
simplex-chat/simplex-chat#8291 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[BUG]: C# programs with top-level statements fail to compileCó thể đã có người làm @AsyncNigam đã nhận hôm nay. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
compiler-explorer/compiler-explorer#9625 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày