Top-level LICENSE says Gradle wrapper v5.5, but the gradlew scripts are from Gradle 6.9.1
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 85/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Lĩnh vực
- build-system, documentation
Hướng nghiên cứu
Bắt đầu với LICENSE ở cấp cao nhất và so sánh mục Gradle wrapper của nó với build/openwhisk/gradle/wrapper/gradle-wrapper.properties và build/Taskfile.yml, trong đó xác định phiên bản 6.9.1. Cập nhật các tham chiếu v5.5 đã lỗi thời trong các bản sao LICENSE và NOTICE được liệt kê, sau đó tìm văn bản wrapper v5.5 còn lại và xác minh rằng mỗi mô tả khớp với các tệp hiện có.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Python
- Star
- 576
- Fork
- 29
- Merge trung bình
- 3 giờ 26 phút
- Pull request đã merge (30 ngày)
- 12
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của apache/openserverless
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
apache/openserverless#267 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
ExecManifest.scala copies the docker/distribution image-reference grammar without attributionĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
apache/openserverless#266 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
apache/openserverless#265 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Main.scala (OpenWhisk admin tool) contains MIT-licensed code from Scallop without attributionĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
apache/openserverless#264 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
apache/openserverless#262 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của apache/openserverless
Issue tương tự
-
adr
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
kristofdegrave/homeassistant-smart-charging#1607 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
namespace operations
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
EclipseFdn/open-vsx.org#13665 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
doc good first issue help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
collective/icalendar#1865 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
canonical/opentelemetry-collector-operator#409 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
mozilla/addons-release-tests#1243 ·
Maintainer thường phản hồi trong vòng 1 ngày