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.3.tar.gz (6.1 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.3-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: salla_gitpuller-1.0.3.tar.gz
  • Upload date:
  • Size: 6.1 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.3.tar.gz
Algorithm Hash digest
SHA256 ee13a6672c41dd7be3215f998afa822684ae768b191bf516b2d5271e2a87582e
MD5 1342d8387cbc185d6c6096099f054536
BLAKE2b-256 c389a8226cdb91cc10a554607634fbb61f465dc88cd73124ce678e14f6b0c785

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for salla_gitpuller-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d4837894054917653533503b474eb7fd57844e1442b8340d0846e527b9bf8b9a
MD5 e0516a5aae2a185df15b935d2cefaf46
BLAKE2b-256 d379a8637eb5b638a71679a4632acad7de92637f6aadf17e8956123ccef71d09

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