ort icon indicating copy to clipboard operation
ort copied to clipboard

refactor(vcs): VCS configuration to support common and custom attributes

Open wkl3nk opened this issue 4 months ago • 2 comments

While VCS implementations are already plugins, they are not yet configurable. VCS implementations require common configurations (e.g., revision, recursive) and should support VCS-specific configurations that are unique to each VCS.

This refactoring keeps the common configuration attributes as they are, while VCS-specific configurations are stored generically in an options attribute.

The change also adds VCS-specific configuration options for Git: The strategy for checking out repositories with submodules now allows to only check out the first layer of submodules.

For more details, please have a look at the respective commits.

Fixes #8556.

wkl3nk avatar Oct 10 '24 11:10 wkl3nk