Skip to main content

Schemas used by Mozilla Nimbus and related projects.

Project description

Nimbus Schemas

This directory contains a package of schemas published to various repositories for use by different parts of the Mozilla Nimbus experimentation ecosystem.

Installation/Usage

Prerequisites

  • python ^3.10
  • poetry ^1.2.2
  • node ^16
  • yarn ^1.22

Common Operations

From project root (i.e., parent to this directory)

  • Install: make schemas_install
  • Run linting and tests: make schemas_check
  • Code formatting: make schemas_code_format

Building Python Schemas Package

make schemas_build

Building Typescript Schemas Package

make schemas_build_npm

Schemas

Jetstream

Contains schemas describing analysis results, metadata, and errors from Jetstream.

Deployment

The build and deployment occurs automatically through CI. A deployment is triggered on merges into the main branch when the version number changes. Schemas are published to various repos for access in different languages.

Versioning

mozilla-nimbus-schemas uses a date-based versioning scheme (CalVer). The format is yyyy.m.MINOR, where m is the non-zero-padded month, and MINOR is an incrementing number starting from 1 for each month. Notably, this MINOR number does NOT correspond to the day of the month. For example, the second release in June of 2023 would have a version of 2023.6.2.

Version Updates

  1. To update the published package versions, update the VERSION file in this directory.
  • From the project root, you can run the helper script:
    • ./scripts/set_schemas_version.sh <version>
  • Or write to the file:
    • echo <version> > ./schemas/VERSION
  • Or simply edit the file in any text editor.
  1. Update the package versions with the new VERSION file:
  • make schemas_version

Python

Published to PyPI as mozilla-nimbus-schemas

Typescript

Published to NPM as @mozilla/nimbus-schemas

Rust

Not yet implemented.

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

mozilla_nimbus_schemas-2023.9.3.tar.gz (17.0 kB view details)

Uploaded Source

Built Distribution

mozilla_nimbus_schemas-2023.9.3-py3-none-any.whl (27.4 kB view details)

Uploaded Python 3

File details

Details for the file mozilla_nimbus_schemas-2023.9.3.tar.gz.

File metadata

File hashes

Hashes for mozilla_nimbus_schemas-2023.9.3.tar.gz
Algorithm Hash digest
SHA256 a25a8c9f9bc30ecbf1e157ae2497fef61df24a81c391fbd5ec2c64b01a74674d
MD5 7e64047766be2235ba2b105413dc35f9
BLAKE2b-256 be369f1341f1a3b39097f65332758e233131f8140d2a521513c212564e5f937c

See more details on using hashes here.

Provenance

File details

Details for the file mozilla_nimbus_schemas-2023.9.3-py3-none-any.whl.

File metadata

File hashes

Hashes for mozilla_nimbus_schemas-2023.9.3-py3-none-any.whl
Algorithm Hash digest
SHA256 64c422ad5e5a3f69f413a8e2363a48c9bd6179a1484893f3b5dafbfd126fed2c
MD5 7db283274b0830554bad33a8bf74e22c
BLAKE2b-256 b867db7460e815ce4d4dfad5bffc60d3575b72d47d865ef9e672fc87f710e7a7

See more details on using hashes here.

Provenance

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