Skip to main content

Manage nested GitLab repositories seamlessly(ish)

Project description

gitconductor

tests Coverage License Ruff Documentation PyPI Python versions

gitconductor is a command-line tool and Python library for managing git operations over nested GitLab groups using the official GitLab Python API. It traverses group and subgroup hierarchies, runs recursive git commands, and can work with Python packages inside a cloned hierarchy.

Full documentation: gitconductor.readthedocs.io.

Features

  • Recursive group traversal across nested GitLab groups
  • Git operations across many projects, such as clone, branch, checkout, add, commit, status, and push
  • Hierarchy and access visualisation with Rich tables and trees
  • Python package helpers for requirements, installation, and wheel building
  • CLI and Python API entry points

Installation

pip install gitconductor

Configuration

Gitconductor needs a GitLab Personal Access Token. The quickest setup is:

export GITCONDUCTOR_GITLAB_API_KEY=<my-private-key>

For self-hosted GitLab, set the GitLab URL too:

export GITCONDUCTOR_GITLAB_URL=https://gitlab.example.com

Gitconductor can also store settings in a TOML file. By default, this is:

~/.config/gitconductor/gitconductor.toml

The location can be changed via GITCONDUCTOR_CONFIG or the top-level --cfg CLI option.

Quick Start

gitconductor clone my-group
cd my-group
gitconductor status
gitconductor viz tree

Run commands from a subgroup or project directory to narrow the recursive scope.

Documentation

See the full documentation for:

Development & Contributing

Contributions are welcome. See CONTRIBUTING.md.

License

MIT License. See LICENCE.md.

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

gitconductor-0.6.0.tar.gz (17.1 kB view details)

Uploaded Source

Built Distribution

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

gitconductor-0.6.0-py3-none-any.whl (20.6 kB view details)

Uploaded Python 3

File details

Details for the file gitconductor-0.6.0.tar.gz.

File metadata

  • Download URL: gitconductor-0.6.0.tar.gz
  • Upload date:
  • Size: 17.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for gitconductor-0.6.0.tar.gz
Algorithm Hash digest
SHA256 b643c97d4fbe9b1eccb0ee1af8fc4f91918e2dfdcdd7020091c92c4fa639574f
MD5 d5f36fa3bcdd4ba1b5c854c74c17b2c6
BLAKE2b-256 a4002669840ee9e141f9b05009db54b0f677a9ae75f01cd897efb32bcbf02621

See more details on using hashes here.

File details

Details for the file gitconductor-0.6.0-py3-none-any.whl.

File metadata

  • Download URL: gitconductor-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 20.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for gitconductor-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c7ee188b209de6e880ceb395593a61bdb96085d071fbdee989122848f28b6613
MD5 29508e0dfd92116108b44c72502ce5cd
BLAKE2b-256 5f06a49fce4d03f340428c1788936eeb4e3443de466b78107ec6dc5cb0237ad8

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