Getting errors on copyright comment when trying to build PR
まだ誰も着手していません。
- 主要言語
- Java
- スター
- 928
- フォーク
- 227
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
IDescribe the problem
I am getting errors on the copyright comment block when trying to build a PR.
The only differences I see are "Copyright 2020" vs "Copyright 2020-2021" and some additional spaces.
I made no change to the copyright block when I changed the code.
This is happening on many source files.
Provide the exact sequence of commands / steps that you executed before running into the problem
Create PR.
Any other info / logs
Error: Failed to execute goal com.diffplug.spotless:spotless-maven-plugin:2.11.1:check (spotless-check) on project tensorflow-framework: The following files had format violations:
3584
Error: src/main/java/org/tensorflow/framework/initializers/He.java
3585
Error: @@ -1,17 +1,18 @@
3586
Error: -/?Copyright?2020?The?TensorFlow?Authors.?All?Rights?Reserved.
3587
Error: +/?Copyright?2020-2021?The?TensorFlow?Authors.?All?Rights?Reserved.
3588
Error:
3589
Error: -Licensed?under?the?Apache?License,?Version?2.0?(the?"License");
3590
Error: -you?may?not?use?this?file?except?in?compliance?with?the?License.
3591
Error: -You?may?obtain?a?copy?of?the?License?at
3592
Error: +?Licensed?under?the?Apache?License,?Version?2.0?(the?"License");
3593
Error: +?you?may?not?use?this?file?except?in?compliance?with?the?License.
3594
Error: +?You?may?obtain?a?copy?of?the?License?at
3595
Error:
3596
Error: -????http://www.apache.org/licenses/LICENSE-2.0
3597
Error: +?????http://www.apache.org/licenses/LICENSE-2.0
3598
Error:
3599
Error: -Unless?required?by?applicable?law?or?agreed?to?in?writing,?software
3600
Error: -distributed?under?the?License?is?distributed?on?an?"AS?IS"?BASIS,
3601
Error: -WITHOUT?WARRANTIES?OR?CONDITIONS?OF?ANY?KIND,?either?express?or?implied.
3602
Error: -See?the?License?for?the?specific?language?governing?permissions?and
3603
Error: -limitations?under?the?License.
3604
Error: -=======================================================================/
3605
Error: +?Unless?required?by?applicable?law?or?agreed?to?in?writing,?software
3606
Error: +?distributed?under?the?License?is?distributed?on?an?"AS?IS"?BASIS,
3607
Error: +?WITHOUT?WARRANTIES?OR?CONDITIONS?OF?ANY?KIND,?either?express?or?implied.
3608
Error: +?See?the?License?for?the?specific?language?governing?permissions?and
3609
Error: +?limitations?under?the?License.
3610
Error: +?=======================================================================
3611
Error: +?/
3612
Error: package?org.tensorflow.framework.initializers;
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
src/main/java/org/tensorflow/framework/initializers/He.java のフォーマット失敗から始め、copyright コメントが Spotless の期待する出力とどのように異なるかを調査します。影響を受けるファイルに対して Maven の spotless-check goal を実行し、その後、ソースファイルが copyright またはスペースに関する違反なしで PR ビルドに合格することを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java
- 領域
- build-system
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 48/100