.clang-format-ignore
author Mike Hommey <mh+mozilla@glandium.org>
Wed, 24 Jan 2018 11:18:13 +0900
changeset 455913 d7d6780f2b42e0a434803bb2a734c7b8564713a1
parent 453773 3a2a6750304e360bf80df95c149b5ed52414bae1
child 464036 5fd7f1436e6d85bc41e91b32ac63ea63fdff3f2c
permissions -rw-r--r--
Bug 1432390 - Use zstandard and requests modules instead of spawning curl | zstd in docker.load_image. r=dustin The zstd command we spawn, if available at all, might be the wrong version: zstd changed its stream format in an incompatible way at some point, and the version shipped in e.g. Ubuntu 16.04 uses the old format, while the version taskcluster relies on uses the new format. Relying on gps's zstandard library allows to ensure we use the right version. Another advantage is that we can trivially pip install it in a virtualenv if it isn't available on the system running the command. If we're ridding ourselves of the subprocess spawning for zstd, we might as well cover curl as well. Especially considering the error handling when subprocesses are involved is not trivial, such that the current error handling code is actually broken and leads to dead-lock conditions, when, for example, curl is still waiting for the python side to read data, but the python side is not reading data anymore because an exception was thrown in the tar reading loop.

# Uses the LLVM coding style
build/clang-plugin/.*
# The two templates cannot be formatted
config/gcc-stl-wrapper.template.h
config/msvc-stl-wrapper.template.h
dom/base/test/.*
dom/bindings/test/.*
dom/media/gtest/.*
gfx/testsd/.*
.*/gtest/ExampleStylesheet.h
image/test/.*
ipc/ipdl/test/.*
ipc/testshell/.*
js/src/jsapi-tests/.*
# See bug 1395584
js/src/vm/Opcodes.h
# Ignored because of bug 1342657
layout/style/nsCSSPropAliasList.h
# Ignored because of bug 1342657
layout/style/nsCSSPropList.h
media/mtransport/test/.*
mfbt/tests/.*
storage/test/.*
testing/gtest/.*
tools/profiler/tests/.*
uriloader/exthandler/tests/.*
# JNI code is generated
widget/android/GeneratedJNINatives.h
widget/android/GeneratedJNIWrappers.cpp
widget/android/GeneratedJNIWrappers.h
widget/android/fennec/FennecJNINatives.h
widget/android/fennec/FennecJNIWrappers.cpp
widget/android/fennec/FennecJNIWrappers.h
widget/tests/.*
xpcom/glue/tests/.*
xpcom/tests/.*

# Generated from ./tools/rewriting/ThirdPartyPaths.txt
# awk '{print ""$1".*"}' ./tools/rewriting/ThirdPartyPaths.txt
browser/components/translation/cld2/.*
browser/extensions/mortar/ppapi/.*
db/sqlite3/src/.*
extensions/spellcheck/hunspell/src/.*
gfx/angle/.*
gfx/cairo/.*
gfx/graphite2/.*
gfx/harfbuzz/.*
gfx/ots/.*
gfx/qcms/.*
gfx/sfntly/.*
gfx/skia/.*
gfx/vr/openvr/.*
gfx/webrender.*
gfx/webrender_api.*
gfx/ycbcr/.*
intl/hyphenation/hyphen/.*
intl/icu/.*
ipc/chromium/.*
js/src/ctypes/libffi/.*
js/src/dtoa.c.*
js/src/jit/arm64/vixl/.*
media/ffvpx/.*
media/gmp-clearkey/0.1/openaes/.*
media/kiss_fft/.*
media/libav/.*
media/libcubeb/.*
media/libjpeg/.*
media/libmkv/.*
media/libnestegg/.*
media/libogg/.*
media/libopus/.*
media/libpng/.*
media/libsoundtouch/.*
media/libspeex_resampler/.*
media/libstagefright/.*
media/libtheora/.*
media/libtremor/.*
media/libvorbis/.*
media/libvpx/.*
media/libyuv/.*
media/mtransport/third_party/.*
media/openmax_dl/.*
media/sphinxbase/.*
media/webrtc/signaling/src/sdp/sipcc/.*
media/webrtc/trunk/.*
mfbt/decimal/.*
mfbt/double-conversion/double-conversion/.*
mobile/android/geckoview/src/thirdparty/.*
mobile/android/thirdparty/.*
modules/brotli/.*
modules/fdlibm/.*
modules/freetype2/.*
modules/libbz2/.*
modules/libmar/.*
modules/pdfium/.*
modules/woff2/.*
modules/zlib/.*
netwerk/sctp/src/.*
netwerk/srtp/src/.*
nsprpub/.*
other-licenses/.*
parser/expat/.*
security/nss/.*
security/sandbox/chromium/.*
testing/gtest/gmock/.*
testing/gtest/gtest/.*
testing/talos/talos/tests/canvasmark/.*
testing/talos/talos/tests/dromaeo/.*
testing/talos/talos/tests/kraken/.*
testing/talos/talos/tests/v8_7/.*
third_party/aom/.*
third_party/python/blessings/.*
third_party/python/configobj/.*
third_party/python/futures/.*
third_party/python/jsmin/.*
third_party/python/mock-*/.*
third_party/python/psutil/.*
third_party/python/py/.*
third_party/python/pyasn1/.*
third_party/python/pyasn1-modules/.*
third_party/python/PyECC/.*
third_party/python/pytest/.*
third_party/python/pytoml/.*
third_party/python/pyyaml/.*
third_party/python/redo/.*
third_party/python/requests/.*
third_party/python/rsa/.*
third_party/python/six/.*
third_party/python/which/.*
third_party/rust/.*
toolkit/components/jsoncpp/.*
toolkit/components/lz4/.*
toolkit/components/protobuf/.*
toolkit/components/url-classifier/chromium/.*
toolkit/components/url-classifier/protobuf/.*
toolkit/crashreporter/google-breakpad/.*
tools/fuzzing/libfuzzer.*