Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions devservices/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,6 @@ class DependencyType(StrEnum):
DEVSERVICES_ORCHESTRATOR_LABEL = "orchestrator=devservices"

DEPENDENCY_CONFIG_VERSION = "v1"
DEPENDENCY_GIT_PARTIAL_CLONE_CONFIG_OPTIONS = {
"protocol.version": "2",
"extensions.partialClone": "true",
"core.sparseCheckout": "true",
}

DEVSERVICES_RELEASES_URL = (
"https://api.github.com/repos/getsentry/devservices/releases/latest"
Expand Down
19 changes: 0 additions & 19 deletions devservices/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,13 +102,6 @@ def __str__(self) -> str:
return f"DependencyError: {self.repo_name} ({self.repo_link}) on {self.branch}"


class UnableToCloneDependencyError(DependencyError):
"""Raised when a dependency is unable to be cloned."""

def __str__(self) -> str:
return f"Unable to clone dependency: {self.repo_name} ({self.repo_link}) on {self.branch}"


class InvalidDependencyConfigError(DependencyError):
"""Raised when a dependency's config is invalid."""

Expand Down Expand Up @@ -142,18 +135,6 @@ def __init__(self, command: str, returncode: int, stderr: str):
self.stderr = stderr


class GitConfigError(Exception):
"""Base class for git config related errors."""

pass


class FailedToSetGitConfigError(GitConfigError):
"""Raised when a git config cannot be set."""

pass


class ContainerHealthcheckFailedError(Exception):
"""Raised when a container is not healthy."""

Expand Down
Loading
Loading