Skip to main content

Centrally configure your decentralised git repo

Project description

py-repoconf

PyPI - Python Version PyPI - Types GitHub License 🔧 test 💡 typecheck 🛠️ lint 📊 coverage 📤 Upload Python Package PyPI - Version


🧠 Centrally configure your decentralised 🐙 git repo.

Git, being an awesomely decentralised system, has ways to have decentralised configurations per user. However, times require certain configurations to be shared and tracked centrally among various collaborators. Some examples of centrally sharable configurations are:

  • 💻 Branch descriptions (or better, branch READMEs).
  • 💡Issues/Features/Tasks related to the repo.
  • 🪼 Certain properties that closely relate to the repo.
  • 📕 Rules related to per-branch collaborations and conventions.
  • 🔒 Encrypted secrets.
  • 🎁 Deployment, packaging and distribution mechanics.
  • ⬆️ ... and more

Repoconf is developed to address this issue. It stores central configuration in the __repoconf/default/main branch and this centrally stored distributed configuration can be:

  • 🟢 accessed using git config commands and aliases
  • ➕ added
  • ➖ removed
  • ↗️ pushed
  • ↙️ pulled

... just like any other git branches 👏👻.

Quick Start

Command usage

  • List all the configurations for the current repo

    repoconf config --list
    
  • Add configuration

    repoconf config branch.my-branch.description "This branch is created for something which one may not readily remember in the future."
    repoconf config branch.my-sharable-branch.description "This branch is to be shared with others and thus requires concise description on what it is created for."
    

... supports nearly all options that git config command supports. See git config documentation for more details.

Installation

pip install repoconf

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

repoconf-0.0.0.dev0.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

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

repoconf-0.0.0.dev0-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

Details for the file repoconf-0.0.0.dev0.tar.gz.

File metadata

  • Download URL: repoconf-0.0.0.dev0.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for repoconf-0.0.0.dev0.tar.gz
Algorithm Hash digest
SHA256 1d141932ec01f632ae170fe70c88c6a97027477889c87fb8c5baa1506fcecfab
MD5 10a5bb5f35259546780d4777f2378d39
BLAKE2b-256 b227f7d4440085a56f4adc571643ddeed2e0cf0eaf8e39faad3e465a17890730

See more details on using hashes here.

Provenance

The following attestation bundles were made for repoconf-0.0.0.dev0.tar.gz:

Publisher: python-publish.yml on Vaastav-Technologies/py-repoconf

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file repoconf-0.0.0.dev0-py3-none-any.whl.

File metadata

  • Download URL: repoconf-0.0.0.dev0-py3-none-any.whl
  • Upload date:
  • Size: 8.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for repoconf-0.0.0.dev0-py3-none-any.whl
Algorithm Hash digest
SHA256 fceb7386bf96bfbe8db0f8e57a3786c5f1b3fa3665a72e5e868cbddb00c5ae11
MD5 b8e545b6977285fa6653f580041d865f
BLAKE2b-256 fa9f219e22aa7cf3265782a43a575454d53fd6bcdc4d1ef7a5cb3341f89b6038

See more details on using hashes here.

Provenance

The following attestation bundles were made for repoconf-0.0.0.dev0-py3-none-any.whl:

Publisher: python-publish.yml on Vaastav-Technologies/py-repoconf

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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