aboutcode-org / aboutcode-org/scancode-toolkit

`detected_vcs_repo` attribute for Resource

Aperta
#1,642 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
core and api new feature
Lingua principale
Python
Stelle
2.6k
Fork
791
Merge medio
1g 12h
PR unite (30g)
5

Descrizione

Currently, we ignore VCS repos when creating the Codebase (https://github.com/nexB/scancode-toolkit/blob/develop/src/scancode/resource.py#L427). It would be convenient to have an attribute on the Resource that says if a VCS repo was detected and what kind type of VCS is used. This is useful In the context of origin summary (such as #1588) as we would like to summarize resources at logical breakpoints. One such breakpoint would be the root of a VCS repo, as that is a package-like grouping useful to us.

Right now, there is no specific way to single out VCS directories out of the other types we ignore.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.