Git (GitHub, GitLab)
Collects Git repositories. This plugin collects the repository as specified by the purl and by default only collects a depth of 1.
Accepts purl types: git, gitlab, github
Details
Transfer Tag
hoppr.core_plugins.collect_git_plugin
Supported PURLs
git
gitlab
github
System Dependencies
Transfer File Example
---
schemaVersion: v1
kind: transfer
stages:
collect:
plugins:
- name: hoppr.core_plugins.collect_git_plugin
config:
process_timeout: 60
max_processes: 3
Configuration Options​
Option | Details |
---|---|
git_command | String. Defaults to git . Command to be used to execute git commands. May be overridden with another command that uses the same syntax, or a fully qualified path if git is not on the default $PATH . |
process_timeout | Number of seconds to attempt collect before timeout. Default: 60 |
depth | all, 1 or any int greater than 1. Sets the depth of the git clone command. Default: 1 |