aboutcode-org / aboutcode-org/commoncode

Refactor how strip_root argument works for Codebase

Aperta
#34 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
4
Fork
23
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

A proposed change in scancode.io is that the root Resource of a project codebase will be named `.` and all other Resources of that codebase will not have the root path prefix in its path. We should change how the `strip_root` argument for `Codebase()` works where the root resource is renamed to `.` and the path set to `.`, and the root path prefixes are removed from the remaining Resource paths.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.