Skip to main content

Open Mirror Definition File

A tiny specification for defining mirrors, made for both humans and programs to consume.

Why does this exist?

As I started migrating to a one canonical to many read-only mirrors model for my repositories, it got really hard to communicate to people (and now AIs) where and how to find these mirrors and in what order to try them. So it sparked this, a tiny specification for me and hopefully others to specify how and where to access their code.

What does an OMDF.yml file look like?

A simple OMDF.yml file looks something like this...

# Open Mirror Definition File
# ---------------------------
# Higher equals better
# 
# View the specification and its Python type definitions here:
# https://forge.kemonomimi.moe/otakuemily/omdf

mirrors:
  github.com:
    source: https://github.com/amy/a-super-cool-project
    weight: 30
    writable: false

  gitlab.com:
    source: https://gitlab.com/amy/a-super-cool-project
    weight: 20
    writable: false

  codeberg.org:
    source: https://codeberg.org/amy/a-super-cool-project
    weight: 10
    canonical: true
    writable: true

OMDF Rules

  • A OMDF file MUST be represented in YAML (with either .yml or .yaml extention).
  • The file MUST be called OMDF.{yml,yaml}.

OMDF SDK

The specification type definitions SDK can be found on PyPI and the Kemonoforge Package Registry.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

omdf-0.0.2.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

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

omdf-0.0.2-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file omdf-0.0.2.tar.gz.

File metadata

  • Download URL: omdf-0.0.2.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.2 {"installer":{"name":"uv","version":"0.12.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"CachyOS Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for omdf-0.0.2.tar.gz
Algorithm Hash digest
SHA256 4fb892cadd4ff7d7e2025679334d13a0cd09f213045db6b03f72edfc106d4281
MD5 da4bd34bec74e987f2f644686e5cbecf
BLAKE2b-256 38e430f066540b60b2bf5f3873c78b62ac9d64b2e242809496e3e87fdccca171

See more details on using hashes here.

File details

Details for the file omdf-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: omdf-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.2 {"installer":{"name":"uv","version":"0.12.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"CachyOS Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for omdf-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d7154af387f95252927956101d05cc11437cdc251ea517808e77e3cfe2c3cd09
MD5 cdf577ab8888e13e2139c1c0a7793825
BLAKE2b-256 4a5eef675b88b3a6b794b695f12be27ea2a8807ae61bba86c70ba511cd7c026a

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 files

0.0.1

2 files

Supported by

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