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}.

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.1.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.1-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: omdf-0.0.1.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","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.1.tar.gz
Algorithm Hash digest
SHA256 824d7aedfde088cc91268ebc9e33a530e55f714b667ea479f40bf2daab83a76e
MD5 ab75db139d6d09f361eae2ea193e44e3
BLAKE2b-256 16096fe732bbf21eaa4a96d208dc395a07f93e9e00113355a049ce9d93340da6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: omdf-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ca7f16762b6720ee67430e39ae2f6aa58d81059d06b1a17170eb87aabf0afb9d
MD5 17a4b1795b1e485c69d0ad44a5850e0f
BLAKE2b-256 3cc79fca1b0a05bc2367e7bd982d742653640851d1063bf1b94dc07d63d29373

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 Sentry Error logging StatusPage Status page