Skip to content

GitLoader

Description: Loads files from a git repository. Uses raw git protocols, so this is not a GitHub specific implementation.

PropertyPatternTypeDeprecatedDefinitionTitle/Description
+ implementationNoconstNo-Implementation
+ urlNostringNo-Url
- branchNostringNo-Branch
- patternNoCombinationNo-Pattern
- excludeNoCombinationNo-Exclude

1. Property implementation

Title: Implementation

Typeconst
RequiredYes

Specific value: "GitLoader"

2. Property url

Title: Url

Typestring
RequiredYes

Description: URL for source repository. Will be templated with envars.

Examples:

https://github.com/eidolon-ai/eidolon.git
https://{GITHUB_TOKEN}@github.com/eidolon-ai/eidolon.git

3. Property branch

Title: Branch

Typestring
RequiredNo
Default"HEAD"

Description: Branch, ref, or commit to load files from.

4. Property pattern

Title: Pattern

Typecombining
RequiredNo
Additional properties[Any type: allowed]
Default"**"

Description: Blob pattern(s) of files to include.

Any of(Option)
item 0
item 1

4.1. Property item 0

Typestring
RequiredNo

4.2. Property item 1

Typearray of string
RequiredNo
Array restrictions
Min itemsN/A
Max itemsN/A
Items unicityFalse
Additional itemsFalse
Tuple validationSee below
Each item of this array must beDescription
item 1 items-

4.2.1. item 1 items

Typestring
RequiredNo

5. Property exclude

Title: Exclude

Typecombining
RequiredNo
Additional properties[Any type: allowed]
Default[]

Description: Blob pattern(s) of files to exclude. Calculated after pattern (ei, files from pattern are selected, then any matching exclude are removed).

Any of(Option)
item 0
item 1

5.1. Property item 0

Typestring
RequiredNo

5.2. Property item 1

Typearray of string
RequiredNo
Array restrictions
Min itemsN/A
Max itemsN/A
Items unicityFalse
Additional itemsFalse
Tuple validationSee below
Each item of this array must beDescription
item 1 items-

5.2.1. item 1 items

Typestring
RequiredNo