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.

86 lines
2.8 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. order: 3
  33. verifySSL:
  34. type: Boolean
  35. default: true
  36. title: Verify SSL Certificate
  37. hint: Some hosts requires SSL certificate checking to be disabled. Leave enabled for proper security.
  38. order: 31
  39. sshPrivateKeyPath:
  40. type: String
  41. title: SSH Private Key Path
  42. hint: SSH Authentication Only - Absolute path to the key. The key must NOT be passphrase-protected.
  43. order: 10
  44. basicUsername:
  45. type: String
  46. title: Username
  47. hint: Basic Authentication Only
  48. order: 11
  49. basicPassword:
  50. type: String
  51. title: Password / PAT
  52. hint: Basic Authentication Only
  53. order: 12
  54. localRepoPath:
  55. type: String
  56. title: Local Repository Path
  57. default: './data/repo'
  58. hint: 'Path where the local git repository will be created.'
  59. order: 30
  60. defaultEmail:
  61. type: String
  62. title: Default Author Email
  63. default: 'name@company.com'
  64. hint: 'Used as fallback in case the author of the change is not present.'
  65. order: 20
  66. defaultName:
  67. type: String
  68. title: Default Author Name
  69. default: 'John Smith'
  70. hint: 'Used as fallback in case the author of the change is not present.'
  71. order: 21
  72. gitBinaryPath:
  73. type: String
  74. title: Git Binary Path
  75. default: ''
  76. hint: Optional - Absolute path to the Git binary, when not available in PATH. Leave empty to use the default PATH location (recommended).
  77. actions:
  78. - handler: syncUntracked
  79. label: Add Untracked Changes
  80. 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.
  81. - handler: sync
  82. label: Force Sync
  83. hint: Will trigger an immediate sync operation, regardless of the current sync schedule. The sync direction is respected.
  84. - handler: importAll
  85. label: Import Everything
  86. 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.