[Build] Add ASF license headers to config files that allow comments
Maintainer thường phản hồi trong vòng 1 ngày
@Swatantra-66 đang làm issue này rồi.
Từ ngày 6/10/2026.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 72/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- java, javascript, yaml
- Lĩnh vực
- build-system, tooling
Hướng nghiên cứu
Bắt đầu với bảy tệp cấu hình và plugin Mockito được liệt kê, kiểm tra nội dung hiện có của chúng và định dạng header ASF tiêu chuẩn của repository. Thêm header vào các tệp đó và giữ nguyên các tệp NOTICE, bên thứ ba, được tạo tự động và không có comment đã liệt kê. Chạy các bài kiểm thử tải inline mock maker để xác nhận rằng các dòng # được bỏ qua.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Feature Request
Some files in the repo have no ASF license header, even though their formats allow # comments. korandoru/hawkeye doesn't flag them in CI because it has no comment-style mapping for these files. It lists them as "unknown files" and skips them. This came up while verifying the 1.7.7-rc1 source release.
Files that could have the standard ASF header added (checked against main):
.yamllint.prettierignorejavascript/.prettierignorejavascript/.npmrc.github/CODEOWNERSjava/fory-core/src/test/resources/mockito-extensions/org.mockito.plugins.MockMakerjava/fory-latest-jdk-tests/src/test/resources/mockito-extensions/org.mockito.plugins.MockMaker
ASF policy does not require headers on trivial config files like these, so this is a consistency improvement, not a release blocker. Mockito skips # lines in plugin files, but the tests that load the inline mock maker should be run after the change to confirm it.
Files that should stay without an ASF header
For reference, the other unheaded files that hawkeye skips fall into these groups:
- NOTICE files (
NOTICE,dart/packages/fory/NOTICE,java/*/src/main/resources/META-INF/NOTICE) - Third-party code that keeps its original header (
bazel/cython_library.bzl, which LICENSE lists) - Formats without comment syntax:
javascript/.prettierrc,swift/.swift-format(both JSON),swift/Package.resolved(generated by SwiftPM), and.bazelversion(read as a bare version string)
Is your feature request related to a problem? Please describe
Not a problem as such. Adding headers where the format allows makes header coverage consistent.
- Ngôn ngữ chính
- Java
- Star
- 4.6k
- Fork
- 470
- Merge trung bình
- 9 giờ 28 phút
- Pull request đã merge (30 ngày)
- 33
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 apache/fory
-
[Python] Compatible xlang read silently drops fields when the peer writes camelCase/PascalCase namesĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 1 ngày
-
xlang: the snake_case conversion of field names is not specified, and the runtimes do not agreeCó thể làm lại được @dhruv-dagar đã nhận 14 ngày trước và không có pull request nào đang mở. Đang mởbug
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
apache/fory#4187 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Rust] Add an option to use Rust native enumCó thể đã có người làm @BaldDemian đã nhận 18 ngày trước. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
apache/fory#4177 · 1 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Untyped read collapses a number literal that does not fit a doubleCó thể đã có người làm @mohitjoshi-hey đã nhận 20 ngày trước. Đang mởbug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
apache/fory#4170 · 3 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Registered factory cannot tell a field from the root of the callCó thể đã có người làm @mohitjoshi-hey đã nhận 17 ngày trước. Đang mởbug
Độ khó 4/5 1-2 ngày Mức phù hợp với người mới 48/100
apache/fory#4169 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Issue tương tự
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
Shweit/EtherealPortals#30 ·
-
Typo in jakartaee-bom 12.0.0-SNAPSHOT with cdiCó thể đã có người làm @ElectLive đã nhận hôm nay. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 80/100
jakartaee/jakartaee-api#205 · 1 bình luận ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
liberation-data/drivine4j#547 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
BindingServiceProperties.bindings regressed to a non-thread-safe TreeMap in GH-3158: concurrent first use of binding names corrupts itCó thể đã có người làm @AkashB23 đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
spring-cloud/spring-cloud-stream#3321 ·
Maintainer thường phản hồi trong vòng 1 ngày