Commit Graph
56 Commits
Author SHA1 Message Date
Chris H-C 3c55f43e36 Bug 1910976 - Upgrade to glean_parser v14.5.1 r=TravisLong,mach-reviewers,ahal
Differential Revision: https://phabricator.services.mozilla.com/D218462
2024-08-08 14:58:04 +00:00
Chris H-C a985699096 Bug 1907945 - Upgrade to glean_parser v14.3.0 r=TravisLong,mach-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D217603
2024-07-25 13:40:53 +00:00
Sandor Molnar 14b3a353fc Backed out changeset 4f5fd55945a5 (bug 1907991) for causing build bustages. CLOSED TREE 2024-07-17 17:52:03 +03:00
Chris H-C ce48d48794 Bug 1907991 - Vendor glean_parser v14.2.0 r=janerik,mach-reviewers
Also instruct `mach` to use the vendored `glean_parser` instead of the one it
would otherwise pull down from `pip` as part of its `glean_sdk` dep.

This unfortunately ties updates of `mach`'s `glean_sdk` to any updates m-c gets
for its `glean_parser`. It's required to ensure `./mach build` always uses the
vendored `glean_parser` (see bug 1908020).

Differential Revision: https://phabricator.services.mozilla.com/D216717
2024-07-17 14:34:39 +00:00
Jan-Erik Rediger 135c17cbef Bug 1894270 - Schedule pings alongside their parent ping r=chutten,mach-reviewers
This is a bit of a hack to make it all work.
On every `submit` of a ping we call into `schedule_pings` to also
schedule ride-along pings.

Preferably we would like to have that in glean-core, but for builtin
pings that won't work because they are not code-generated and thus will
never see their `schedules_pings` array.
So instead we generate a function in m-c that does the mapping and call
that in the ping wrapper used inside m-c.

Another side effect: `testBeforeNextSubmit` callbacks from
JavaScript/C++ will _not_ be called, because they are only on the JS/C++
object and not reachable from the Rust parts where we actually submit the
ride-along pings.

Differential Revision: https://phabricator.services.mozilla.com/D209671
2024-05-15 09:07:47 +00:00
Jan-Erik Rediger a941e9e8d8 Bug 1891745 - Update to Glean v60 and glean_parser v14 r=TravisLong,supply-chain-reviewers,mach-reviewers,android-reviewers,firefox-desktop-core-reviewers ,mconley,ahal,kaya
Differential Revision: https://phabricator.services.mozilla.com/D207869
2024-04-24 19:14:16 +00:00
Jan-Erik Rediger 0a1605e1fe Bug 1886479 - Update glean_parser in-tree to get faster yaml parser r=TravisLong,mach-reviewers,ahal
Differential Revision: https://phabricator.services.mozilla.com/D205863
2024-03-28 09:29:46 +00:00
Chris H-C 86e3e1fbce Bug 1882615 - Update glean_parser to v13.0.0 r=perry.mcmanis,mach-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D203186
2024-03-01 15:13:20 +00:00
Perry McManis 8e68e94339 Bug 1874923 - Update Glean to 56.1.0 r=janerik,supply-chain-reviewers,mach-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D199093
2024-01-22 15:45:27 +00:00
Jan-Erik Rediger 9b7567a12f Bug 1860506 - Update to Glean v55 and glean_parser v10. r=TravisLong,supply-chain-reviewers,mach-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D192960
2023-11-13 14:29:54 +00:00
Travis Long 7ad961010b Bug 1626969 - Include locale in Glean pings.r=chutten,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D185153
2023-08-07 11:02:56 +00:00
Jan-Erik Rediger 78a3cf64f8 Bug 1828066 - Upgrade glean_parser to v7.2.1 r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D177618
2023-05-11 11:25:34 +00:00
pmcmanis 0b23eab24a Bug 1821463 - Upgrade glean-parser to 7.1.0 r=TravisLong
Differential Revision: https://phabricator.services.mozilla.com/D172469
2023-03-14 13:16:31 +00:00
Jan-Erik Rediger 6b7f19247f Bug 1812615 - Update to Glean v52.2.0, glean_parser 7.0.0 and UniFFI 0.23. r=chutten,markh,glandium,supply-chain-reviewers
The in-tree UniFFI bindings were regenerated with:

    ./mach uniffi generate

Differential Revision: https://phabricator.services.mozilla.com/D168060
2023-01-31 11:12:05 +00:00
Chris H-C 32f00ab014 Bug 1805427 - Update glean_parser to 6.4.0 r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D164603
2023-01-16 18:51:18 +00:00
Sandor Molnar c3c918717b Backed out 4 changesets (bug 1805427) for causing xpc failures in toolkit/components/extensions/test/xpcshell/test_ext_scripting_persistAcrossSessions.js CLOSED TREE
Backed out changeset 9231b82f6a8b (bug 1805427)
Backed out changeset 9308ede8e265 (bug 1805427)
Backed out changeset b1c44a7274c5 (bug 1805427)
Backed out changeset 39a8c4bff42f (bug 1805427)
2022-12-15 18:43:29 +02:00
Chris H-C b8c32d36f7 Bug 1805427 - Update glean_parser to 6.4.0 r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D164603
2022-12-15 14:04:53 +00:00
Jan-Erik Rediger cbd5456a46 Bug 1799129 - Vendor Glean v51.8.0 and glean_parser 6.3.0 r=chutten,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D161276
2022-11-08 15:53:07 +00:00
Jan-Erik Rediger 03c4ad04b1 Bug 1783754 - Update to Glean v51.1.0. r=TravisLong,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D154088
2022-08-09 15:58:51 +00:00
Jan-Erik Rediger e447a2597f Bug 1773255 - Update to Glean v50.1.0 r=chutten,supply-chain-reviewers
Including glean_parser 6.1.1

Two important things in there:
* glean_parser: [data-review] Include extra keys' names and descriptions in data review template
* Glean: Derive `serde::{Deserialize, Serialize}` on `Lifetime` and `CommonMetricData`

Differential Revision: https://phabricator.services.mozilla.com/D149381
2022-06-15 15:39:33 +00:00
Jan-Erik Rediger 4ca6841988 Bug 1768834 - Switch to Glean with UniFFI integration r=glandium,chutten
Upgrades to Glean v50.0.1, which comes with a rewritten core and
UniFFI-powered bindings.
Glean has some API changes, so we swap it over to that. Mostly mechanical changes.
Also upgrades to inherent v1.0 in fog.
This matches what Glean uses internally and gets rid of one duplicated crate.

Also upgrades to glean-parser==6.0.1

One crate duplication now (change in `python/mozbuild/mozbuild/vendor/vendor_rust.py` required).
Some new crates now vendored.
These are transitive dependencies of Glean dependencies, all with valid
licenses and already used in other products (mobile).

Differential Revision: https://phabricator.services.mozilla.com/D146062
2022-06-07 12:37:20 +00:00
Jan-Erik Rediger eb58b01633 Bug 1754474 - Update to Glean 44.0.0 and glean_parser 5.0.1. r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D138446
2022-02-15 13:35:07 +00:00
Marian-Vasile Laza 74eb39b9b5 Backed out 4 changesets (bug 1754474) for causing bc test failures. CLOSED TREE
Backed out changeset c6dd8b681aca (bug 1754474)
Backed out changeset 596955256cc6 (bug 1754474)
Backed out changeset fc692b3c27a2 (bug 1754474)
Backed out changeset 59eb7951a5eb (bug 1754474)
2022-02-11 17:30:03 +02:00
Jan-Erik Rediger bff6764c22 Bug 1754474 - Update to Glean 44.0.0 and glean_parser 5.0.1. r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D138446
2022-02-11 14:27:38 +00:00
Jan-Erik Rediger 4bbff140fb Bug 1750544 - Upgrade to Glean v43.0.2. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D136138
2022-01-17 16:26:33 +00:00
Jan-Erik Rediger 2d1dbd7fb9 Bug 1744674 - Update to Glean v42.3.0 & glean_parser v4.3.1 r=chutten
Also updates the docs on how to update the glean_parser in-tree.
Also adds a `no_lint` exception to test pings to avoid breaking the
build.

Differential Revision: https://phabricator.services.mozilla.com/D133077
2021-12-13 11:24:50 +00:00
Narcis Beleuzu d5f770f02c Backed out changeset 7ca282be411f (bug 1744674) for python failures on test_site_compatibility.py. CLOSED TREE 2021-12-11 01:08:45 +02:00
Jan-Erik Rediger f7e7766bdb Bug 1744674 - Update to Glean v42.3.0 & glean_parser v4.3.1 r=chutten
Also updates the docs on how to update the glean_parser in-tree.
Also adds a `no_lint` exception to test pings to avoid breaking the
build.

Differential Revision: https://phabricator.services.mozilla.com/D133077
2021-12-09 09:30:20 +00:00
Mitchell Hentges 46dbb54a12 Bug 1713377: Change vendoring to use wheels where possible r=ahal,glandium
Vendoring wheels has three benefits:
* There's far less files, so Firefox checkouts will be smaller.
* It works around `zipp` not allowing `pip install`
  from extracted source `tar.gz` files. Now, we should
  be able to use the pip resolver against vendored
  packages, which will be needed for future
  mach virtualenv work.
* `./mach vendor python` takes far less time to execute.

Since we need the raw Python to be available to add to the `sys.path`,
we extract the wheels before putting them in tree.
Due to the structure of some wheels being less nested
than of a source `tar.gz`, `common_virtualenv_packages`
needed to be adjusted accordingly.

`install_pip_package()` had to be tweaked as well since you can't
`pip install` an extracted wheel. So, we "re-bundle" the wheel
before installing from a vendored package.

Replace python packages with wheels where possible

This contains the vendoring changes caused by the
last patch.

For reviewing, there's a couple things to note:
* A bunch of files are deleted, since there's generally
  less files in a wheel than in a source archive.
* There's a new `.dist-info` directory for each
  extracted wheel, so expect roughly 5 or
  6 new files for each wheel'd package.
* There should be no source code changes other than
  moves from package names changing from having
  `-` to having `_`.

Differential Revision: https://phabricator.services.mozilla.com/D116512
2021-06-16 15:53:16 +00:00
Jan-Erik Rediger 5c6124d595 Bug 1713398 - Implement the Glean custom distribution. r=chutten
Also includes an upgrade to glean_parser.
Enables GIFFT as well, mapping between Glean's custom distribution and
Firefox Telemetry's linear or exponential histograms directly.

Differential Revision: https://phabricator.services.mozilla.com/D117420
2021-06-15 07:42:15 +00:00
Butkovits Atila ac0deb7a03 Backed out changeset 66975f5a95e3 (bug 1713398) for causing build bustages. CLOSED TREE 2021-06-14 19:49:38 +03:00
Jan-Erik Rediger 1525c29733 Bug 1713398 - Implement the Glean custom distribution. r=chutten
Also includes an upgrade to glean_parser.
Enables GIFFT as well, mapping between Glean's custom distribution and
Firefox Telemetry's linear or exponential histograms directly.

Differential Revision: https://phabricator.services.mozilla.com/D117420
2021-06-14 15:11:05 +00:00
Jan-Erik Rediger 368ce7eacd Bug 1693486 - Update glean-parser to v3.4.0. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D116377
2021-06-02 16:07:56 +00:00
Chris H-C 1fc2c4f2ab Bug 1672951 - Upgrade glean_parser to 3.2.0 r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D114971
2021-05-12 19:04:26 +00:00
Jan-Erik Rediger b991dfc21a Bug 1698518 - Upgrade Glean to get new time API. r=chutten
This also includes an upgrade of glean_parser to v2.5.0
This was done using the following command:

    ./mach vendor python glean_parser==2.5.0

Differential Revision: https://phabricator.services.mozilla.com/D108448
2021-03-18 11:21:27 +00:00
Narcis Beleuzu 527ec297dd Backed out 3 changesets (bug 1678567, bug 1698518) for bustages on common_test.rs CLOSED TREE
Backed out changeset b270383193ea (bug 1678567)
Backed out changeset eb1a98bea60f (bug 1698518)
Backed out changeset eb28c5405782 (bug 1698518)
2021-03-18 12:59:46 +02:00
Jan-Erik Rediger 4b4dc4cf05 Bug 1698518 - Upgrade Glean to get new time API. r=chutten
This also includes an upgrade of glean_parser to v2.5.0
This was done using the following command:

    ./mach vendor python glean_parser==2.5.0

Differential Revision: https://phabricator.services.mozilla.com/D108448
2021-03-18 10:14:58 +00:00
Alessio Placitelli 03800e01f2 Bug 1675534 - Update glean-parser to v1.29.0. r=chutten
This version bump is required by the Rust glean-core version
bump to v33.3.3.

Depends on D96834

Differential Revision: https://phabricator.services.mozilla.com/D96835
2020-11-12 15:54:13 +00:00
Cosmin Sabou 806b1cf817 Backed out 4 changesets (bug 1675534) for mass test failures. CLOSED TREE
Backed out changeset 27ee1ce4cfc7 (bug 1675534)
Backed out changeset 8af8c98229a8 (bug 1675534)
Backed out changeset 242953f682a5 (bug 1675534)
Backed out changeset 72fd081de136 (bug 1675534)
2020-11-10 11:28:32 +02:00
Alessio Placitelli 93323d7a9d Bug 1675534 - Update glean-parser to v1.29.0. r=janerik
This version bump is required by the Rust glean-core version
bump to v33.1.2.

Differential Revision: https://phabricator.services.mozilla.com/D96305
2020-11-09 14:45:54 +00:00
Csoregi Natalia b7ca38466d Backed out 3 changesets (bug 1675534) for causing build bustage. CLOSED TREE
Backed out changeset ee45a6abdadf (bug 1675534)
Backed out changeset 2c75ab4daa47 (bug 1675534)
Backed out changeset 35d4d9bddadd (bug 1675534)
2020-11-09 13:36:09 +02:00
Alessio Placitelli 7ef2d2036d Bug 1675534 - Update glean-parser to v1.29.0. r=janerik
This version bump is required by the Rust glean-core version
bump to v33.1.2.

Differential Revision: https://phabricator.services.mozilla.com/D96305
2020-11-09 11:09:15 +00:00
Chris H-C ac3fdec97a Bug 1664306 - Bump vendored glean_parser version to 1.28.5 r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D90392
2020-09-22 15:21:55 +00:00
Chris H-C 265ab80fa4 Bug 1635260 - Update vendored glean_parser to 1.28.0 r=janerik
Using ./mach vendor python glean_parser==1.28.0

(this is the latest version)

Differential Revision: https://phabricator.services.mozilla.com/D84746
2020-07-29 16:53:10 +00:00
Bogdan Tara ed7c6247ed Backed out 5 changesets (bug 1635260) for glean related bustages CLOSED TREE
Backed out changeset 045709622337 (bug 1635260)
Backed out changeset 28491a3bf64b (bug 1635260)
Backed out changeset e4043a8d0eda (bug 1635260)
Backed out changeset 26841b57b728 (bug 1635260)
Backed out changeset ca3d0c1ab2f0 (bug 1635260)
2020-07-28 19:20:27 +03:00
Chris H-C ed52107931 Bug 1635260 - Update vendored glean_parser to 1.28.0 r=janerik
Using ./mach vendor python glean_parser==1.28.0

(this is the latest version)

Differential Revision: https://phabricator.services.mozilla.com/D84746
2020-07-28 14:51:24 +00:00
Narcis Beleuzu 744c67d2de Backed out 4 changesets (bug 1635260) for bustages on metrics.yaml . CLOSED TREE
Backed out changeset 40fca1886746 (bug 1635260)
Backed out changeset 71095f700b94 (bug 1635260)
Backed out changeset 320c91b98262 (bug 1635260)
Backed out changeset 62dd07b3dcda (bug 1635260)
2020-07-28 00:48:21 +03:00
Chris H-C 396a7a80db Bug 1635260 - Update vendored glean_parser to 1.28.0 r=janerik
Using ./mach vendor python glean_parser==1.28.0

(this is the latest version)

Differential Revision: https://phabricator.services.mozilla.com/D84746
2020-07-27 20:27:16 +00:00
Noemi Erli a89eb97573 Backed out 3 changesets (bug 1635260) for causing build bustages CLOSED TREE
Backed out changeset 69ac6ae983c7 (bug 1635260)
Backed out changeset ae1ead062088 (bug 1635260)
Backed out changeset 910206969054 (bug 1635260)
2020-07-24 22:15:17 +03:00
Chris H-C 06ed53accd Bug 1635260 - Update vendored glean_parser to 1.28.0 r=janerik
Using ./mach vendor python glean_parser==1.28.0

(this is the latest version)

Differential Revision: https://phabricator.services.mozilla.com/D84746
2020-07-24 17:47:49 +00:00