Top-level LICENSE says Gradle wrapper v5.5, but the gradlew scripts are from Gradle 6.9.1
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
- 85/100
- Tipo de issue
- Documentación
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Área
- build-system, documentation
Línea de trabajo
Comienza con el LICENSE de nivel superior y compara su entrada del Gradle wrapper con build/openwhisk/gradle/wrapper/gradle-wrapper.properties y build/Taskfile.yml, que identifican la versión 6.9.1. Actualiza las referencias obsoletas a v5.5 en las copias de LICENSE y NOTICE indicadas; después, busca texto restante del wrapper v5.5 y verifica que cada descripción coincida con los archivos presentes.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
The top-level LICENSE (line 229 in the 0.9.0-incubating-RC7 source release) says:
Gradle wrapper v5.5
The files build/openwhisk/gradlew and build/openwhisk/gradlew.bat are
distributed under the Apache License, Version 2.0. For details see those
files.
The shipped gradlew and gradlew.bat are not from Gradle 5.5. They are the wrapper scripts from Gradle 6.9.x (6.9.1).
Evidence
build/openwhisk/gradlewis byte-identical to upstream Apache OpenWhisk'sgradlewas of commitf29981a2f"Bumping to gradle 6" (2022-07-28).gradlew.batis identical to that commit's too, apart from CRLF line endings. That commit set the wrapper togradle-6.9.1-bin.zip.- The Gradle 5.5 scripts are different. OpenWhisk's scripts from
d9de97d6e"Update Gradle to 5.5 version" (2019), which match Gradle's ownv5.5.0scripts, do not match what we ship. - Compared with the
gradlewin Gradle's own repository atv6.9.1, ours differs only inDEFAULT_JVM_OPTS: Gradle's own build adds-Dfile.encoding=UTF-8, which is project-specific. - The rest of the build agrees:
build/openwhisk/gradle/wrapper/gradle-wrapper.propertiesusesgradle-6.9.1-bin.zip, andbuild/Taskfile.ymldownloads the 6.9.1gradle-wrapper.jar.
The "v5.5" text was inherited from upstream OpenWhisk's LICENSE.txt, which was not updated when OpenWhisk moved to Gradle 6.
Suggested fix
Change the top-level LICENSE entry to Gradle 6.9.1, e.g.:
Gradle wrapper v6.9.1
The files build/openwhisk/gradlew and build/openwhisk/gradlew.bat are
distributed under the Apache License, Version 2.0. For details see those
files.
The same "v5.5" text also appears in build/LICENSE, build/NOTICE, oplugins-op/LICENSE and build/openwhisk/LICENSE.txt. That is another example of the subdirectory copies drifting (#268). oplugins-op/LICENSE is also wrong in a second way: oplugins-op contains no gradlew at all.
Related: #268.
- Lenguaje dominante
- Python
- Estrellas
- 576
- Forks
- 29
- Merge medio
- 3 h 26 min
- PR fusionados (30 d)
- 12
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/openserverless
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
apache/openserverless#267 ·
Los mantenedores suelen responder en 1 día
-
ExecManifest.scala copies the docker/distribution image-reference grammar without attributionAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
apache/openserverless#266 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
apache/openserverless#265 ·
Los mantenedores suelen responder en 1 día
-
Main.scala (OpenWhisk admin tool) contains MIT-licensed code from Scallop without attributionAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
apache/openserverless#264 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
apache/openserverless#262 ·
Los mantenedores suelen responder en 1 día
Todos los issues de apache/openserverless
Issues similares
-
tool-calling
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
vllm-project/vllm#59838 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 92/100
raullenchai/Rapid-MLX#4042 ·
Los mantenedores suelen responder en 1 día
-
documentation
Dificultad 1/5 Menos de una hora Aptitud para principiantes 92/100
transitmatters/mbta-slow-zone-bot#70 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
litestar-org/advanced-alchemy#811 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día