abstract class GitRepository extends Logger with FileSystemLocks

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

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

Instance Constructors

  1. new GitRepository(repositoryKeysLocation: String, repositoryLocation: String)

    repositoryKeysLocation

    - used for ssh access

Abstract Value Members

  1. abstract def updateRepository(projectRequest: ProjectRequest): Unit

    Update repository without submodules.

  2. abstract def withRepository[T](project: ProjectRequest, forceUpdate: Boolean = false)(block: (File) ⇒ T): 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): Seq[String]
  6. def cleanProjectDir(projectUrl: String): Unit
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  8. def cloneFilterOptions: Seq[CloneFilterOptions.Value]
    Attributes
    protected[repository]
  9. def cloneOptions(recursive: Boolean): String
    Attributes
    protected[repository]
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def findCommonAncestor(project: ProjectRequest, source: BranchRequest, destination: BranchRequest): Option[CommitRequest]
  14. def generateProjectData(values: Map[String, String]): RepositoryData
  15. def getAllCommits(project: ProjectRequest): List[GitCommitWithIndex]
  16. def getBranchCommits(project: ProjectRequest, branches: Seq[BranchRequest]): 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.

  17. def getBranchCommits(project: ProjectRequest, branch: BranchRequest, limit: CommitRequest): List[CommitRequest]
  18. def getBranchCommits(project: ProjectRequest, branch: BranchRequest, limit: Option[Int] = None): List[GitCommit]
  19. def getBranches(projectRequest: ProjectRequest, timeout: Option[Duration] = None): Option[ProjectBranches]
  20. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. def getCommitDiff(dir: File, sourceCommit: CommitRequest, destinationCommits: Seq[String], slf: Set[String]): CommitDiff
  22. def getFileContents(dir: File, commit: CommitRequest, filename: String): GitFileContents
  23. def getPullRequestDiff(dir: File, source: CommitRequest, destination: String, slf: Set[String]): CommitDiff
  24. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  25. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  26. def listAllCommits(dir: File): List[GitCommitWithIndex]
  27. def listAllCommitsSince(dir: File, timestamp: DateTime): List[GitCommitWithIndex]
  28. def listFiles(dir: File, commit: String, maxFileSizeBytesOpt: Option[Int] = Option.empty): GitListResult
  29. def lock[A](file: File, maxTime: Long = 1000 * 60 * 60)(method: (Lock) ⇒ A): A
    Definition Classes
    FileSystemLocks
  30. lazy val logger: Logger
    Attributes
    protected
    Definition Classes
    LazyLogging
    Annotations
    @transient()
  31. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  32. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  33. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  34. def parseFilterOptions(filterOptions: Seq[CloneFilterOptions.Value]): String
    Attributes
    protected[repository]
  35. def pathPrefix: String
    Attributes
    protected[repository]
  36. def pullChanges(dir: File, request: ProjectRequest): Unit
    Attributes
    protected
  37. def pullChangesOrClone(project: ProjectRequest, projectDir: File, forceUpdate: Boolean, cloneSubmodules: Boolean)(implicit l: Lock): File
    Attributes
    protected
  38. def pullChangesOrClone(projectReq: ProjectRequest, projectDir: File, cloneSubmodules: Boolean)(implicit l: Lock): Unit
    Attributes
    protected
  39. val repositoryKeysLocation: String
  40. val repositoryLocation: String
  41. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  42. def toString(): String
    Definition Classes
    AnyRef → Any
  43. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  45. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from FileSystemLocks

Inherited from Logger

Inherited from LazyLogging

Inherited from AnyRef

Inherited from Any

Ungrouped