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.8.4
- node ^16
- yarn ^1.22
Common Operations
From project root (i.e., parent to this directory)
- Build:
make schemas_build
- Run linting and tests:
make schemas_check
- Code formatting:
make schemas_format
Building Python Schemas Package
make schemas_build_pypi
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
- 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.
- 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file mozilla_nimbus_schemas-2024.11.1.tar.gz
.
File metadata
- Download URL: mozilla_nimbus_schemas-2024.11.1.tar.gz
- Upload date:
- Size: 31.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c1d22046e33df6dab17eed7dd8c70ca4345b3ee1834d92aa36b57ea5c9ad341 |
|
MD5 | 55416d28d01e689e6312edac8f9de85f |
|
BLAKE2b-256 | 98fb7820917006bfb6343820f74c770c80d70dca876495d528727ba1c86cb96a |
File details
Details for the file mozilla_nimbus_schemas-2024.11.1-py3-none-any.whl
.
File metadata
- Download URL: mozilla_nimbus_schemas-2024.11.1-py3-none-any.whl
- Upload date:
- Size: 53.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7de5109233fafd1e037dad39ecb581fe71a47175832be93e9a10792bcdb00a9 |
|
MD5 | 50aa143862418ffffbdcab04c3b2be4d |
|
BLAKE2b-256 | 01af41b8163625f13466cd6c57e56d282b177f863097bc53b41413b7c623fa8e |