Browse Source

fixed by bug 1831804

Bill Gianopoulos 1 year ago
parent
commit
75e79fa29a

+ 0 - 33
mozilla-central/patches/TOP-NOBUG-gleanlint.patch

@@ -1,33 +0,0 @@
-# HG changeset patch
-# User Frank-Rainer Grahl <frgrahl@gmx.net>
-# Date 1683404738 -7200
-# Parent  ca770a49d132884d09eacf5ff496e2c33e1a889b
-No Bug - Remove glean lint for now.
-
-Temporary fix. Not for resale and checkin.
-
-diff --git a/toolkit/components/glean/build_scripts/glean_parser_ext/run_glean_parser.py b/toolkit/components/glean/build_scripts/glean_parser_ext/run_glean_parser.py
---- a/toolkit/components/glean/build_scripts/glean_parser_ext/run_glean_parser.py
-+++ b/toolkit/components/glean/build_scripts/glean_parser_ext/run_glean_parser.py
-@@ -70,21 +70,16 @@ def parse(args):
- 
-     return parse_with_options(input_files, options)
- 
- 
- def parse_with_options(input_files, options):
-     # Derived heavily from glean_parser.translate.translate.
-     # Adapted to how mozbuild sends us a fd, and to expire on versions not dates.
- 
--    # Lint the yaml first, then lint the metrics.
--    if lint.lint_yaml_files(input_files, parser_config=options):
--        # Warnings are Errors
--        raise ParserError("linter found problems")
--
-     all_objs = parser.parse_objects(input_files, options)
-     if util.report_validation_errors(all_objs):
-         raise ParserError("found validation errors during parse")
- 
-     nits = lint.lint_metrics(all_objs.value, options)
-     if nits is not None and any(nit.check_name != "EXPIRED" for nit in nits):
-         # Treat Warnings as Errors in FOG.
-         # But don't fail the whole build on expired metrics (it blocks testing).

+ 0 - 1
mozilla-central/patches/series

@@ -2,4 +2,3 @@
 9999999-with-vs2019-vs2022.patch
 9999999-with-vs2019-vs2022.patch
 9999999-NSSgetentropy.patch
 9999999-NSSgetentropy.patch
 1807834-respect-dmg-hfs-env.patch
 1807834-respect-dmg-hfs-env.patch
-TOP-NOBUG-gleanlint.patch