Skip to main content

A lightweight utility to git pull a repository using SSH deploy keys stored in environment variables

Project description

gitpuller

Usage

from gitpuller import GitPullExecutor

executor = GitPullExecutor(slack_webhook_url="your_webhook_url", use_mage_ai=True)
result = executor.execute_with_alerting(
    repo_path="/path/to/repo",
    git_url="git@github.com:user/repo.git",
    branch="master",
    workspace_name="workspace1"
)

Build

rm -rf build dist *.egg-info
python -m build

Upload to PyPI and update version in pyproject.toml.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

salla_gitpuller-1.0.2.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

salla_gitpuller-1.0.2-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

Details for the file salla_gitpuller-1.0.2.tar.gz.

File metadata

  • Download URL: salla_gitpuller-1.0.2.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.0

File hashes

Hashes for salla_gitpuller-1.0.2.tar.gz
Algorithm Hash digest
SHA256 3b47cfb0e027bf384e640930ba09a402ad7867d48757012e8ee0df80213de3ed
MD5 658b5b61facbe3c51d00268358fb9dbd
BLAKE2b-256 1a9168b576403bdeed6ea3439fa1c860e269837457ebdc4e386946ce1d6e92d3

See more details on using hashes here.

File details

Details for the file salla_gitpuller-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for salla_gitpuller-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c9976a16750eab130ce4e711369cce7c3216106646a4647ffb4584ad95bd6cad
MD5 b61f3a4195705be55ff98666f590838f
BLAKE2b-256 deb24537b03838cdcd0d37d5446f15f6be4028ea413f628d4986be31ee6b9aa5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page