cumulusci.core.source package

Submodules

class cumulusci.core.source.github.GitHubSource(project_config, spec)[source]

Bases: object

fetch(path=None)[source]

Fetch the archive of the specified commit and construct its project config.

frozenspec

Return a spec to reconstruct this source at the current commit

resolve()[source]

Resolve a github source into a specific commit.

The spec must include: - github: the URL of the github repository

The spec may include one of: - commit: a commit hash - ref: a git ref - branch: a git branch - tag: a git tag - release: “latest” | “previous” | “latest_beta”

If none of these are specified, CumulusCI will look for the latest release. If there is no release, it will use the default branch.

class cumulusci.core.source.local_folder.LocalFolderSource(project_config, spec)[source]

Bases: object

fetch()[source]

Construct a project config referencing the specified path.

frozenspec

Module contents

class cumulusci.core.source.GitHubSource(project_config, spec)[source]

Bases: object

fetch(path=None)[source]

Fetch the archive of the specified commit and construct its project config.

frozenspec

Return a spec to reconstruct this source at the current commit

resolve()[source]

Resolve a github source into a specific commit.

The spec must include: - github: the URL of the github repository

The spec may include one of: - commit: a commit hash - ref: a git ref - branch: a git branch - tag: a git tag - release: “latest” | “previous” | “latest_beta”

If none of these are specified, CumulusCI will look for the latest release. If there is no release, it will use the default branch.

class cumulusci.core.source.LocalFolderSource(project_config, spec)[source]

Bases: object

fetch()[source]

Construct a project config referencing the specified path.

frozenspec
class cumulusci.core.source.NullSource[source]

Bases: object

frozenspec = None