wikijs-fork/server/modules/storage/git/definition.yml

76 lines
2.2 KiB
YAML
Raw Normal View History

key: git
title: Git
description: Git is a version control system for tracking changes in computer files and coordinating work on those files among multiple people.
author: requarks.io
logo: https://static.requarks.io/logo/git-alt.svg
website: https://git-scm.com/
2019-02-03 22:08:06 +00:00
isAvailable: true
supportedModes:
- sync
- push
- pull
2019-02-03 22:08:06 +00:00
defaultMode: sync
schedule: PT5M
props:
authType:
type: String
default: 'ssh'
title: Authentication Type
hint: Use SSH for maximum security.
enum:
- 'basic'
- 'ssh'
2019-02-03 22:08:06 +00:00
order: 1
repoUrl:
type: String
title: Repository URI
hint: Git-compliant URI (e.g. git@github.com:org/repo.git for ssh, https://github.com/org/repo.git for basic)
2019-02-03 22:08:06 +00:00
order: 2
branch:
type: String
default: 'master'
2019-02-03 22:08:06 +00:00
order: 3
verifySSL:
type: Boolean
default: true
title: Verify SSL Certificate
hint: Some hosts requires SSL certificate checking to be disabled. Leave enabled for proper security.
2019-02-03 22:08:06 +00:00
order: 31
sshPrivateKeyPath:
type: String
title: SSH Private Key Path
hint: SSH Authentication Only - Absolute path to the key. The key must NOT be passphrase-protected.
2019-02-03 22:08:06 +00:00
order: 10
basicUsername:
type: String
title: Username
hint: Basic Authentication Only
2019-02-03 22:08:06 +00:00
order: 11
basicPassword:
type: String
title: Password / PAT
hint: Basic Authentication Only
2019-02-03 22:08:06 +00:00
order: 12
2019-02-03 07:48:30 +00:00
localRepoPath:
type: String
title: Local Repository Path
default: './data/repo'
hint: 'Path where the local git repository will be created.'
2019-02-03 22:08:06 +00:00
order: 30
2019-02-03 07:48:30 +00:00
defaultEmail:
type: String
title: Default Author Email
default: 'name@company.com'
hint: 'Used as fallback in case the author of the change is not present.'
2019-02-03 22:08:06 +00:00
order: 20
2019-02-03 07:48:30 +00:00
defaultName:
type: String
title: Default Author Name
default: 'John Smith'
hint: 'Used as fallback in case the author of the change is not present.'
2019-02-03 22:08:06 +00:00
order: 21
2019-02-25 04:48:28 +00:00
actions:
- handler: syncUntracked
label: Add Untracked Changes
hint: Output all content from the DB to the Git repo to ensure all untracked content is saved. If you enabled Git after content was created or you temporarily disabled Git, you'll want to execute this action to add the missing untracked changes.