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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file metarepo-0.1.2.tar.gz.

File metadata

  • Download URL: metarepo-0.1.2.tar.gz
  • Upload date:
  • Size: 8.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.10 CPython/3.8.2 Linux/5.4.0-47-generic

File hashes

Hashes for metarepo-0.1.2.tar.gz
Algorithm Hash digest
SHA256 ccf173fe296709e29d510acea4c0245660f86b2043f91b8852246f8921ad1bb1
MD5 0b9a5489e937c245969c5396512badd0
BLAKE2b-256 fa93cad26a843de7d329286dafcfd21ba553f19eb8876a5eded03a3bcefe35eb

See more details on using hashes here.

File details

Details for the file metarepo-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: metarepo-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 10.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.10 CPython/3.8.2 Linux/5.4.0-47-generic

File hashes

Hashes for metarepo-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5a12550aa817cea1d266136cb7818c0874e4a9cc2839e8ad8acbbead72e30558
MD5 5b82824642b0014d2c9eba9281a6550a
BLAKE2b-256 e88ed4d6f4d83b6be2abb32229092d52704c33bb8de7af8a8e85980945649d2b

See more details on using hashes here.

Supported by

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