JVM d2d: match dependencies from pom.xml

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

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
java, python
領域
build-system

調査の方向性

参照されている ./poi-tl-cli/pom.xml と ./poi-tl-plugin-highlight/pom.xml の例から始めて、依存関係の宣言と、それらが説明すべき不足しているクラスパッケージを理解します。次に、既存の JVM D2D マッチングエントリーポイントを見つけ、依存関係パッケージを抽出してインデックス化し、不足しているソースファイルと関連付ける方法を明らかにします。これらの例で改善されたマッチが生成されれば完了です。

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

説明

A significant number of non-matching files appear to originate from dependencies included during the build process.
For instance:
poi-tl-v1.12.0
Devel: https://github.com/Sayi/poi-tl/archive/refs/tags/v1.12.0.zip#from
Deploy: https://github.com/Sayi/poi-tl/releases/download/v1.12.0/poi-tl-cli.jar#to
Some of the non-matching files found in the deployment:

to/com/beust/jcommander/validators/NoValidator.class
to/com/beust/jcommander/validators/NoValueValidator.class
to/com/beust/jcommander/validators/PositiveInteger.class
to/com/beust/jcommander/WrappedParameter.class
to/com/codewaves/codehighlight/core/Highlighter$HighlightResult.class
to/com/codewaves/codehighlight/core/Highlighter.class
to/com/codewaves/codehighlight/core/HighlightParser$1.class
to/com/codewaves/codehighlight/core/HighlightParser$ParentWrapper.class
to/com/codewaves/codehighlight/core/HighlightParser.class

However, these "missing" code packages exist in the pom.xml
./poi-tl-cli/pom.xml

		<dependency>
			<groupId>com.beust</groupId>
			<artifactId>jcommander</artifactId>
			<version>1.72</version>
		</dependency>

./poi-tl-plugin-highlight/pom.xml

		<dependency>
			<groupId>com.deepoove</groupId>
			<artifactId>codehighlight</artifactId>
			<version>1.0.3</version>
		</dependency>

It would be great if we could parse/extract/index the dependency packages listed in the pom.xml, and then correlate them with the "missing" source files to improve the D2D process.

主要言語
Python
スター
223
フォーク
214
平均マージ
2日 3時間
マージ済み PR(30日)
13

環境構築

はじめの一歩

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

aboutcode-org/scancode.io のほかの issue

aboutcode-org/scancode.io の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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