tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit 177a7de62579a81ada9b51176c8b833ee70fae3b
parent 8de720c098dd203f78e056e5d45241566fafac83
Author: Jan de Mooij <jdemooij@mozilla.com>
Date:   Sat, 10 Jan 2026 09:58:10 +0000

Bug 2009419 - Disable build telemetry for the pipelint script. r=ahal

Differential Revision: https://phabricator.services.mozilla.com/D278508

Diffstat:
Mtools/lint/pipelint | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/tools/lint/pipelint b/tools/lint/pipelint @@ -22,6 +22,10 @@ sys.stdout = sys.stderr REPO_ROOT = Path(__file__).parent.parent.parent def main(): + # Disable mach's build telemetry for this process because it can cause large + # slowdowns when linting a large number of files. See bug 2009419. + os.environ["DISABLE_TELEMETRY"] = "1" + mach_path = REPO_ROOT / "mach" loader = importlib.machinery.SourceFileLoader("mach", str(mach_path)) spec = importlib.util.spec_from_loader("mach", loader)