aboutcode-org / aboutcode-org/commoncode

Refactor how strip_root argument works for Codebase

Offen
#34 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
4
Forks
23
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.