47 bytes, text/x-github-pull-request
|Details | Review | Splinter Review|
Changes... Bug 1273231: * Removed `TreeherderClient.update_parse_status()` Bug 1245158: * Client requests now use connection pooling (re-use the same `TreeherderClient` instance when making multiple requests, to reap the performance benefit) * Hawk auth headers are now sent for GET requests too (if credentials were provided). In the future this will allow for higher rate limits for authenticated GETS. Bug 1279213: * The `timeout` parameter has been removed from `TreeherderClient.post_collection()` (as well as the private `TreeherderClient` methods `_get_json()` and `_post_json()`). The timeout can now only be set globally when instantiating `TreeherderClient`. * The default connection timeout has been reduced from 120s to 30s. * The private `TreeherderClient` methods `_get_project_uri()` and `_get_uri()` have been replaced by `_get_endpoint_url()`. * The `protocol` and `host` arguments to `TreeherderClient` have been replaced with `server_url` (the old arguments are still supported for now, but give a deprecation warning). The client defaults to Treeherder production, so the argument can be omitted unless connecting to another instance. See http://treeherder.readthedocs.io/rest_api.html#python-client for more details.
Released to PyPI: https://pypi.python.org/pypi/treeherder-client/3.0.0
Created attachment 8770143 [details] [review] [treeherder] mozilla:improve-client-release-docs > mozilla:master
Commit pushed to master at https://github.com/mozilla/treeherder https://github.com/mozilla/treeherder/commit/b60b90097e414adc98d285d396d05234bf6f959e Bug 1286240 - Docs: Install 'wheel' at the same time as 'twine' Since if the wheel package is not installed, it results in: `error: invalid command 'bdist_wheel'`
I've updated some consumers to 3.0.0: https://github.com/mozilla/mozilla_ci_tools/pull/493 https://github.com/mozilla/mozdownload/pull/401 https://github.com/mozilla/areweslimyet/pull/127 https://github.com/shinglyu/servo-perf/pull/26 And for some others filed some tickets suggesting that they do so: https://github.com/chmanchester/trigger-bot/issues/14 https://github.com/EricRahm/log-spam-hell/issues/2 https://github.com/h4writer/arewefastyet/issues/105 https://github.com/mozilla/mozmill-ci/issues/806 https://github.com/mozilla/pulse_actions/issues/105 https://github.com/mozilla/mozplatformqa-jenkins/issues/15 https://github.com/mjzffr/treeherder-submission-example/issues/3 https://github.com/RitheshShenthar/submit-to-th/issues/1 https://github.com/RitheshShenthar/treeherder-demo-client/issues/4 Bug 1286485
Status: ASSIGNED → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.