Skip to main content

git; Mirror from Upstream to Local to Downstream

Project description

PyPI

Provide a list of repository upstream/downstream pairs such as:

repos:
  - name: "spdk"
    upstream: "https://github.com/spdk/spdk"
    downstream: "ssh://git@example.com/somewhere/else/spdk.git"
  - name: "dpdk"
    upstream: "https://github.com/spdk/dpdk.git"
    downstream: "ssh://git@example.com/somewhere/else/dpdk.git"

In a file and name it as e.g. repos.yml. Then invoke muld:

muld --yaml repos.yml --mirrors $HOME/mirrors

It will initially clone the upstream, if it exists then just fetch and prune, then push tags to downstream.

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

muld-0.0.1.tar.gz (3.4 kB view hashes)

Uploaded Source

Built Distribution

muld-0.0.1-py2.py3-none-any.whl (3.4 kB view hashes)

Uploaded Python 2 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