aboutcode-org / aboutcode-org/scancode-toolkit

Do not include duplicated name in description of a Maven package

オープン
#3,362 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
2.6k
フォーク
791
平均マージ
1日 12時間
マージ済み PR(30日)
5

説明

When I scan this POM https://repo1.maven.org/maven2/javax/activation/activation/1.1/activation-1.1.pom

I get this description:
> JavaBeans Activation Framework (JAF)
> JavaBeans Activation Framework (JAF) is a standard extension to the Java platform that lets you take advantage of standard services to: determine the type of an arbitrary piece of data; encapsulate access to it; discover the operations available on it; and instantiate the appropriate bean to perform the operation(s).

where we combined the name and description of the POM.
```
JavaBeans Activation Framework (JAF)

JavaBeans Activation Framework (JAF) is a standard extension to the Java platform that lets you take advantage of standard services to: determine the type of an arbitrary piece of data; encapsulate access to it; discover the operations available on it; and instantiate the appropriate bean to perform the operation(s).

```
... we should not include the "name" if it exists at the start of the description.
We have the code for it in this: https://github.com/nexB/scancode-toolkit/blob/b6d0162d1c1b0c1dc71317cfbc7b8c64847f8159/src/packagedcode/utils.py#L115

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

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

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