Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Top-level LICENSE says Gradle wrapper v5.5, but the gradlew scripts are from Gradle 6.9.1

Aperta Adatta ai principianti
#269 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
85/100
Tipo di issue
Documentazione
Chiarezza
Specificata chiaramente
Stato di attività
Attiva

Direzione di ricerca

Inizia con il LICENSE di livello superiore e confronta la relativa voce del Gradle wrapper con build/openwhisk/gradle/wrapper/gradle-wrapper.properties e build/Taskfile.yml, che identificano la versione 6.9.1. Aggiorna i riferimenti obsoleti a v5.5 nelle copie indicate di LICENSE e NOTICE, quindi cerca il testo rimanente del wrapper v5.5 e verifica che ogni descrizione corrisponda ai file presenti.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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/gradlew is byte-identical to upstream Apache OpenWhisk's gradlew as of commit f29981a2f "Bumping to gradle 6" (2022-07-28). gradlew.bat is identical to that commit's too, apart from CRLF line endings. That commit set the wrapper to gradle-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 own v5.5.0 scripts, do not match what we ship.
  • Compared with the gradlew in Gradle's own repository at v6.9.1, ours differs only in DEFAULT_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.properties uses gradle-6.9.1-bin.zip, and build/Taskfile.yml downloads the 6.9.1 gradle-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.

Lingua principale
Python
Stelle
576
Fork
29
Merge medio
3h 26m
PR unite (30g)
12

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di apache/openserverless

Tutte le issue di apache/openserverless

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.