Backed out changeset cd5386577d41 (bug 1828313) for causing mochitests failures in...
[gecko.git] / .hgignore
blob318cfb8772e118480af9d39a998faeff8dc3c44e
1 # .hgignore - List of filenames hg should ignore
3 # Filenames that should be ignored wherever they appear
4 ~$
5 \.py(c|o)$
6 (^|/)TAGS$
7 (^|/)tags$
8 (^|/)ID$
9 (^|/)\.DS_Store$
10 \.pdb
11 \.eslintcache
12 \.gcda
13 \.gcno
14 \.gcov
15 compile_commands\.json
17 # Generated by hg (e.g. revert, failed patch, ...)
18 \.orig$
19 \.rej$
21 # Ignore Python .egg-info directories for first-party modules (but,
22 # still add vendored packages' .egg-info directories)
23 ^(?=.*\.egg-info/)(?!^third_party/python/)(?!^testing/web-platform/tests/tools/third_party/)
25 # Vim swap files.
26 ^\.sw.$
27 .[^/]*\.sw.$
29 # Emacs directory variable files.
30 \.dir-locals\.el
31 # Emacs project sentinel files.
32 \.projectile
34 # User files that may appear at the root
35 ^\.clang-tidy
36 ^\.clangd
37 ^\.mozconfig
38 ^mozconfig*
39 ^\.moz-fast-forward
40 ^old-configure$
41 ^config\.cache$
42 ^config\.log$
43 ^\.clang_complete
44 ^\.?machrc$
45 # pyenv artifact
46 ^\.python-version$
48 # Empty marker file that's generated when we check out NSS
49 ^security/manager/\.nss\.checkout$
51 # Build directories
52 ^obj
54 # gecko.log is generated by various test harnesses
55 ^gecko\.log
57 # Ignore newtab component build assets
58 ^browser/components/newtab/logs/
60 # Ignore ASRouter generated test files
61 ^browser/components/newtab/content-src/asrouter/schemas/corpus/CFRMessageProvider.messages.json
62 ^browser/components/newtab/content-src/asrouter/schemas/corpus/OnboardingMessageProvider.messages.json
63 ^browser/components/newtab/content-src/asrouter/schemas/corpus/PanelTestProvider.messages.json
64 ^browser/components/newtab/content-src/asrouter/schemas/corpus/PanelTestProvider_toast_notification.messages.json
66 # Ignore Pocket component build and dev assets
67 browser/components/pocket/content/panels/css/main.compiled.css.map
69 # Build directories for js shell
70 _DBG\.OBJ/
71 _OPT\.OBJ/
72 ^js/src/.*-obj/
73 ^js/src/obj-.*/
75 # SpiderMonkey configury
76 ^js/src/old-configure$
77 ^js/src/autom4te.cache$
78 # SpiderMonkey test result logs
79 ^js/src/tests/results-.*\.(html|txt)$
80 ^js/src/devtools/rootAnalysis/t/out
81 # SpiderMonkey wasm/generate-spectests artifacts
82 ^js/src/jit-test/etc/wasm/generate-spectests/specs/
83 ^js/src/jit-test/etc/wasm/generate-spectests/tests/
84 ^js/src/jit-test/etc/wasm/generate-spectests/target/
86 # Java HTML5 parser classes
87 ^parser/html/java/(html|java)parser/
89 # SVN directories
90 \.svn/
92 # Ignore the files and directory that Eclipse IDE creates
93 \.project$
94 \.cproject$
95 \.settings/
97 # Ignore the files and directory that JetBrains IDEs create.
98 \.idea/
99 \.iml$
100 # Android Monitor in Android Studio creates a captures/ directory.
101 ^captures/
103 # Gradle cache.
104 ^.gradle/
106 # Local Gradle configuration properties.
107 ^local.properties$
109 # Git repositories
110 .git/
112 # Ignore chrome.manifest files from the devtools loader
113 ^devtools/client/chrome.manifest$
114 ^devtools/shared/chrome.manifest$
116 # Ignore node_modules directories in devtools
117 ^devtools/.*/node_modules/
119 # Ignore node_module directories and npm artifacts
120 ^remote/test/puppeteer/.*\.tsbuildinfo
121 ^remote/test/puppeteer/.*/lib/
122 ^remote/test/puppeteer/.*/node_modules/
123 ^remote/test/puppeteer/.*/\.wireit/
124 ^remote/test/puppeteer/\.devcontainer/
125 ^remote/test/puppeteer/\.github
126 ^remote/test/puppeteer/\.husky
127 ^remote/test/puppeteer/\.wireit/
128 ^remote/test/puppeteer/coverage/
129 ^remote/test/puppeteer/docker/
130 ^remote/test/puppeteer/docs/puppeteer-core\.api\.json
131 ^remote/test/puppeteer/docs/puppeteer\.api\.json
132 ^remote/test/puppeteer/experimental/
133 ^remote/test/puppeteer/lib/
134 ^remote/test/puppeteer/node_modules/
135 ^remote/test/puppeteer/package-lock\.json
136 ^remote/test/puppeteer/packages/ng-schematics/test/build
137 ^remote/test/puppeteer/src/generated
138 ^remote/test/puppeteer/test/build
139 ^remote/test/puppeteer/test/installation/puppeteer.*\.tgz
140 ^remote/test/puppeteer/test/output-firefox
141 ^remote/test/puppeteer/test/output-chromium
142 ^remote/test/puppeteer/testserver/lib/
143 ^remote/test/puppeteer/utils/mochaRunner/lib/
144 ^remote/test/puppeteer/website
146 ^third_party/js/PKI.js/node_modules/
147 ^third_party/js/PKI.js/package-lock.json
149 # git checkout of libstagefright
150 ^media/libstagefright/android$
152 # Tag files generated by GNU Global
153 (^|/)GTAGS$
154 (^|/)GRTAGS$
155 (^|/)GSYMS$
156 (^|/)GPATH$
158 # Git clone directory for updating web-platform-tests
159 ^testing/web-platform/sync/
161 # Third party metadata for web-platform-tests
162 ^testing/web-platform/products/
164 # Android Gradle artifacts.
165 ^mobile/android/gradle/.gradle
167 # XCode project cruft
168 ^[^/]*\.xcodeproj/
170 # Rust/Cargo output from running `cargo` directly
171 ^target/
172 ^servo/ports/geckolib/target/
173 ^dom/base/rust/target/
174 ^servo/components/style/target/
175 ^dom/webgpu/tests/cts/vendor/target/
177 # Ignore mozharness execution files
178 ^testing/mozharness/.tox/
179 ^testing/mozharness/build/
180 ^testing/mozharness/logs/
181 ^testing/mozharness/.coverage
182 ^testing/mozharness/nosetests.xml
184 # Ignore tox generated dir
185 .tox/
187 # Ignore ESLint and other tool's node_modules.
188 ^node_modules/
189 ^tools/browsertime/node_modules/
190 ^tools/lint/eslint/eslint-plugin-mozilla/node_modules/
191 ^browser/components/newtab/node_modules/
192 ^tools/esmify/node_modules/
194 # Ignore talos virtualenv and tp5n files.
195 # The tp5n set is supposed to be decompressed at
196 # testing/talos/talos/fis|tests/tp5n in order to run tests like tps
197 # locally. Similarly, running talos requires a Python package virtual
198 # environment. Both the virtual environment and tp5n files end up littering
199 # the status command, so we ignore them.
200 ^testing/talos/.Python
201 ^testing/talos/bin/
202 ^testing/talos/include/
203 ^testing/talos/lib/
204 ^testing/talos/talos/fis/tp5n.zip
205 ^testing/talos/talos/fis/tp5n.tar.gz
206 ^testing/talos/talos/fis/tp5n
207 ^testing/talos/talos/tests/tp5n.zip
208 ^testing/talos/talos/tests/tp5n.tar.gz
209 ^testing/talos/talos/tests/tp5n
210 ^testing/talos/talos/tests/devtools/damp.manifest.develop
211 ^testing/talos/talos/startup_test/startup_about_home_paint/startup_about_home_paint.manifest.develop
212 ^testing/talos/talos/webextensions/
213 ^talos-venv
214 ^py3venv
215 ^testing/talos/talos/mitmproxy/mitmdump
216 ^testing/talos/talos/mitmproxy/mitmproxy
217 ^testing/talos/talos/mitmproxy/mitmweb
219 # Ignore talos webkit benchmark files; source is copied from in-tree /third_party
220 # into testing/talos/talos/tests/webkit/PerformanceTests/ when run locally
221 # i.e. speedometer, motionmark, stylebench
222 ^testing/talos/talos/tests/webkit/PerformanceTests
224 # Ignore toolchains.json created by tooltool.
225 ^toolchains\.json
227 # Unit test
228 \.pytest_cache/
230 # Ruff
231 \.ruff_cache/
233 # Ignore files created when running a reftest.
234 ^lextab.py$
236 # Ignore sync tps logs and reports
237 tps\.log
238 tps_result\.json
240 # Ignore Visual Studio/Visual Studio Code workspace files.
241 \.vs/
242 \.vscode/(?!extensions\.json|tasks\.json)
243 \.user$
245 # https://bz.mercurial-scm.org/show_bug.cgi?id=5322
246 ^comm/
248 # Ignore various raptor performance framework files
249 ^testing/raptor/.raptor-venv
250 ^testing/raptor/raptor-venv
251 ^testing/raptor/raptor/tests/json/
252 ^testing/raptor/webext/raptor/auto_gen_test_config.js
254 # Ignore condprofile build directory
255 ^testing/condprofile/build
257 # Ignore browsertime output directory
258 ^browsertime-results
260 # Ignore the build directories of WebGPU and WebRender standalone builds.
261 gfx/wgpu/target
262 gfx/wgpu/.*/build
263 gfx/wr/target/
265 # Ignore Rust/Cargo output from running `cargo` directly for image_builder docker image
266 ^taskcluster/docker/image_builder/build-image/target
268 # Ignore ICU4X experimentation data files.
269 # See intl/ICU4X.md for more details.
270 ^config/external/icu4x
272 # Ignore the index files generated by clangd.
273 ^.cache/clangd/index/
275 # Ignore mypy files
276 \.mypy_cache/
278 # Ignore Storybook generated files
279 ^browser/components/storybook/node_modules/
280 ^browser/components/storybook/storybook-static/
281 ^browser/components/storybook/.storybook/chrome-map.js
282 ^browser/components/storybook/custom-elements.json
284 # Ignore jscodeshift installed by mach esmify on windows
285 ^tools/esmify/jscodeshift
286 ^tools/esmify/jscodeshift.cmd
287 ^tools/esmify/jscodeshift.ps1
288 ^tools/esmify/package-lock.json
290 # Ignore support files for en-US dictionary updates
291 ^extensions/spellcheck/locales/en-US/hunspell/dictionary-sources/scowl
292 ^extensions/spellcheck/locales/en-US/hunspell/dictionary-sources/support_files/
293 ^extensions/spellcheck/locales/en-US/hunspell/dictionary-sources/*en_US-mozilla*
295 # Ignore automatically generated mots documentation
296 ^docs/mots/index.rst