Skip to main content

Git Repository

Git

A package configuration provider that loads package configurations from a Git repository.

Description

A PackageConfigurationProvider that loads PackageConfigurations from the configured Git repository.

Configuration

Example

Use the following syntax to configure this plugin globally as part of config.yml:

ort:
packageConfigurationProviders:
Git:
options:
repositoryUrl: <OPTIONAL_STRING>
revision: <OPTIONAL_STRING>
path: "package-configurations"

Options

repositoryUrl

STRING Required

The URL of the repository containing the package configurations.

revision

STRING

The optional revision to use. If not specified, the default branch is used.

path

STRING Default

The path that contains the package configurations.