Michael Droettboom
b189d659ad
Add TWiG post ( #745 )
2020-02-29 03:44:52 +05:30
William Lachance
a3e3fd2b5f
Better docs on setting a ping tag in python ( #741 )
...
* Better docs on setting a ping tag in python
* Update python.md
* Update per Mike's suggestion
2020-02-28 23:22:45 +05:30
Michael Droettboom
9f1f6df3fb
Update the synchronous communication channel ( #744 )
2020-02-28 21:40:47 +05:30
Alessio Placitelli
53f5308209
Merge pull request #716 from Dexterp37/app_lifetime_docs
...
Clarify the usage of 'lifetime: application' [doc only]
2020-02-28 15:44:56 +01:00
Alessio Placitelli
99314a8fa0
Clarify the usage of 'lifetime: application'
2020-02-28 10:28:12 +01:00
Jan-Erik Rediger
ce9fcee41e
Merge pull request #740 from mozilla/up2date-schema-validation
...
Add script to update schema and run checks on CI
2020-02-27 09:55:34 +01:00
Jan-Erik Rediger
7d2589a7ca
Run CI check for updated schema
...
Previously we ran schema checks in Python (`test_glean.py`) and Kotlin (several).
These relied on fetching the schema from the mozilla-pipeline-schemas repository.
For reproducability it uses a fixed git hash across both tests.
Now we also bundle a schema into the repository and run a single test
against it from glean-preview.
This is a small imrprovement, but it still means we can miss updating it
(or miss updating all places in the repository to the same version).
The previous commit already introduced a script to automate that.
This CI task now runs an explicit check, failing if the upstream version
changed.
This does mean that unrelated PRs can now fail due to schema changes,
that may not affect them.
In a future world we could have a nightly task that runs this check and
opens a PR with the changed files.
2020-02-26 17:38:06 +01:00
Jan-Erik Rediger
0e7d0293d0
Update vendored schema to the latest version
2020-02-26 17:38:06 +01:00
Jan-Erik Rediger
3761ef21fb
Unify everything to the same schema
2020-02-26 17:38:06 +01:00
Jan-Erik Rediger
09b757dbd1
Add a script to update the bundled schema tests run against
2020-02-26 17:38:06 +01:00
Jan-Erik Rediger
15464f5f85
Merge pull request #719 from mozilla/schema-validation
...
Validate a simple generated custom ping against the ping schema
2020-02-26 17:36:32 +01:00
Jan-Erik Rediger
50f0782c60
Upgrade the minimal supported Rust version
...
The (test-) (transitive) dependency `iri-string` requires Rust 1.41.0
for its relaxed restrictions when implementing traits.
See the release blog post: https://blog.rust-lang.org/2020/01/30/Rust-1.41.0.html#relaxed-restrictions-when-implementing-traits
As we test all crates in the workspace at once, we also need to upgrade
our minimal support Rust version.
This has one caveat: mozilla-central, our soon-to-be crate consumer
needs to support Rust 1.39.0 for now.
As we're not yet merging back there, we might just sit that out and wait
for the upgrade over there. I was told that will happen soon.
2020-02-26 17:28:27 +01:00
Jan-Erik Rediger
6f56fc9d7a
Validate a simple generated custom ping against the ping schema
...
Ping schema is taken from https://raw.githubusercontent.com/mozilla-services/mozilla-pipeline-schemas/f2a7ce4/schemas/glean/glean/glean.1.schema.json
and vendored.
It was changed to include an "$originUrl" as a way to track which one we imported.
2020-02-26 17:28:26 +01:00
Jan-Erik Rediger
4326978719
Merge pull request #739 from mozilla/release-v25.1.0
...
Release v25.1.0
2020-02-26 17:16:58 +01:00
Jan-Erik Rediger
fbeecbcce1
Bumped version to 25.1.0
2020-02-26 16:31:47 +01:00
Jan-Erik Rediger
c8e104cb50
Update changelog with more python changes
2020-02-26 16:31:46 +01:00
Jan-Erik Rediger
c31a9920ed
Merge pull request #737 from mdboom/python-timespan-metric-type
...
Python: Implement timespan metric type
2020-02-26 16:30:40 +01:00
Michael Droettboom
1d16cacb00
Clarfiy comment
2020-02-26 10:11:59 -05:00
Michael Droettboom
3fb0795ba8
Add CHANGELOG
2020-02-26 10:10:45 -05:00
Michael Droettboom
d50eb1d0e3
Python: Implement timespan metric type
2020-02-25 18:02:04 -05:00
Michael Droettboom
9bb3ebd4cd
Python: Implement Datetime metric type ( #732 )
...
* Python: Implement Datetime metric type
* Add CHANGELOG
* Spellcheck
2020-02-25 19:08:32 +05:30
Beatriz Rizental
b71434f4cd
Add interface for the upload module to Glean object ( #729 )
...
Add interface for the upload module to Glean object
2020-02-24 18:31:38 +01:00
Chris H-C
7f4d8b01a4
Add my TWiG
2020-02-21 14:37:13 -05:00
Jan-Erik Rediger
ef37b8d11a
Merge pull request #734 from mozilla/no-more-multiple-deletion-request-ping
...
Ensure we only generate a deletion-request ping when toggling from on to off
2020-02-21 17:01:38 +01:00
Jan-Erik Rediger
b2157fc884
Properly set the http client on every init
...
Under normal use Glean is initialized exactly once. No state is ever
reset or reinitialized.
Tests however work differently. We need to reset all data.
Through configuration we can swap out the used HTTP uploader.
Previously however the uploader used by upload workers was created once, lazily.
Even if we (test-)reset and change the uploader it wasn't overriden.
We can instead make it `lateinit`, thus allowing us to reset it to the
value we get from the configuration during `initialize`
2020-02-21 15:49:05 +01:00
Jan-Erik Rediger
e8882712c7
Only trigger a deletion-request ping when actually switching from on to off.
...
The old code already did what we wanted, because when `upload_enabled`
is false the ping submission will exit early.
This just makes it more explicit, easier to read and understand without
that context and we avoid a useless log line.
2020-02-21 15:49:05 +01:00
Jan-Erik Rediger
350486623c
Ensure we only generate a deletion-request ping when toggling from on to off.
2020-02-21 15:49:05 +01:00
Michael Droettboom
dd13864071
Python: Add boolean metric type ( #731 )
...
* Python: Import boolean metric type
* Add CHANGELOG
* pythonlint
2020-02-21 19:27:05 +05:30
Michael Droettboom
9654cf4231
Python: Make public, document and test the debugging features ( #733 )
2020-02-21 19:26:29 +05:30
Chris H-C
49e7f64f9c
Add Alessio's TWiG from last week.
2020-02-20 11:10:01 -05:00
Michael Droettboom
baf34adf72
[doc only] Add brief note about Windows wheels ( #722 )
2020-02-20 18:53:09 +05:30
Michael Droettboom
8891184afa
[doc only] 1610521: Document the timing and memory distribution function ( #720 )
2020-02-20 18:52:45 +05:30
Michael Droettboom
e9e56be7bf
[doc only] Spellcheck all the things ( #723 )
2020-02-20 18:34:15 +05:30
Travis Long
7f8e4348c3
Merge pull request #718 from travis79/Bug1615603-Document-iOS-queues
...
Bug 1615603 - Better document the iOS background queues and their usage [doc only]
2020-02-20 06:46:12 -06:00
Beatriz Rizental
d1e02a330c
Merge pull request #717 from brizental/1614280/deletion
...
Support deletion request pings in upload module
2020-02-20 10:08:38 +01:00
Alessio Placitelli
390d10692d
Merge pull request #728 from mdboom/error-reporting-uses-labeled-metric
...
[doc only] Correctly show that error recording uses a labeled metric
2020-02-20 10:04:46 +01:00
Alessio Placitelli
ac77743d9d
Merge pull request #725 from mdboom/fix-typo2
...
[doc only] Add a subject to sentence
2020-02-20 10:03:49 +01:00
Michael Droettboom
6c07a1d468
[doc only] Mention the preinit_tasks_overflow metric ( #727 )
...
...where we talk about overflowing the task queue
2020-02-20 03:56:46 +05:30
Michael Droettboom
bbf9bc7ab4
[doc only] Document we have wheels for the 3 major desktop platforms ( #724 )
2020-02-20 03:56:25 +05:30
Michael Droettboom
95aca134ce
[doc only] Move 'following steps' right before steps ( #726 )
2020-02-20 03:55:51 +05:30
Michael Droettboom
a7e2d71346
[doc only] Correctly show that error recording uses a labeled metric
2020-02-19 17:24:44 -05:00
Michael Droettboom
3c67a3b1b2
[doc only] Add a subject to sentence
2020-02-19 17:09:51 -05:00
Michael Droettboom
b3f0b3cac8
Document adding a new metric type in Python ( #721 )
...
* [doc only] Document adding a new metric type in Python
* [doc only] Add more detail about details
2020-02-20 03:05:58 +05:30
Travis Long
867900780a
Address change requests by clarifying comments.
2020-02-19 11:03:44 -06:00
Beatriz Rizental
cf80d05a07
Store full path to ping directories on DirectoryManager
2020-02-19 15:47:23 +01:00
Beatriz Rizental
4dde51e8a5
Create crate level constants for ping directory names
2020-02-19 15:05:25 +01:00
Beatriz Rizental
39c2005963
Support deletion request pings in upload module
2020-02-19 14:21:33 +01:00
Travis Long
7543dff3ec
Bug 1615603 - Better document the iOS background queues and their usage [doc only]
2020-02-18 11:14:12 -06:00
Jan-Erik Rediger
cfd94bb7f7
Merge pull request #714 from mozilla/fix-python-release
...
Don't try to install perl on the PyPi image anymore
2020-02-18 14:46:52 +01:00
Beatriz Rizental
90639eddca
Merge pull request #711 from brizental/1614283/process-response
...
Process ping upload response in upload module
2020-02-18 11:49:30 +01:00