abstract class WriteGitRepository extends GitRepository with FileSystemLocks

Handle all providers and authentication - by ssh and token. Authentication type is recognized and applied basing on given ProjectRequest.

Linear Supertypes
FileSystemLocks, GitRepository, ContextLogging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WriteGitRepository
  2. FileSystemLocks
  3. GitRepository
  4. ContextLogging
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new WriteGitRepository(repositoryKeysLocation: String, repositoryLocation: String)(implicit executionContext: ExecutionContext)

    repositoryKeysLocation

    - used for ssh access

Abstract Value Members

  1. abstract def updateRepository(projectRequest: ProjectRequest)(implicit logContext: ProjectLogContext): Unit

    Update repository without submodules.

  2. abstract def withRepository[T](project: ProjectRequest, forceUpdate: Boolean = false)(block: (File) => T)(implicit logContext: ProjectLogContext): T
    Attributes
    protected[git]

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def changedFiles(dir: File, currentCommit: String)(implicit logContext: ProjectLogContext): Seq[String]
  6. def cleanProjectDir(projectUrl: String)(implicit logContext: ProjectLogContext): Unit
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  8. def cloneOptions(recursive: Boolean): Seq[String]
    Attributes
    protected[repository]
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  12. def findCommonAncestor(project: ProjectRequest, source: BranchRequest, destination: BranchRequest)(implicit logContext: ProjectLogContext): Option[CommitRequest]
  13. def generateProjectData(values: Map[String, String])(implicit logContext: ProjectLogContext): RepositoryData
  14. def getAllCommits(project: ProjectRequest)(implicit logContext: ProjectLogContext): List[GitCommitWithIndex]
  15. def getBranchCommits(project: ProjectRequest, branches: Seq[BranchRequest])(implicit logContext: ProjectLogContext): List[GitCommit]

    Fetches a list of Git commits for the specified branches in a given project.

    Fetches a list of Git commits for the specified branches in a given project.

    project

    The project request, which includes details about the project such as its URL.

    branches

    A sequence of branch requests for which commits are to be retrieved.

    returns

    A list of GitCommit instances, each representing a commit from the requested branches.

  16. def getBranchCommits(project: ProjectRequest, branch: BranchRequest, limit: CommitRequest)(implicit logContext: ProjectLogContext): List[CommitRequest]
  17. def getBranchCommits(project: ProjectRequest, branch: BranchRequest, limit: Option[Int] = None)(implicit logContext: ProjectLogContext): List[GitCommit]
  18. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. def getCommitDiff(dir: File, sourceCommit: CommitRequest, destinationCommits: Seq[String], slf: Set[String])(implicit logContext: ProjectLogContext): CommitDiff
  20. def getFileContents(dir: File, commit: CommitRequest, filename: String)(implicit logContext: ProjectLogContext): GitFileContents
  21. def getPullRequestDiff(dir: File, source: CommitRequest, destination: String, slf: Set[String])(implicit logContext: ProjectLogContext): CommitDiff
  22. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  23. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  24. def listAllCommits(dir: File)(implicit logContext: ProjectLogContext): List[GitCommitWithIndex]
  25. def listFiles(dir: File, commit: String, maxFileSizeBytesOpt: Option[Int] = Option.empty)(implicit logContext: ProjectLogContext): GitListResult
  26. def lock[A](file: File, maxTime: Long = 1000 * 60 * 60)(method: (Lock) => A): A
    Definition Classes
    FileSystemLocks
  27. lazy val logger: ContextAwareLogger
    Attributes
    protected
    Definition Classes
    ContextLogging
    Annotations
    @transient()
  28. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  30. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  31. def pathPrefix: String
    Attributes
    protected[repository]
  32. def processProjectUrl(project: ProjectRequest)(implicit logContext: ProjectLogContext): String
    Attributes
    protected
    Definition Classes
    GitRepository
  33. def pullChanges(dir: File, request: ProjectRequest)(implicit logContext: ProjectLogContext): Unit
    Attributes
    protected
  34. def pullChangesOrClone(project: ProjectRequest, projectDir: File, forceUpdate: Boolean, cloneSubmodules: Boolean)(implicit l: Lock, logContext: ProjectLogContext): File
    Attributes
    protected
  35. def pullChangesOrClone(projectReq: ProjectRequest, projectDir: File, cloneSubmodules: Boolean)(implicit l: Lock, logContext: ProjectLogContext): Unit
    Attributes
    protected
  36. val repositoryKeysLocation: String
  37. val repositoryLocation: String
  38. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  39. def toString(): String
    Definition Classes
    AnyRef → Any
  40. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  41. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  42. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  43. def wrapCommandWithAuthorization(request: ProjectRequest, gitCommand: Seq[String])(implicit logContext: ProjectLogContext): CommandWithParam
    Attributes
    protected
    Definition Classes
    GitRepository

Inherited from FileSystemLocks

Inherited from GitRepository

Inherited from ContextLogging

Inherited from AnyRef

Inherited from Any

Ungrouped