Skip to main content

Git Meta Repository Manager

Project description

Metarepo: An alternative to git submodules

GitHub Workflow Status PyPI - License PyPI PyPI - Python Version

Metarepo is used to manage dependencies on other git repositories when git submodules is not sufficient. It was inspired by the repo tool by Google but instead of requiring the manifest to be stored in its own repository, it is stored in the same repository.

Demo

Installation

# Install from PyPI
pip3 install --upgrade metarepo

# Install from git using PIP
pip3 install --upgrade git+https://github.com/blejdfist/git-metarepo

Usage

You can run metarepo in two ways, standalone or using git. Both methods work the same and it is only a matter of personal taste.

git meta
metarepo

Create an initial manifest.yml configuration using the init command

git meta init

Synchronize the repositories

git meta sync

Manifest structure

repos:
  - url: https://github.com/blejdfist/pycodegen
    path: tools/pycodegen
    track: master
Field Explanation Required
url Git URL to clone Yes
path Where to clone the repo Yes
track What branch/tag to track No (default: master)

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

metarepo-0.1.2.tar.gz (8.6 kB view hashes)

Uploaded Source

Built Distribution

metarepo-0.1.2-py3-none-any.whl (10.3 kB view hashes)

Uploaded Python 3

Supported by

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