glean-parser 16.2.0__tar.gz → 17.0.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {glean_parser-16.2.0 → glean_parser-17.0.1}/CHANGELOG.md +8 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/PKG-INFO +9 -1
- {glean_parser-16.2.0 → glean_parser-17.0.1}/docs/history.md +8 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/glean_parser/pings.py +4 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/glean_parser/schemas/pings.2-0-0.schema.yaml +15 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/glean_parser/templates/rust.jinja2 +1 -1
- {glean_parser-16.2.0 → glean_parser-17.0.1}/glean_parser/templates/swift.jinja2 +2 -1
- {glean_parser-16.2.0 → glean_parser-17.0.1}/glean_parser/util.py +1 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/glean_parser.egg-info/PKG-INFO +9 -1
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/data/pings.yaml +16 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/.circleci/config.yml +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/.editorconfig +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/.github/CODEOWNERS +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/.github/ISSUE_TEMPLATE.md +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/.github/dependabot.yml +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/.github/pull_request_template.md +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/.gitignore +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/.swiftlint.yml +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/AUTHORS.md +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/CODE_OF_CONDUCT.md +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/CONTRIBUTING.md +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/LICENSE +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/MANIFEST.in +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/Makefile +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/README.md +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/docs/Makefile +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/docs/_static/glean.jpeg +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/docs/authors.md +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/docs/conf.py +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/docs/contributing.md +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/docs/index.rst +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/docs/installation.md +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/docs/make.bat +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/docs/metrics-yaml.rst +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/docs/pings-yaml.rst +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/docs/readme.md +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/docs/tags-yaml.rst +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/glean_parser/__init__.py +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/glean_parser/__main__.py +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/glean_parser/coverage.py +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/glean_parser/data_review.py +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/glean_parser/go_server.py +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/glean_parser/javascript.py +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/glean_parser/javascript_server.py +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/glean_parser/kotlin.py +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/glean_parser/lint.py +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/glean_parser/markdown.py +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/glean_parser/metrics.py +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/glean_parser/parser.py +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/glean_parser/python_server.py +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/glean_parser/ruby_server.py +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/glean_parser/rust.py +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/glean_parser/rust_server.py +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/glean_parser/schemas/metrics.1-0-0.schema.yaml +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/glean_parser/schemas/metrics.2-0-0.schema.yaml +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/glean_parser/schemas/pings.1-0-0.schema.yaml +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/glean_parser/schemas/tags.1-0-0.schema.yaml +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/glean_parser/swift.py +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/glean_parser/tags.py +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/glean_parser/templates/data_review.jinja2 +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/glean_parser/templates/go_server.jinja2 +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/glean_parser/templates/javascript.buildinfo.jinja2 +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/glean_parser/templates/javascript.jinja2 +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/glean_parser/templates/javascript_server.jinja2 +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/glean_parser/templates/kotlin.buildinfo.jinja2 +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/glean_parser/templates/kotlin.jinja2 +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/glean_parser/templates/markdown.jinja2 +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/glean_parser/templates/python_server.jinja2 +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/glean_parser/templates/qmldir.jinja2 +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/glean_parser/templates/ruby_server.jinja2 +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/glean_parser/templates/rust_server.jinja2 +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/glean_parser/translate.py +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/glean_parser/translation_options.py +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/glean_parser/validate_ping.py +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/glean_parser.egg-info/SOURCES.txt +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/glean_parser.egg-info/dependency_links.txt +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/glean_parser.egg-info/entry_points.txt +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/glean_parser.egg-info/not-zip-safe +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/glean_parser.egg-info/requires.txt +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/glean_parser.egg-info/top_level.txt +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/pytest.ini +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/requirements_dev.txt +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/server_telemetry/sdk-metrics-compat.yaml +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/server_telemetry/server-side-pings.yaml +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/setup.cfg +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/setup.py +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/conftest.py +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/data/all_metrics.yaml +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/data/all_pings.yaml +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/data/bad_ping.yamlx +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/data/core.yaml +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/data/duplicate_labeled.yaml +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/data/duplicate_send_in_ping.yaml +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/data/empty.yaml +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/data/event_key_ordering.yaml +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/data/events_with_types.yaml +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/data/fxa-server-metrics.yaml +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/data/fxa-server-pings.yaml +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/data/go_server_custom_ping_only_metrics.yaml +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/data/go_server_custom_ping_only_pings.yaml +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/data/go_server_events_and_custom_ping_metrics.yaml +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/data/go_server_events_and_custom_ping_pings.yaml +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/data/go_server_events_only_metrics.yaml +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/data/go_server_metrics_unsupported.yaml +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/data/invalid-ping-names.yaml +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/data/invalid.yamlx +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/data/jwe.yaml +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/data/metric-with-tags.yaml +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/data/mixed-expirations.yaml +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/data/name_too_similar.yaml +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/data/object.yaml +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/data/old_event_api.yamlx +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/data/ordering.yaml +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/data/rate.yaml +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/data/ruby_server_metrics_unsupported.yaml +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/data/ruby_server_pings_unsupported.yaml +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/data/rust_server_custom_ping_only_metrics.yaml +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/data/rust_server_custom_ping_only_pings.yaml +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/data/rust_server_events_and_custom_ping_metrics.yaml +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/data/rust_server_events_and_custom_ping_pings.yaml +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/data/rust_server_events_only_metrics.yaml +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/data/rust_server_metrics_unsupported.yaml +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/data/schema-violation.yaml +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/data/send_if_empty_with_metrics.yaml +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/data/server_custom_ping_only_compare.go +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/data/server_custom_ping_only_compare.rs +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/data/server_events_and_custom_ping_compare.go +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/data/server_events_and_custom_ping_compare.rs +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/data/server_events_compare.rb +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/data/server_events_only_compare.go +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/data/server_events_only_compare.rs +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/data/server_metrics_no_events_no_pings.yaml +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/data/server_metrics_with_event.yaml +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/data/server_pings.yaml +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/data/single_labeled.yaml +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/data/smaller.yaml +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/data/tags.yaml +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/data/telemetry_mirror.yaml +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/data/text.yaml +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/data/text_invalid.yaml +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/data/unknown_ping_used.yaml +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/data/wrong_key.yamlx +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/data/yaml_nits.yamlx +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/detekt.yml +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/test-go/test.go.tmpl +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/test-js/package.json +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/test-js/test.js.tmpl +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/test-py/test.py +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/test-rb/test.rb.tmpl +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/test-rs/test.rs.tmpl +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/test_cli.py +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/test_go_server.py +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/test_javascript.py +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/test_javascript_server.py +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/test_kotlin.py +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/test_lint.py +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/test_markdown.py +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/test_metrics.py +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/test_parser.py +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/test_pings.py +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/test_python_server.py +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/test_ruby_server.py +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/test_rust.py +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/test_rust_server.py +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/test_swift.py +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/test_tags.py +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/test_translate.py +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/test_utils.py +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/test_validate_ping.py +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tests/util.py +0 -0
- {glean_parser-16.2.0 → glean_parser-17.0.1}/tools/extract_data_categories.py +0 -0
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
## 17.0.1
|
|
6
|
+
|
|
7
|
+
- BUGFIX: Fix missing `ping_arg` "`uploader_capabilities`" in util.py ([#786](https://github.com/mozilla/glean_parser/pull/786))
|
|
8
|
+
|
|
9
|
+
## 17.0.0
|
|
10
|
+
|
|
11
|
+
- BREAKING CHANGE: Support `uploader_capabilities` for pings ([bug 1920732](https://bugzilla.mozilla.org/show_bug.cgi?id=1920732))
|
|
12
|
+
|
|
5
13
|
## 16.2.0
|
|
6
14
|
|
|
7
15
|
- New lint: error when there are metrics whose names are too similar ([bug 1934099](https://bugzilla.mozilla.org/show_bug.cgi?id=1934099))
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: glean_parser
|
|
3
|
-
Version:
|
|
3
|
+
Version: 17.0.1
|
|
4
4
|
Summary: Parser tools for Mozilla's Glean telemetry
|
|
5
5
|
Home-page: https://github.com/mozilla/glean_parser
|
|
6
6
|
Author: The Glean Team
|
|
@@ -79,6 +79,14 @@ $ glean_parser check < ping.json
|
|
|
79
79
|
|
|
80
80
|
## Unreleased
|
|
81
81
|
|
|
82
|
+
## 17.0.1
|
|
83
|
+
|
|
84
|
+
- BUGFIX: Fix missing `ping_arg` "`uploader_capabilities`" in util.py ([#786](https://github.com/mozilla/glean_parser/pull/786))
|
|
85
|
+
|
|
86
|
+
## 17.0.0
|
|
87
|
+
|
|
88
|
+
- BREAKING CHANGE: Support `uploader_capabilities` for pings ([bug 1920732](https://bugzilla.mozilla.org/show_bug.cgi?id=1920732))
|
|
89
|
+
|
|
82
90
|
## 16.2.0
|
|
83
91
|
|
|
84
92
|
- New lint: error when there are metrics whose names are too similar ([bug 1934099](https://bugzilla.mozilla.org/show_bug.cgi?id=1934099))
|
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
## 17.0.1
|
|
6
|
+
|
|
7
|
+
- BUGFIX: Fix missing `ping_arg` "`uploader_capabilities`" in util.py ([#786](https://github.com/mozilla/glean_parser/pull/786))
|
|
8
|
+
|
|
9
|
+
## 17.0.0
|
|
10
|
+
|
|
11
|
+
- BREAKING CHANGE: Support `uploader_capabilities` for pings ([bug 1920732](https://bugzilla.mozilla.org/show_bug.cgi?id=1920732))
|
|
12
|
+
|
|
5
13
|
## 16.2.0
|
|
6
14
|
|
|
7
15
|
- New lint: error when there are metrics whose names are too similar ([bug 1934099](https://bugzilla.mozilla.org/show_bug.cgi?id=1934099))
|
|
@@ -26,6 +26,7 @@ class Ping:
|
|
|
26
26
|
notification_emails: List[str],
|
|
27
27
|
metadata: Optional[Dict] = None,
|
|
28
28
|
data_reviews: Optional[List[str]] = None,
|
|
29
|
+
uploader_capabilities: Optional[List[str]] = None,
|
|
29
30
|
include_client_id: bool = False,
|
|
30
31
|
send_if_empty: bool = False,
|
|
31
32
|
reasons: Optional[Dict[str, str]] = None,
|
|
@@ -57,6 +58,9 @@ class Ping:
|
|
|
57
58
|
if data_reviews is None:
|
|
58
59
|
data_reviews = []
|
|
59
60
|
self.data_reviews = data_reviews
|
|
61
|
+
if not uploader_capabilities:
|
|
62
|
+
uploader_capabilities = []
|
|
63
|
+
self.uploader_capabilities = uploader_capabilities
|
|
60
64
|
self.include_client_id = include_client_id
|
|
61
65
|
self.send_if_empty = send_if_empty
|
|
62
66
|
if reasons is None:
|
|
@@ -127,6 +127,21 @@ additionalProperties:
|
|
|
127
127
|
only takes effect when `metadata.include_info_sections` is `true`.
|
|
128
128
|
type: boolean
|
|
129
129
|
|
|
130
|
+
uploader_capabilities:
|
|
131
|
+
title: Uploader Capabilities
|
|
132
|
+
description: |
|
|
133
|
+
**Optional.**
|
|
134
|
+
|
|
135
|
+
An optional list of capability strings that the ping uploader must be
|
|
136
|
+
capable of supporting in order to upload this ping.
|
|
137
|
+
These are supplied exactly as defined (including order) to the uploader
|
|
138
|
+
every time upload is attempted for this ping.
|
|
139
|
+
The uploader must only attempt upload if it satisfies the supplied
|
|
140
|
+
capabilities. If not, it must refuse to upload the ping.
|
|
141
|
+
type: [array, "null"]
|
|
142
|
+
items:
|
|
143
|
+
type: string
|
|
144
|
+
|
|
130
145
|
send_if_empty:
|
|
131
146
|
title: Send if empty
|
|
132
147
|
description: |
|
|
@@ -97,7 +97,7 @@ CommonMetricData {
|
|
|
97
97
|
/// {{ obj.description|wordwrap() | replace('\n', '\n/// ') }}
|
|
98
98
|
#[rustfmt::skip]
|
|
99
99
|
pub static {{ obj.name|snake_case }}: ::glean::private::__export::Lazy<::glean::private::PingType> =
|
|
100
|
-
::glean::private::__export::Lazy::new(|| ::glean::private::PingType::new("{{ obj.name }}", {{ obj.include_client_id|rust }}, {{ obj.send_if_empty|rust }}, {{ obj.precise_timestamps|rust }}, {{ obj.include_info_sections|rust }}, {{ obj.enabled|rust }}, {{ obj.schedules_pings|rust }}, {{ obj.reason_codes|rust }}, {{ obj.follows_collection_enabled|rust }}));
|
|
100
|
+
::glean::private::__export::Lazy::new(|| ::glean::private::PingType::new("{{ obj.name }}", {{ obj.include_client_id|rust }}, {{ obj.send_if_empty|rust }}, {{ obj.precise_timestamps|rust }}, {{ obj.include_info_sections|rust }}, {{ obj.enabled|rust }}, {{ obj.schedules_pings|rust }}, {{ obj.reason_codes|rust }}, {{ obj.follows_collection_enabled|rust }}, {{ obj.uploader_capabilities|rust }}));
|
|
101
101
|
{% endfor %}
|
|
102
102
|
{% else %}
|
|
103
103
|
pub mod {{ category.name|snake_case }} {
|
|
@@ -144,7 +144,8 @@ extension {{ namespace }} {
|
|
|
144
144
|
enabled: {{obj.enabled|swift}},
|
|
145
145
|
schedulesPings: {{obj.schedules_pings|swift}},
|
|
146
146
|
reasonCodes: {{obj.reason_codes|swift}},
|
|
147
|
-
followsCollectionEnabled: {{obj.follows_collection_enabled|swift}}
|
|
147
|
+
followsCollectionEnabled: {{obj.follows_collection_enabled|swift}},
|
|
148
|
+
uploaderCapabilities: {{obj.uploader_capabilities|swift}}
|
|
148
149
|
)
|
|
149
150
|
|
|
150
151
|
{% endfor %}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: glean_parser
|
|
3
|
-
Version:
|
|
3
|
+
Version: 17.0.1
|
|
4
4
|
Summary: Parser tools for Mozilla's Glean telemetry
|
|
5
5
|
Home-page: https://github.com/mozilla/glean_parser
|
|
6
6
|
Author: The Glean Team
|
|
@@ -79,6 +79,14 @@ $ glean_parser check < ping.json
|
|
|
79
79
|
|
|
80
80
|
## Unreleased
|
|
81
81
|
|
|
82
|
+
## 17.0.1
|
|
83
|
+
|
|
84
|
+
- BUGFIX: Fix missing `ping_arg` "`uploader_capabilities`" in util.py ([#786](https://github.com/mozilla/glean_parser/pull/786))
|
|
85
|
+
|
|
86
|
+
## 17.0.0
|
|
87
|
+
|
|
88
|
+
- BREAKING CHANGE: Support `uploader_capabilities` for pings ([bug 1920732](https://bugzilla.mozilla.org/show_bug.cgi?id=1920732))
|
|
89
|
+
|
|
82
90
|
## 16.2.0
|
|
83
91
|
|
|
84
92
|
- New lint: error when there are metrics whose names are too similar ([bug 1934099](https://bugzilla.mozilla.org/show_bug.cgi?id=1934099))
|
|
@@ -125,3 +125,19 @@ nofollows:
|
|
|
125
125
|
- CHANGE-ME@test-only.com
|
|
126
126
|
metadata:
|
|
127
127
|
follows_collection_enabled: false
|
|
128
|
+
|
|
129
|
+
uploader-capabilities:
|
|
130
|
+
description:
|
|
131
|
+
A custom ping with a custom uploader_capabilities.
|
|
132
|
+
include_client_id: false
|
|
133
|
+
send_if_empty: true
|
|
134
|
+
bugs:
|
|
135
|
+
- http://bugzilla.mozilla.com/1920732
|
|
136
|
+
data_reviews:
|
|
137
|
+
- http://nowhere.com/reviews
|
|
138
|
+
notification_emails:
|
|
139
|
+
- CHANGE-ME@test-only.com
|
|
140
|
+
metadata:
|
|
141
|
+
include_info_sections: false
|
|
142
|
+
uploader_capabilities:
|
|
143
|
+
- ohttp
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{glean_parser-16.2.0 → glean_parser-17.0.1}/glean_parser/templates/javascript.buildinfo.jinja2
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{glean_parser-16.2.0 → glean_parser-17.0.1}/tests/data/go_server_custom_ping_only_metrics.yaml
RENAMED
|
File without changes
|
{glean_parser-16.2.0 → glean_parser-17.0.1}/tests/data/go_server_custom_ping_only_pings.yaml
RENAMED
|
File without changes
|
{glean_parser-16.2.0 → glean_parser-17.0.1}/tests/data/go_server_events_and_custom_ping_metrics.yaml
RENAMED
|
File without changes
|
{glean_parser-16.2.0 → glean_parser-17.0.1}/tests/data/go_server_events_and_custom_ping_pings.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{glean_parser-16.2.0 → glean_parser-17.0.1}/tests/data/rust_server_custom_ping_only_metrics.yaml
RENAMED
|
File without changes
|
{glean_parser-16.2.0 → glean_parser-17.0.1}/tests/data/rust_server_custom_ping_only_pings.yaml
RENAMED
|
File without changes
|
|
File without changes
|
{glean_parser-16.2.0 → glean_parser-17.0.1}/tests/data/rust_server_events_and_custom_ping_pings.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{glean_parser-16.2.0 → glean_parser-17.0.1}/tests/data/server_events_and_custom_ping_compare.go
RENAMED
|
File without changes
|
{glean_parser-16.2.0 → glean_parser-17.0.1}/tests/data/server_events_and_custom_ping_compare.rs
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{glean_parser-16.2.0 → glean_parser-17.0.1}/tests/data/server_metrics_no_events_no_pings.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|