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

Also read `license-mapping-override.json` to allow overriding license mapping

オープン
#682 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
48/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
java
領域
tooling

調査の方向性

src/main/java/org/cyclonedx/util/LicenseResolver.java の resolveFuzzyMatching() から始め、license-mapping.json がどのように読み込まれているかを確認します。license-mapping-override.json のサポートを追加し、その値を優先するようにしてから、プロジェクトに既存のテストまたはテストスイートを確認します。ユーザーがライブラリを再ビルドせずに classpath 上で override リソースを提供できれば完了です。

索引モデルが issue の本文から書いたものです。

説明

Change the code for resolveFuzzyMatching()

In addition to license-mapping.json also read license-mapping-override.json and use the values from this file with priority.

This will allow end users to define their own mapping.
You can easily override the classpath in Maven or Gradle.

Right now I'm building my own fork of cyclonedx-core-java, but I'm only interested in changing this file.
Allowing users to just provide this file on the classpath would be much easier than having to rebuild the whole library.

ATM I could just copy the license-mapping.json and change it and provide on the classpath, but

  • it easily gets out of sync with upstream
  • classpath order can be problematic
主要言語
Java
スター
122
フォーク
93
平均マージ
1日 11時間
マージ済み PR(30日)
36

環境構築

はじめの一歩

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

CycloneDX/cyclonedx-core-java のほかの issue

CycloneDX/cyclonedx-core-java の issue をすべて見る

似ている issue

Java の issue をもっと見る

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

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