Files
ghorg/sample-conf.yaml
2020-02-29 14:13:38 -08:00

85 lines
2.2 KiB
YAML

---
# This is where your *_ghorg directory will be created, use absolute pathing. Must end with /, if not one will be added for you
# default: $HOME/Desktop/
# flag (--path, -p)
GHORG_ABSOLUTE_PATH_TO_CLONE_TO:
# Branch ghorg resets and leaves checked out
# default: master
# flag (--branch, -b)
GHORG_BRANCH:
# How you'd like to clone the repos (https or ssh)
# default: https
# flag (--protocol)
GHORG_CLONE_PROTOCOL:
# Type of entity to clone (user or org)
# default: org
# flag (--clone-type, -c)
GHORG_CLONE_TYPE:
# Which provider to clone from (github, gitlab, or bitbucket)
# default: github
# flag (--scm, -s)
GHORG_SCM_TYPE:
# Color output (on, off)
# default: on
# flag (--color)
GHORG_COLOR:
# Change SCM base url, for on self hosted instances (currently gitlab only, use format of https://git.mydomain.com/api/v3)
# default: gitlab.com/api/v3
# flag (--base-url)
GHORG_SCM_BASE_URL:
# Skip archived repos (true/false), currently github/gitlab only
# default: false
# flag (--skip-archived)
GHORG_SKIP_ARCHIVED:
# Backup mode, clone as mirror, no working copy (ignores branch parameter) (true/false)
# default: false
# flag (--backup)
GHORG_BACKUP:
# Max goroutines created while cloning
# default: 25
# flag (--concurrency)
GHORG_CONCURRENCY:
# --- GITHUB SPECIFIC ---
# Add your GitHub token
# Defaults to using key returned by
# $ security find-internet-password -s github.com | grep "acct" | awk -F\" '{ print $4 }'
# flag (--token, -t)
GHORG_GITHUB_TOKEN:
# --- GITLAB SPECIFIC ---
# Add your GitLab token
# Defaults to using key returned by
# $ security find-internet-password -s gitlab.com | grep "acct" | awk -F\" '{ print $4 }'
# flag (--token, -t)
GHORG_GITLAB_TOKEN:
# flag (--namespace, -n)
GHORG_GITLAB_DEFAULT_NAMESPACE:
# clones repos in a directory structure that matches gitlab namespaces eg company/unit/subunit/app would clone into *_ghorg/unit/subunit/app
# default: false
# flag (--preserve-dir)
GHORG_PRESERVE_DIRECTORY_STRUCTURE:
# --- BITBUCKET SPECIFIC ---
# Add your Bitbucket app password
# https://confluence.atlassian.com/bitbucket/app-passwords-828781300.html
# flag (--token, -t)
GHORG_BITBUCKET_APP_PASSWORD:
# flag (--bitbucket-username)
GHORG_BITBUCKET_USERNAME: