build: a default-profile build adds a second license header to the database and monitoring shell index.html (header sits after <!doctype html>)
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 78/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- java
- 領域
- build-system
調査の方向性
指定された2つの index.html ファイルを読み、license-maven-plugin と format-license のライセンス書式設定の構成を見つけてください。変更されたファイルを再現するために mvn -pl components/resources/resources-database,components/resources/resources-monitoring initialize を実行してください。選択したヘッダーの配置または除外によって、このビルド後も両方のファイルが変更されない状態になれば完了です。
索引モデルが issue の本文から書いたものです。
説明
What: a build without -P quick-build (license plugin active) modifies two tracked files:
components/resources/resources-database/src/main/resources/META-INF/dirigible/database/index.htmlcomponents/resources/resources-monitoring/src/main/resources/META-INF/dirigible/monitoring/index.html
Both start with <!doctype html> and carry their copyright comment (in a short custom form) after it. license-maven-plugin:format (format-license, phase initialize, skipExistingHeaders=true) does not recognise that as a header and inserts its full 13-line header above the doctype, so every default build leaves both files dirty.
Verified: on origin/master 9f60b659f2, in a real clone (not a worktree): mvn -pl components/resources/resources-database,components/resources/resources-monitoring initialize -> Updating license header in: .../index.html for both, git status shows both modified. -P quick-build sets license.skip, so CI builds do not see it. Two other src/main html files start with a doctype (application-core/.../shell/views/capture.html, resources-karavan-libs/.../designer/index.html), but the same run left them unchanged.
Expected: a build of an unchanged tree leaves these files unchanged: either put the standard header before the doctype (what the plugin would write, so it is recognised next time), or exclude the two files from license formatting.
Found while working on #8754 (generated files that a build rewrites); left out of that PR because these are hand-written shell pages, not generator output.
- 主要言語
- Java
- スター
- 278
- フォーク
- 97
- 平均マージ
- 15時間 3分
- マージ済み PR(30日)
- 320
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
eclipse-dirigible/dirigible のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
eclipse-dirigible/dirigible#8877 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
eclipse-dirigible/dirigible#8838 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
eclipse-dirigible/dirigible#8548 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
eclipse-dirigible/dirigible#8354 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
eclipse-dirigible/dirigible#8240 ·
メンテナーはふだん 1 日以内に返信
eclipse-dirigible/dirigible の issue をすべて見る
似ている issue
-
needs-area-label
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
-
bug module: hybrid priority: high
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
bancolombia/bin-stash#92 ·
-
bug module:pubsub priority:P3
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
flink-gcp/flink-connector-gcp#2325 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信