aboutcode-org / aboutcode-org/scancode-toolkit
Do not include duplicated name in description of a Maven package
- 主要言語
- 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 はまだ評価されていません。