build: a default-profile build adds a second license header to the database and monitoring shell index.html (header sits after <!doctype html>)
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 78/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- java
- Área
- build-system
Línea de trabajo
Lee los dos archivos index.html indicados y encuentra la configuración de formato de licencia para license-maven-plugin y format-license. Ejecuta mvn -pl components/resources/resources-database,components/resources/resources-monitoring initialize para reproducir los archivos modificados. La tarea está terminada cuando la ubicación elegida para el encabezado o la exclusión hace que ambos archivos permanezcan sin cambios después de esa compilación.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
What: a build without -P quick-build (license plugin active) modifies two tracked files:
components/resources/resources-database/src/main/resources/META-INF/dirigible/database/index.htmlcomponents/resources/resources-monitoring/src/main/resources/META-INF/dirigible/monitoring/index.html
Both start with <!doctype html> and carry their copyright comment (in a short custom form) after it. license-maven-plugin:format (format-license, phase initialize, skipExistingHeaders=true) does not recognise that as a header and inserts its full 13-line header above the doctype, so every default build leaves both files dirty.
Verified: on origin/master 9f60b659f2, in a real clone (not a worktree): mvn -pl components/resources/resources-database,components/resources/resources-monitoring initialize -> Updating license header in: .../index.html for both, git status shows both modified. -P quick-build sets license.skip, so CI builds do not see it. Two other src/main html files start with a doctype (application-core/.../shell/views/capture.html, resources-karavan-libs/.../designer/index.html), but the same run left them unchanged.
Expected: a build of an unchanged tree leaves these files unchanged: either put the standard header before the doctype (what the plugin would write, so it is recognised next time), or exclude the two files from license formatting.
Found while working on #8754 (generated files that a build rewrites); left out of that PR because these are hand-written shell pages, not generator output.
- Lenguaje dominante
- Java
- Estrellas
- 278
- Forks
- 97
- Merge medio
- 15 h 3 min
- PR fusionados (30 d)
- 320
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 eclipse-dirigible/dirigible
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
eclipse-dirigible/dirigible#8877 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
eclipse-dirigible/dirigible#8838 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
eclipse-dirigible/dirigible#8548 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
eclipse-dirigible/dirigible#8354 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
eclipse-dirigible/dirigible#8240 ·
Los mantenedores suelen responder en 1 día
Todos los issues de eclipse-dirigible/dirigible
Issues similares
-
needs-area-label
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
Handle TSP error code 212Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
-
bug module: hybrid priority: high
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
bancolombia/bin-stash#92 ·
-
Pub/Sub nackSplit drops other splits' empty checkpoint entries and lowers pendingCheckpointsAbiertobug module:pubsub priority:P3
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
flink-gcp/flink-connector-gcp#2325 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día