mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 01:05:45 +00:00
e6c9007806
We add new metrics `distro` and `distro_version`. Their meaning varies based on the actual OS: 1. For Linux, the pair will be the name of the distribution and the distribution's version (e.g. `ubuntu`/`20.04`); 2. for macOS, the pair will be the string `macos` and the macOS version (e.g. `10.15.7`); and 3. for Windows, the pair will be the string (`windows`, `MAJOR.MINOR.BUILD`); 4. and for all other OS'es, the first will be the value of `sys.platform`, and the version string will be empty. Differential Revision: https://phabricator.services.mozilla.com/D94781 |
||
---|---|---|
.. | ||
docs | ||
mach | ||
bash-completion.sh | ||
metrics.yaml | ||
pings.yaml | ||
README.rst | ||
setup.cfg | ||
setup.py |
==== mach ==== Mach (German for *do*) is a generic command dispatcher for the command line. To use mach, you install the mach core (a Python package), create an executable *driver* script (named whatever you want), and write mach commands. When the *driver* is executed, mach dispatches to the requested command handler automatically. To learn more, read the docs in ``docs/``.