Top-level LICENSE says Gradle wrapper v5.5, but the gradlew scripts are from Gradle 6.9.1
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 2/5
- Tempo estimado
- 1-3 horas
- Facilidade para iniciantes
- 85/100
- Tipo de issue
- Documentação
- Clareza
- Claramente especificada
- Status de atividade
- Ativa
- Domínio
- build-system, documentation
Direção de pesquisa
Comece pelo LICENSE de nível superior e compare sua entrada do Gradle wrapper com build/openwhisk/gradle/wrapper/gradle-wrapper.properties e build/Taskfile.yml, que identificam a versão 6.9.1. Atualize as referências obsoletas a v5.5 nas cópias indicadas de LICENSE e NOTICE; em seguida, procure por texto restante do wrapper v5.5 e verifique se cada descrição corresponde aos arquivos presentes.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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.
- Linguagem predominante
- Python
- Estrelas
- 577
- Forks
- 29
- Merge médio
- 3d 39min
- PRs com merge (30d)
- 5
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de apache/openserverless
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 84/100
apache/openserverless#267 ·
-
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 8/100
apache/openserverless#273 · 2 comentários ·
-
Dificuldade 4/5 1-2 dias Facilidade para iniciantes 42/100
apache/openserverless#271 · 7 comentários ·
-
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 35/100
apache/openserverless#268 ·
-
enhancement
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 25/100
apache/openserverless#215 ·
Todas as issues de apache/openserverless
Issues semelhantes
-
[Bug] Unit tests reach real Bedrock call paths without patching the modelTalvez já em andamento @proton0210 assumiu hoje. Abertabug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 67/100
aws-samples/sample-aws-genai-db-modernizer#1318 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
pyarrow-25.0.1-cp310-cp310-manylinux_2_28_x86_64.whl: 1 vulnerabilities (highest severity is: 5.3)AbertaMend: dependency security vulnerability
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
capitalone/locopy#394 ·
-
[Bug] Unhandled ValueError terminates watchdog thread when GISRC value contains multiple colonsAbertabug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
Mantenedores costumam responder em até 1 dia
-
sdk-typescript: unquoted COPY globs in shell form are silently dropped from the image build contextAbertabug javascript
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
Mantenedores costumam responder em até 1 dia
-
enhancement
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 65/100
ietf-tools/datatracker#11922 · 1 comentário ·
Mantenedores costumam responder em até 1 dia