Top-level LICENSE says Gradle wrapper v5.5, but the gradlew scripts are from Gradle 6.9.1
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 2/5
- 預估耗時
- 1-3 小時
- 新手友好度
- 85/100
- Issue 類型
- 文件
- 描述清晰度
- 描述清楚
- 活躍度
- 活躍
研究方向
從頂層 LICENSE 開始,將其中的 Gradle wrapper 項目與 build/openwhisk/gradle/wrapper/gradle-wrapper.properties 和 build/Taskfile.yml 進行比較,這些檔案標明了版本 6.9.1。更新列出的 LICENSE 和 NOTICE 副本中的過時 v5.5 參照,然後搜尋剩餘的 v5.5 wrapper 文字,並確認每個描述都與現有檔案相符。
由索引模型根據 Issue 內容生成。
描述
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.
- 主要語言
- Python
- 星號
- 576
- 分支
- 29
- 平均合併
- 5 小時 9 分鐘
- 30 天內合併 PR
- 7
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
apache/openserverless 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 84/100
apache/openserverless#267 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 82/100
apache/openserverless#266 ·
維護者通常 1 天內回覆
-
DockerToActivationFileLogStore.scala contains code derived from Akka Sink.combine without attribution可能已有人在做 關聯的 PR 仍在進行中或已合併。 未關閉
難度 2/5 1-3 小時 新手友好度 78/100
apache/openserverless#265 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 72/100
apache/openserverless#264 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 82/100
apache/openserverless#262 ·
維護者通常 1 天內回覆
查看 apache/openserverless 的全部 Issue
相似的 Issue
-
enhancement good first issue Stellar Wave trivial
難度 2/5 1-3 小時 新手友好度 75/100
StellarCanary/ProtocolCanary-Fixtures#258 ·
維護者通常 1 天內回覆
-
github_actions
難度 2/5 1-3 小時 新手友好度 65/100
Hochfrequenz/aibap.mcp#578 ·
維護者通常 1 天內回覆
-
bug
難度 2/5 1-3 小時 新手友好度 75/100
mishraprafful/multihull#150 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 72/100
維護者通常 2 天內回覆
-
難度 2/5 1-3 小時 新手友好度 66/100
python-caldav/caldav#735 ·
維護者通常 1 天內回覆