[Build] Add ASF license headers to config files that allow comments
Los mantenedores suelen responder en 1 día
@Swatantra-66 ya está trabajando en esto.
Desde el 6/10/2026.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 72/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- java, javascript, yaml
- Área
- build-system, tooling
Línea de trabajo
Empieza por los siete archivos de configuración y del plugin Mockito enumerados, y comprueba su contenido actual y el formato estándar de encabezado ASF del repositorio. Añade el encabezado a esos archivos y deja sin cambios los archivos enumerados NOTICE, de terceros, generados y sin comentarios. Ejecuta las pruebas que cargan el inline mock maker para confirmar que se omiten las líneas #.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- Java
- Estrellas
- 4.6k
- Forks
- 470
- Merge medio
- 9 h 28 min
- PR fusionados (30 d)
- 33
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de apache/fory
-
[Python] Compatible xlang read silently drops fields when the peer writes camelCase/PascalCase namesAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día
-
xlang: the snake_case conversion of field names is not specified, and the runtimes do not agreeQuizá libre de nuevo @dhruv-dagar la tomó hace 14 días y no hay ningún pull request abierto. Abiertobug
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
apache/fory#4187 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
[Rust] Add an option to use Rust native enumPosiblemente ocupada @BaldDemian la tomó hace 18 días. Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
apache/fory#4177 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Untyped read collapses a number literal that does not fit a doublePosiblemente ocupada @mohitjoshi-hey la tomó hace 20 días. Abiertobug
Dificultad 3/5 1-2 días Aptitud para principiantes 68/100
apache/fory#4170 · 3 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Registered factory cannot tell a field from the root of the callPosiblemente ocupada @mohitjoshi-hey la tomó hace 17 días. Abiertobug
Dificultad 4/5 1-2 días Aptitud para principiantes 48/100
apache/fory#4169 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de apache/fory
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 3 días
-
A proxy that fails to start logs a RejectedExecutionException stack trace from its shutdown hookAbiertofollow-up
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Sanne/incus-spawn#1953 ·
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
Shweit/EtherealPortals#30 ·
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 70/100
checkstyle/checkstyle#22398 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Typo in jakartaee-bom 12.0.0-SNAPSHOT with cdiPosiblemente ocupada @ElectLive la tomó hoy. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 80/100
jakartaee/jakartaee-api#205 · 1 comentario ·