buildGerritGitilesArchiveUrl(config, project, branch, filePath) | Build a Gerrit Gitiles archive url that targets a specific branch and path |
defaultScmResolveUrl(options) | Default implementation of ScmIntegration resolveUrl , that only works with URL pathname based providers. |
getAzureCommitsUrl(url) | Given a URL, return the API URL to fetch commits on the branch. |
getAzureDownloadUrl(url) | Given a URL pointing to a path on a provider, returns a URL that is suitable for downloading the subtree. |
getAzureFileFetchUrl(url) | Given a URL pointing to a file on a provider, returns a URL that is suitable for fetching the contents of the data. |
getAzureRequestOptions(config, additionalHeaders) | Gets the request options necessary to make requests to a given provider. |
getBitbucketCloudDefaultBranch(url, config) | Given a URL pointing to a path on a provider, returns the default branch. |
getBitbucketCloudDownloadUrl(url, config) | Given a URL pointing to a path on a provider, returns a URL that is suitable for downloading the subtree. |
getBitbucketCloudFileFetchUrl(url, config) | Given a URL pointing to a file on a provider, returns a URL that is suitable for fetching the contents of the data. |
getBitbucketCloudRequestOptions(config) | Gets the request options necessary to make requests to a given provider. |
getBitbucketDefaultBranch(url, config) | Given a URL pointing to a path on a provider, returns the default branch. |
getBitbucketDownloadUrl(url, config) | Given a URL pointing to a path on a provider, returns a URL that is suitable for downloading the subtree. |
getBitbucketFileFetchUrl(url, config) | Given a URL pointing to a file on a provider, returns a URL that is suitable for fetching the contents of the data. |
getBitbucketRequestOptions(config) | Gets the request options necessary to make requests to a given provider. |
getBitbucketServerDefaultBranch(url, config) | Given a URL pointing to a path on a provider, returns the default branch. |
getBitbucketServerDownloadUrl(url, config) | Given a URL pointing to a path on a provider, returns a URL that is suitable for downloading the subtree. |
getBitbucketServerFileFetchUrl(url, config) | Given a URL pointing to a file on a provider, returns a URL that is suitable for fetching the contents of the data. |
getBitbucketServerRequestOptions(config) | Gets the request options necessary to make requests to a given provider. |
getGerritBranchApiUrl(config, url) | Return the url to get branch info from the Gerrit API. |
getGerritCloneRepoUrl(config, url) | Return the url to clone the repo that is referenced by the url. |
getGerritFileContentsApiUrl(config, url) | Return the url to fetch the contents of a file using the Gerrit API. |
getGerritProjectsApiUrl(config) | Return the url to query available projects using the Gerrit API. |
getGerritRequestOptions(config) | Return request headers for a Gerrit provider. |
getGiteaArchiveUrl(config, url) | Given a URL pointing to a repository/path, returns a URL for archive contents of the repository. |
getGiteaEditContentsUrl(config, url) | Given a URL pointing to a file, returns a URL for editing the contents of the data. |
getGiteaFileContentsUrl(config, url) | Given a URL pointing to a file, returns an api URL for fetching the contents of the data. |
getGiteaLatestCommitUrl(config, url) | Given a URL pointing to a repository branch, returns a URL for latest commit information. |
getGiteaRequestOptions(config) | Return request headers for a Gitea provider. |
getGithubFileFetchUrl(url, config, credentials) | Given a URL pointing to a file on a provider, returns a URL that is suitable for fetching the contents of the data. |
getGitHubRequestOptions(config, credentials) | Gets the request options necessary to make requests to a given provider. |
getGitLabFileFetchUrl(url, config) | Given a URL pointing to a file on a provider, returns a URL that is suitable for fetching the contents of the data. |
getGitLabIntegrationRelativePath(config) | Reads a GitLab integration config, and returns relative path. |
getGitLabRequestOptions(config) | Gets the request options necessary to make requests to a given provider. |
parseGerritGitilesUrl(config, url) | Parse a Gitiles URL and return branch, file path and project. |
parseGerritJsonResponse(response) | Parse the json response from Gerrit and strip the magic prefix. |
parseGiteaUrl(config, url) | Return parsed git url properties. |
readAwsCodeCommitIntegrationConfig(config) | Reads a single Aws CodeCommit integration config. |
readAwsCodeCommitIntegrationConfigs(configs) | Reads a set of AWS CodeCommit integration configs, and inserts some defaults for public Amazon AWS if not specified. |
readAwsS3IntegrationConfig(config) | Reads a single Aws S3 integration config. |
readAwsS3IntegrationConfigs(configs) | Reads a set of AWS S3 integration configs, and inserts some defaults for public Amazon AWS if not specified. |
readAzureIntegrationConfig(config) | Reads a single Azure integration config. |
readAzureIntegrationConfigs(configs) | Reads a set of Azure integration configs, and inserts some defaults for public Azure if not specified. |
readBitbucketCloudIntegrationConfig(config) | Reads a single Bitbucket Cloud integration config. |
readBitbucketCloudIntegrationConfigs(configs) | Reads a set of Bitbucket Cloud integration configs, and inserts one for public Bitbucket Cloud if none specified. |
readBitbucketIntegrationConfig(config) | Reads a single Bitbucket integration config. |
readBitbucketIntegrationConfigs(configs) | Reads a set of Bitbucket integration configs, and inserts some defaults for public Bitbucket if not specified. |
readBitbucketServerIntegrationConfig(config) | Reads a single Bitbucket Server integration config. |
readBitbucketServerIntegrationConfigs(configs) | Reads a set of Bitbucket Server integration configs. |
readGerritIntegrationConfig(config) | Reads a single Gerrit integration config. |
readGerritIntegrationConfigs(configs) | Reads a set of Gerrit integration configs. |
readGiteaConfig(config) | Parses a location config block for use in GiteaIntegration |
readGithubIntegrationConfig(config) | Reads a single GitHub integration config. |
readGithubIntegrationConfigs(configs) | Reads a set of GitHub integration configs, and inserts some defaults for public GitHub if not specified. |
readGitLabIntegrationConfig(config) | Reads a single GitLab integration config. |
readGitLabIntegrationConfigs(configs) | Reads a set of GitLab integration configs, and inserts some defaults for public GitLab if not specified. |
readGoogleGcsIntegrationConfig(config) | Reads a single Google GCS integration config. |
replaceGithubUrlType(url, type) | Takes a GitHub URL and replaces the type part (blob, tree etc). |
replaceGitLabUrlType(url, type) | Takes a GitLab URL and replaces the type part (blob, tree etc). |