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
- 平均合并
- 3 小时 26 分钟
- 30 天内合并 PR
- 12
环境准备
- 没有 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 天内回复
-
难度 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
-
adr
难度 2/5 1-3 小时 新手友好度 72/100
kristofdegrave/homeassistant-smart-charging#1607 ·
维护者通常 1 天内回复
-
namespace operations
难度 2/5 1-3 小时 新手友好度 64/100
EclipseFdn/open-vsx.org#13665 ·
维护者通常 1 天内回复
-
doc good first issue help wanted
难度 2/5 1-3 小时 新手友好度 68/100
collective/icalendar#1865 · 2 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
canonical/opentelemetry-collector-operator#409 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 85/100
mozilla/addons-release-tests#1243 ·
维护者通常 1 天内回复