ADR: Git Remote Support
name: Architecture Decision Record
about: Git Remote Support
Git Remote Support
Date: 2024-06-11
Status
What is the status, such as proposed, accepted, rejected, deprecated, superseded, etc.? Proposed
Context
What is the issue that we're seeing that is motivating this decision or change?
Git remote support is needed because users are using Hoppr to bundle Git packages (repos, source code, artifacts, etc.) with no standardized way to distribute those to a git instance on the target environment.
Decision
What is the change that we're proposing and/or doing?
For Git remote support, we will add a new target type git_remote
that includes config fields for the Host, target directory, and git command. Droppr would install the artifacts to the target directory and use git commands to push the updates to a remote git repository. Current suggested implementation does not support shallow clones.
Consequences
What becomes easier or more difficult to do because of this change?