You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

114 lines
3.9 KiB

  1. key: git
  2. title: Git
  3. description: Git is a version control system for tracking changes in computer files and coordinating work on those files among multiple people.
  4. author: requarks.io
  5. logo: https://static.requarks.io/logo/git-alt.svg
  6. website: https://git-scm.com/
  7. isAvailable: true
  8. supportedModes:
  9. - sync
  10. - push
  11. - pull
  12. defaultMode: sync
  13. schedule: PT5M
  14. props:
  15. authType:
  16. type: String
  17. default: 'ssh'
  18. title: Authentication Type
  19. hint: Use SSH for maximum security.
  20. enum:
  21. - 'basic'
  22. - 'ssh'
  23. order: 1
  24. repoUrl:
  25. type: String
  26. title: Repository URI
  27. hint: Git-compliant URI (e.g. git@github.com:org/repo.git for ssh, https://github.com/org/repo.git for basic)
  28. order: 2
  29. branch:
  30. type: String
  31. default: 'master'
  32. hint: The branch to use during pull / push
  33. order: 3
  34. sshPrivateKeyMode:
  35. type: String
  36. title: SSH Private Key Mode
  37. hint: SSH Authentication Only - The mode to use to load the private key. Fill in the corresponding field below.
  38. order: 11
  39. default: 'path'
  40. enum:
  41. - 'path'
  42. - 'contents'
  43. sshPrivateKeyPath:
  44. type: String
  45. title: A - SSH Private Key Path
  46. hint: SSH Authentication Only - Absolute path to the key. The key must NOT be passphrase-protected. Mode must be set to path to use this option.
  47. order: 12
  48. sshPrivateKeyContent:
  49. type: String
  50. title: B - SSH Private Key Contents
  51. hint: SSH Authentication Only - Paste the contents of the private key. The key must NOT be passphrase-protected. Mode must be set to contents to use this option.
  52. multiline: true
  53. sensitive: true
  54. order: 13
  55. verifySSL:
  56. type: Boolean
  57. default: true
  58. title: Verify SSL Certificate
  59. hint: Some hosts requires SSL certificate checking to be disabled. Leave enabled for proper security.
  60. order: 14
  61. basicUsername:
  62. type: String
  63. title: Username
  64. hint: Basic Authentication Only
  65. order: 20
  66. basicPassword:
  67. type: String
  68. title: Password / PAT
  69. hint: Basic Authentication Only
  70. sensitive: true
  71. order: 21
  72. defaultEmail:
  73. type: String
  74. title: Default Author Email
  75. default: 'name@company.com'
  76. hint: 'Used as fallback in case the author of the change is not present.'
  77. order: 22
  78. defaultName:
  79. type: String
  80. title: Default Author Name
  81. default: 'John Smith'
  82. hint: 'Used as fallback in case the author of the change is not present.'
  83. order: 23
  84. localRepoPath:
  85. type: String
  86. title: Local Repository Path
  87. default: './data/repo'
  88. hint: 'Path where the local git repository will be created.'
  89. order: 30
  90. gitBinaryPath:
  91. type: String
  92. title: Git Binary Path
  93. default: ''
  94. hint: Optional - Absolute path to the Git binary, when not available in PATH. Leave empty to use the default PATH location (recommended).
  95. order: 50
  96. sshPort:
  97. type: Number
  98. title: SSH Port
  99. default: 22
  100. hint: Optional - SSH Authentication Only - Allows overriding ssh default port.
  101. order: 60
  102. actions:
  103. - handler: syncUntracked
  104. label: Add Untracked Changes
  105. hint: Output all content from the DB to the local Git repository 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.
  106. - handler: sync
  107. label: Force Sync
  108. hint: Will trigger an immediate sync operation, regardless of the current sync schedule. The sync direction is respected.
  109. - handler: importAll
  110. label: Import Everything
  111. hint: Will import all content currently in the local Git repository, regardless of the latest commit state. Useful for importing content from the remote repository created before git was enabled.
  112. - handler: purge
  113. label: Purge Local Repository
  114. hint: If you have unrelated merge histories, clearing the local repository can resolve this issue. This will not affect the remote repository or perform any commit.