git-source-settings.ts 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. export interface IGitSourceSettings {
  2. /**
  3. * The location on disk where the repository will be placed
  4. */
  5. repositoryPath: string
  6. /**
  7. * The repository owner
  8. */
  9. repositoryOwner: string
  10. /**
  11. * The repository name
  12. */
  13. repositoryName: string
  14. /**
  15. * The ref to fetch
  16. */
  17. ref: string
  18. /**
  19. * The commit to checkout
  20. */
  21. commit: string
  22. /**
  23. * Indicates whether to clean the repository
  24. */
  25. clean: boolean
  26. /**
  27. * The depth when fetching
  28. */
  29. fetchDepth: number
  30. /**
  31. * Indicates whether to fetch LFS objects
  32. */
  33. lfs: boolean
  34. /**
  35. * Indicates whether to checkout submodules
  36. */
  37. submodules: boolean
  38. /**
  39. * Indicates whether to recursively checkout submodules
  40. */
  41. nestedSubmodules: boolean
  42. /**
  43. * The auth token to use when fetching the repository
  44. */
  45. authToken: string
  46. /**
  47. * The SSH key to configure
  48. */
  49. sshKey: string
  50. /**
  51. * Additional SSH known hosts
  52. */
  53. sshKnownHosts: string
  54. /**
  55. * Indicates whether the server must be a known host
  56. */
  57. sshStrict: boolean
  58. /**
  59. * Indicates whether to persist the credentials on disk to enable scripting authenticated git commands
  60. */
  61. persistCredentials: boolean
  62. }