aboutcode-org / aboutcode-org/scancode-toolkit

Do not include duplicated name in description of a Maven package

Aberta
#3,362 0 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
Python
Estrelas
2.6k
Forks
791
Merge médio
1d 12h
PRs com merge (30d)
5

Descrição

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

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.