aboutcode-org / aboutcode-org/commoncode

Refactor how strip_root argument works for Codebase

Open
#34 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
4
Forks
23
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.