Skip to content

Latest commit

 

History

History
90 lines (76 loc) · 4.27 KB

CONTRIBUTING.md

File metadata and controls

90 lines (76 loc) · 4.27 KB

Contributing

Additions and corrections are welcome, from providers listing themselves as much as from anyone who spots a mistake.

Add or update a provider

  1. Create or edit providers/<id>.json. The id is lower-case letters, digits and single hyphens, and it never changes once merged. Start from an existing file; schema/provider.schema.json gives your editor completion and validation.

  2. Run the checks:

    go run ./cmd/providers fmt
    go run ./cmd/providers check

    fmt sorts lists and fixes the formatting. check reports everything else.

  3. Open a pull request and say where the data comes from.

No Go at hand? Open the pull request anyway; CI runs the same checks and a maintainer can format the file for you.

What gets accepted

  • Signals you can verify from the outside: AS numbers, name server and MX hosts, CNAME targets, reverse DNS names, HTTP response headers, IANA registrar IDs. Leave a field out rather than guess: a wrong signal is worse than a missing one.
  • One signal belongs to one provider. A platform that runs on another network lists its host name suffixes, or the holder name of its own address blocks, not the network's ASN.
  • Host name suffixes are names your customers point at (*.your-platform.app, your CNAME targets) or names dedicated to their servers. Never your corporate domain: status.your-company.com may well run somewhere else.
  • Name server suffixes are the domain of your name server hosts. In a zone where customers receive names of their own, such as free DNS subdomains, list your own name server hosts instead of the whole zone.
  • No public suffixes such as co.uk or github.io for name servers and mail; they would claim every name below them.
  • eu_operated: true only when the operating company is domiciled in the EU, the EEA or Switzerland and runs the service from there.
  • Names and labels are unique and written in Latin letters. A second entry under a known name, a label that names another provider's product, letters from other scripts and markup characters are refused.
  • A domain belongs to one provider. Once a provider lists names under example.com (host names, reverse DNS, name servers, MX or SPF includes), no other provider may list names under it.
  • Header tests must not catch other providers. A test for the mere presence of a header every server may send (server, via, …) is refused, and no test may match the value another provider's test looks for.
  • Patterns with * are added by maintainers only, each with a reason in check.go. They claim names nobody can list in advance.
  • A logo belongs to its company. Another company may not show it.

How we verify

  • CI checks your files twice: with the code of your pull request, and with the rules as they are on main. The second run decides; a pull request that changes the checker does not change the rules its own data is held to.
  • For every ASN in a pull request, the job summary lists the holder that the regional internet registry records (via RDAP). We compare it with the provider you claim it for.
  • Changes to an existing entry need a source. We may ask for proof, such as a mail from the provider's domain or a DNS TXT record.

Logos

  • SVG preferred. A single <svg xmlns="http://www.w3.org/2000/svg" viewBox="…"> root that carries nothing else, drawn with path, g, basic shapes, gradients, clipPath, mask, use and title. No scripts, styles, event handlers, comments or references outside the file. check tells you what is not allowed.
  • Every id starts with the file name and a hyphen (hostwinds-a in hostwinds.svg), so that logos inlined into one page never collide. Every reference points at an id in the same file, and a <use> never copies another <use>.
  • PNG must be square, 16 to 1024 pixels wide (128 looks best) and below 64 KiB, without text, EXIF or other metadata.
  • If Simple Icons or Iconify already has your logo, use si:<slug> or logos:<id> instead of a file.
  • By submitting a logo you confirm that you may share it so that it identifies the provider.

Removal

Brand owners can have a logo or an entry removed: open an issue, and we will act on it promptly.