Граф коммитов

4676 Коммитов

Автор SHA1 Сообщение Дата
Jan-Erik Rediger 48e63f9452
Merge pull request #1769 from mozilla/swift/handle-non-utf8-systemdata
Use 'Unknown' value if system data can't be decoded as UTF-8
2021-09-02 10:28:57 +02:00
Jan-Erik Rediger a47ea99df7
Merge pull request #1772 from mozilla/chutten-patch-1
[doc only]
2021-09-02 10:22:17 +02:00
Jan-Erik Rediger e92e346ba0
Merge pull request #1774 from travis79/fix-ios-missing-quantitymetrictype 2021-09-02 10:07:22 +02:00
Travis Long 289c1f9860 Fix QuantityMetricType test 2021-09-01 18:06:23 -05:00
Travis Long 0fdef0e7dd Fix up issues in QuantityMetric.swift 2021-09-01 17:55:44 -05:00
Travis Long 1f63b23af6 Add QuantityMetricTypeTests.swift 2021-09-01 17:25:43 -05:00
Travis Long 61ca2aac7e This adds the QuantityMetricType to the Xcode project file
The file wasn't added for some reason and so it wasn't being built and linked into the resulting Glean framework.
2021-09-01 17:20:06 -05:00
brizental 621a0974f4 Reword event metric expensiveness warning [doc only] 2021-09-01 17:39:40 +02:00
Chris H-C dbd18d2e26
Have quantity docs skip a non-counter example for counters
And nix the bit about clearing values. That's a lifetime thing, not a "counter vs quantity" thing.
2021-09-01 11:22:55 -04:00
Jan-Erik Rediger 6eff40739a
Merge pull request #1770 from mozilla/chutten-patch-1
C++ timing_distribution needs std::move [doc only]
2021-09-01 10:55:02 +02:00
Alessio Placitelli 5cbe8ab243
Merge pull request #1771 from mozilla/dependabot/cargo/ctor-0.1.21
Bump ctor from 0.1.20 to 0.1.21
2021-09-01 08:46:24 +02:00
dependabot[bot] e6ee37c842
Bump ctor from 0.1.20 to 0.1.21
Bumps [ctor](https://github.com/mmastrac/rust-ctor) from 0.1.20 to 0.1.21.
- [Release notes](https://github.com/mmastrac/rust-ctor/releases)
- [Commits](https://github.com/mmastrac/rust-ctor/commits)

---
updated-dependencies:
- dependency-name: ctor
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-01 05:04:08 +00:00
Chris H-C db24d37d98
C++ timing_distribution needs std::move
Noticed by jrmuizel
2021-08-31 16:39:49 -04:00
Jan-Erik Rediger 0fc74a2207 Use 'Unknown' value if system data can't be decoded as UTF-8 2021-08-31 11:51:19 +02:00
Jan-Erik Rediger 2b44a7795d
Merge pull request #1767 from mozilla/dependabot/pip/glean-core/python/pytest-6.2.5 2021-08-31 10:04:44 +02:00
Jan-Erik Rediger 2c9a70f72d
Merge pull request #1768 from mozilla/dependabot/cargo/flate2-1.0.21
Bump flate2 from 1.0.19 to 1.0.21
2021-08-31 10:04:26 +02:00
dependabot[bot] 2a42aa40d2
Bump flate2 from 1.0.19 to 1.0.21
Bumps [flate2](https://github.com/rust-lang/flate2-rs) from 1.0.19 to 1.0.21.
- [Release notes](https://github.com/rust-lang/flate2-rs/releases)
- [Commits](https://github.com/rust-lang/flate2-rs/compare/1.0.19...1.0.21)

---
updated-dependencies:
- dependency-name: flate2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-31 05:03:26 +00:00
dependabot[bot] ce5d2603a2
Bump pytest from 6.2.4 to 6.2.5 in /glean-core/python
Bumps [pytest](https://github.com/pytest-dev/pytest) from 6.2.4 to 6.2.5.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/6.2.4...6.2.5)

---
updated-dependencies:
- dependency-name: pytest
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-31 05:02:00 +00:00
Jan-Erik Rediger 3bb94615f1
Merge pull request #1763 from mozilla/dependabot/pip/glean-core/python/black-21.8b0 2021-08-30 15:32:38 +02:00
dependabot[bot] 891da20e92
Bump black from 21.7b0 to 21.8b0 in /glean-core/python
Bumps [black](https://github.com/psf/black) from 21.7b0 to 21.8b0.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](https://github.com/psf/black/commits)

---
updated-dependencies:
- dependency-name: black
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-30 13:17:14 +00:00
Jan-Erik Rediger bb077c7b09
Merge pull request #1766 from mozilla/py/remove-feature-resolver
Unbreak Python CI
2021-08-30 15:16:20 +02:00
Jan-Erik Rediger 3609fd37f8 Upgrade wheel and setuptools
Changes in setuptools_scm break older versions of the setuptools.
While that is trying to be fixed in setuptools_scm we can force newer
versions of these tools to make it work on CI again.
2021-08-30 15:04:33 +02:00
Jan-Erik Rediger a58ddd59d0 No need for 2020-resolver anymore
From CI:

> WARNING: --use-feature=2020-resolver no longer has any effect, since it is now the default dependency resolver in pip. This will become an error in pip 21.0.
2021-08-30 14:49:00 +02:00
Jan-Erik Rediger 010f66080d
Merge pull request #1761 from mozilla/text-metric 2021-08-30 14:44:52 +02:00
Jan-Erik Rediger 46e7449f6d Document new text metric
[doc only]
2021-08-26 12:52:30 +02:00
Jan-Erik Rediger fdc60a1c77 Fix naming in quantity metric docs
[doc only]
2021-08-26 11:07:28 +02:00
Jan-Erik Rediger 7d7330f67d
Merge pull request #1760 from mozilla/release-v40.1.0
Merge back v40.1.0
2021-08-25 11:28:11 +02:00
Jan-Erik Rediger c5c718201d Bumped version to 40.1.0 2021-08-25 11:07:59 +02:00
Jan-Erik Rediger a421f6f9f0 Mention capability change 2021-08-25 11:07:25 +02:00
Jan-Erik Rediger 7fd822333b
Merge pull request #1759 from mozilla/gv-fixes
Capability is now added by GeckoView directly
2021-08-25 11:05:40 +02:00
Jan-Erik Rediger b55bb08c5f Capability is now added by GeckoView directly 2021-08-25 10:35:57 +02:00
Jan-Erik Rediger 17f2c53a44 Fix: AssertionError -> new AssertionError 2021-08-25 10:35:50 +02:00
Beatriz Rizental 262dc6437d
Merge pull request #1758 from mozilla/brizental-patch-1
Update ping rate limiting information with Glean.js information [doc only]
2021-08-24 12:20:47 +02:00
brizental 7e73ac1b1f Update rate limiting docs with correct max pings [doc only] 2021-08-23 15:10:36 +02:00
Jan-Erik Rediger f2192a70ac
Merge pull request #1756 from badboy/glean-failOnVersionConflict
Bug 1726765 - Force a compile failure when multiple Glean versions are detected in the build
2021-08-23 15:08:29 +02:00
Beatriz Rizental bfb35ee60a
Update ping rate limiting information with Glean.js information [doc only] 2021-08-23 14:49:34 +02:00
Jan-Erik Rediger b70856af8a Force a compile failure when multiple Glean versions are detected in the build
Because of the native code shipped it's essential that all downstream
users rely on the same Glean version.
Gradle can be overeager in chosing a single version when multiple are in
the dependency tree, always picking the latest, even across potentially
breaking-change (that is: major) releases.

Gradle has a way to influence dependency resolution and can even
disallow differing versions using `failOnVersionConflict`.
But that applies to all dependencies and there's no native way to
enforce that for a single dependency.
So the recommended solution[1] is to "manually" check if a dependency was
resolved from multiple versions and raise an issue.

For the ease of consumption by users, such as Fenix, we can apply this
in the Gradle plugin, because that's guaranteed to execute as part of
the build (because if not how are they even using Glean?)

[1]: https://github.com/gradle/gradle/issues/8813
2021-08-23 11:50:19 +02:00
Beatriz Rizental 795a5d1827
Merge pull request #1725 from brizental/1719136-ping-reasons
Bug 1719136 - Use enum for ping reason in JS ref [doc only]
2021-08-19 11:02:03 +02:00
Jan-Erik Rediger 7132d89f69
Merge pull request #1755 from chutten/bug1716331
bug 1716331 - Document Firefox Desktop syntax for testBeforeNextSubmit [doc only]
2021-08-18 11:58:20 +02:00
Jan-Erik Rediger 2a8b624640
Merge pull request #1754 from mozilla/consistent-app-build 2021-08-18 11:57:42 +02:00
Jan-Erik Rediger 426b442352 Don't set Android-only metrics in the RLB 2021-08-18 09:55:11 +02:00
Jan-Erik Rediger 7ed24eaf3a Use a consistent `Unknown` value for the app build 2021-08-18 09:55:11 +02:00
Chris H-C 6337058667 bug 1716331 - Document Firefox Desktop syntax for testBeforeNextSubmit 2021-08-17 14:18:25 -04:00
Jan-Erik Rediger 2db390cc21
Merge pull request #1751 from mozilla/skip-docs-generation 2021-08-16 18:25:19 +02:00
Jan-Erik Rediger b7cd00f185 Do not generate markdown docs as part of Kotlin build
Since 186fec7d85 the generated docs include an extra header to point to
the Glean.js docs.
Because of this the file generated by the gradle plugin will always
differ from what's in the repository.

As the easy way out we just skip generating this file from Kotlin now.
It can be manually created using `make metrics-docs`, which does the
right thing.

(Alternatively we could add an post-glean plugin hook to modify the
file, but ... nah.)

[doc only]
2021-08-16 17:45:33 +02:00
Jan-Erik Rediger 8a655c9615
Merge pull request #1750 from mozilla/alessios-back-alright 2021-08-16 16:02:20 +02:00
Jan-Erik Rediger d54233777c
Merge pull request #1749 from mozilla/kotlin-upgrade-fix-ci 2021-08-16 16:02:09 +02:00
Beatriz Rizental 0dd8f0c5b3
Merge pull request #1744 from brizental/1722455-s-telemetry-agent-docs
Bug 1722455 - Update pings documentation with Glean.js information
2021-08-16 14:09:57 +02:00
Beatriz Rizental e882ab968f
Apply suggestions from code review
Co-authored-by: Jan-Erik Rediger <badboy@archlinux.us>
2021-08-16 13:49:46 +02:00
Jan-Erik Rediger d7eadfaadf Add Alessio back to the reviewer list
[doc only]

Revert "Temporarily remove Alessio from auto-review rotation."

This reverts commit 0a848eee38.
2021-08-16 13:11:11 +02:00