gecko-dev/taskcluster/taskgraph/transforms
Mike Hommey 3854c3f71d Bug 1341214 - Add a small API to handle taskcluster queue and index requests. r=dustin
Various modules under taskcluster are doing ad-hoc url formatting or
requests to taskcluster services. While we could use the taskcluster
client python module, it's kind of overkill for the simple requests done
here. So instead of vendoring that module, create a smaller one with
a limited set of functions we need.

This changes the behavior of the get_artifact function to return a
file-like object when the file is neither a json nor a yaml, but that
branch was never used (and was actually returning an unassigned
variable, so it was broken anyways).

At the same time, make the function that does HTTP requests more
error-resistant, using urllib3's Retry with a backoff factor.

Also add a function that retrieves the list of artifacts, that while
currently unused, will be used by `mach artifact` shortly.

--HG--
extra : rebase_source : d7ef633e8e5041dc8450f3ff2f3751c85f144cdc
2017-02-17 12:04:48 +09:00
..
job Bug 1341214 - Add a small API to handle taskcluster queue and index requests. r=dustin 2017-02-17 12:04:48 +09:00
__init__.py
android_stuff.py Bug 1321614 - fix android_stuff kind to use build secrets, because it uses the same mozharness stuff as build jobs. r=dustin 2016-12-01 14:13:16 -05:00
balrog.py bug 1340609 - toggle nightly scopes on-demand. r=dustin a=release 2017-02-22 10:50:38 -08:00
base.py Bug 1334167: allow by-project for cron jobs' when property; r=Callek 2017-02-01 00:30:52 +00:00
beetmover_checksums.py Bug 1338186 - assign bucket specific scopes per type of release. r=aki 2017-02-24 17:30:46 +02:00
beetmover_l10n.py Bug 1305139 - schedule checksums related tasks in nightly graph. r=aki,Callek 2017-02-07 22:44:12 -05:00
beetmover.py Bug 1338186 - assign bucket specific scopes per type of release. r=aki 2017-02-24 17:30:46 +02:00
build_attrs.py Bug 1286075: add a build kind, modify tests to use it; r=jlund 2016-09-12 18:34:06 +00:00
build_signing.py Bug 1334624 - Set index routes for signing tasks based on build jobs. r=aki 2017-01-27 14:24:31 -05:00
build.py Bug 1333167: Add extra try options to taskcluster. r=dustin a=jmaher 2017-02-02 09:34:43 -02:00
checksums_signing.py bug 1340609 - toggle nightly scopes on-demand. r=dustin a=release 2017-02-22 10:50:38 -08:00
gecko_v2_whitelist.py Bug 1337240: Cleanup, re-sort JOB_NAME_WHITELIST. r=dustin 2017-02-05 22:24:26 -05:00
l10n.py Bug 1337825 - Schedule l10n repacks for fennec with specified locale revisions using an intree changesets file r=aki 2017-02-17 15:57:11 +01:00
marionette_harness.py Bug 1314795 - introduce build_date to params that defaults to pushdate, r=dustin 2016-11-02 19:23:27 -07:00
nightly_l10n_signing.py Bug 1330668 - Add routes used to trigger funsize. r=dustin 2017-01-12 15:25:43 -05:00
signing.py Bug 1341214 - Add a small API to handle taskcluster queue and index requests. r=dustin 2017-02-17 12:04:48 +09:00
task.py Bug 1322433 - Make it possible to add tags + add a mochitest tag to mochitest jobs r=jonasfj 2017-01-25 16:04:37 -05:00
tests.py Bug 1330310: Switch macosx tests to buildbot-bridge. r=catlee,dustin 2017-02-27 09:52:22 -03:00
upload_symbols.py Bug 1322041 - Upload nightly symbols. r=dustin 2017-01-04 11:15:34 -05:00