Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

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

オープン 初心者向け
#269 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
85/100
issue の種類
ドキュメント
明瞭さ
明確に書かれている
活発さ
活発

調査の方向性

トップレベルの LICENSE から始め、その Gradle wrapper エントリを、バージョン 6.9.1 を示している build/openwhisk/gradle/wrapper/gradle-wrapper.properties および build/Taskfile.yml と比較します。記載されている 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/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.

主要言語
Python
スター
576
フォーク
29
平均マージ
3時間 26分
マージ済み PR(30日)
12

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

apache/openserverless のほかの issue

apache/openserverless の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。