Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "lib/common/git/pushFromLastCommit"

Index

Functions

authorFromCommit

  • authorFromCommit(sha: string, project: LocalProject): Promise<Author>

buildCommitFromSha

  • buildCommitFromSha(sha: string, project: GitProject): Promise<PushFields.Commits & Before & After>
  • Build an Atomist commit structure from the given sha

    Parameters

    • sha: string
    • project: GitProject

    Returns Promise<PushFields.Commits & Before & After>

committerFromCommit

  • committerFromCommit(sha: string, project: GitProject): Promise<Committer>

pushFromLastCommit

  • pushFromLastCommit(workspaceId: string, branch: string, sha: string, project: GitProject): Promise<OnPushToAnyBranch.Push>
  • Make a push to send to the Atomist event endpoint from the last commit to this local git project.

    Parameters

    • workspaceId: string

      id of current team

    • branch: string

      of the commit to process

    • sha: string

      sha of the commit to process

    • project: GitProject

    Returns Promise<OnPushToAnyBranch.Push>

repoFieldsFromProject

  • repoFieldsFromProject(workspaceId: string, id: RepoRef): CoreRepoFieldsAndChannels.Fragment

Generated using TypeDoc