gecko-dev/tools
Andrew Halberstadt a5c7e81ae6 Bug 1398765 - Fix directory exclusion bug in py-compat linters, r=gps
The excluded directories aren't being properly handled in the py2/py3 compat
linters. In order for FileFinder to apply the exclusions properly they need
to either be relative to or contained by the base.

This means that currently the following will work:
./mach lint -l py2 <topsrcdir>
./mach lint -l py2 testing/mochitest

But this is broken:
./mach lint -l py2 testing

This change fixes the compat linters so exclude paths will be made relative
to the FileFinder base before passing them in. Any exclude not contained by
the base is simply discarded as it won't be relevant to that FileFinder
instance anyway.

MozReview-Commit-ID: LJx97TvKlSa

--HG--
extra : rebase_source : b8f0cb20ec5a88a33c26ace699ed9216b070f443
2017-09-11 09:03:53 -04:00
..
bloatview
code-coverage Bug 1397505 - Only support dumping/resetting coverage counters with GCC builds. r=froydnj 2017-09-07 00:31:03 +02:00
compare-locales bug 1370506, update the docs, r=glandium 2017-06-16 13:14:28 +02:00
coverity Bug 1398781 - Add sanitisation for taint data in the modelling file. r=sylvestre 2017-09-12 10:31:48 +03:00
docs Bug 1390693 - Use thread pool for S3 uploads; r=dustin 2017-08-24 12:38:01 -07:00
fuzzing Bug 1389851 - libfuzzer: Suppress -Wunreachable-code-return warnings in FuzzerDriver.cpp. r=decoder 2017-08-15 21:04:55 -07:00
git Bug 1360595 - Add a git pre-commit hook for running ESLint. r=mossop 2017-04-28 12:19:15 +01:00
jprof Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
leak-gauge Backed out changeset f5922a7ed25a (bug 1374620) for failing eslint at telemetry/tests/unit/test_TelemetrySend.js:358: ["os"] is better written in dot notation. r=backout 2017-07-31 14:44:34 +02:00
lint Bug 1398765 - Fix directory exclusion bug in py-compat linters, r=gps 2017-09-11 09:03:53 -04:00
mercurial Bug 1360595 - Add a git pre-commit hook for running ESLint. r=mossop 2017-04-28 12:19:15 +01:00
power Bug 1386876 - Replace all uses of DISABLE_STL_WRAPPING with a template, remove DISABLE_STL_WRAPPING. r=glandium 2017-09-11 11:33:26 -07:00
profiler Bug 1395524 - Use AppendFloat when converting the float interval to the env var string. r=njn 2017-08-31 13:36:44 +02:00
quitter Bug 1393162 Re-sign quitter.xpi as privileged r=ryanvm 2017-08-24 22:34:02 -07:00
rb
rewriting Bug 1396158 - Remove pocketsphinx references from the build system. r=chmanchester 2017-09-06 08:37:00 -07:00
tryselect Bug 1395267 - [tryselect] Make default try selector used when running |mach try| without subcommands configurable, r=armenzg 2017-08-30 14:45:46 -04:00
update-packaging bug 1385227, generate full update from l10n-stage directly, r=rail 2017-08-22 15:27:51 +02:00
mach_commands.py Bug 1397457 - Update mach to download clang-format 5.0 - Remove the deprecated comment r=trivial DONTBUILD 2017-09-11 10:07:50 +02:00
moz.build Bug 1391675 - [tryselect] Add a test for 'mach try fuzzy' and associated task, r=gps 2017-08-21 11:52:28 -04:00