.hgignore (11109B)
1 # .hgignore - List of filenames hg should ignore 2 3 # See docs/code-quality/lint/linters/ignorefile.rst for lint-ignore-next-line 4 # syntax. 5 6 # Filenames that should be ignored wherever they appear 7 ~$ 8 \.pyc$ 9 \.pyo$ 10 (^|/)TAGS$ 11 (^|/)tags$ 12 (^|/)\.DS_Store$ 13 \.pdb$ 14 (^|/)\.eslintcache$ 15 \.gcda$ 16 \.gcno$ 17 \.gcov$ 18 \.tsbuildinfo$ 19 (^|/)compile_commands\.json$ 20 21 # emacs backup files #filename# in any directory. 22 # lint-ignore-next-line: syntax-difference 23 (^|/)\#[^/]*\#$ 24 # ignore emacs lock files in any dir: .#filename 25 (^|/)\.\#.* 26 27 # Ignore ID generated by idutils. 28 (^|/)ID$ 29 30 # Generated by hg or patch (e.g. revert, failed patch, ...) 31 \.orig$ 32 \.rej$ 33 34 # Filesystem temporaries 35 (^|/)\.fuse_hidden.*$ 36 37 # Ignore Python .egg-info directories. 38 # This is only relevant for first-party modules, but adding that directory for 39 # third-party packages is dealt with by the script vendoring them. 40 # lint-ignore-next-line: syntax-difference 41 .*\.egg-info/ 42 43 # Ignore pywebsocket3 intermediate files. 44 ^testing/web-platform/tests/tools/third_party/pywebsocket3/pywebsocket3.egg-info 45 ^testing/web-platform/tests/tools/third_party/pywebsocket3/build 46 47 # Vim swap files. 48 ^\.sw[a-z]$ 49 \.[^/]*\.sw[a-z]$ 50 51 # Emacs directory variable files. 52 \.dir-locals\.el 53 # Emacs project sentinel files. 54 \.projectile 55 56 # User files that may appear at the root 57 ^\.clang-tidy 58 ^\.clangd 59 ^\.mozconfig 60 ^mozconfig* 61 ^\.moz-fast-forward 62 ^\.moz-vendoring 63 ^old-configure$ 64 ^config\.cache$ 65 ^config\.log$ 66 ^\.clang_complete 67 ^machrc$ 68 ^\.machrc$ 69 70 # mach manifest skip-fails cache 71 ^\.skip_fails_cache 72 73 # pyenv artifact 74 ^\.python-version$ 75 76 # Empty marker file that's generated when we check out NSS 77 ^security/manager/\.nss\.checkout$ 78 79 # Build directories 80 ^obj.*/ 81 82 # Hazard analysis results 83 ^haz-.*/ 84 85 # Gradle build errors 86 ^build/reports/ 87 88 # gecko.log is generated by various test harnesses 89 ^gecko\.log$ 90 91 # Ignore all node_modules directories except for ones under third_party 92 ^node_modules/ 93 ^devtools/.*/node_modules/ 94 ^tools/browsertime/node_modules/ 95 ^tools/lint/eslint/eslint-plugin-mozilla/node_modules/ 96 ^tools/lint/stylelint/stylelint-plugin-mozilla/node_modules/ 97 ^tools/terser/node_modules/ 98 ^browser/components/asrouter/node_modules/ 99 ^browser/components/aboutwelcome/node_modules/ 100 ^browser/extensions/newtab/node_modules/ 101 ^tools/ts/node_modules/ 102 ^testing/xpcshell/moz-http2/node_modules/ 103 104 # Ignore newtab component build assets 105 ^browser/extensions/newtab/logs/ 106 107 # Ignore about:welcome component build assets 108 ^browser/components/aboutwelcome/logs/ 109 110 # Ignore ASRouter component build assets 111 ^browser/components/asrouter/logs/ 112 113 # Ignore ASRouter generated test files 114 ^browser/components/asrouter/content-src/schemas/corpus/CFRMessageProvider\.messages\.json 115 ^browser/components/asrouter/content-src/schemas/corpus/OnboardingMessageProvider\.messages\.json 116 ^browser/components/asrouter/content-src/schemas/corpus/PanelTestProvider\.messages\.json 117 ^browser/components/asrouter/content-src/schemas/corpus/PanelTestProvider_toast_notification\.messages\.json 118 119 # Ignore downloaded thirdparty build artifacts. 120 ^toolkit/components/translations/bergamot-translator/thirdparty 121 122 # Build directories for js shell 123 _DBG\.OBJ/ 124 _OPT\.OBJ/ 125 ^js/src/.*-obj/ 126 ^js/src/obj-.*/ 127 128 # SpiderMonkey configury 129 ^js/src/old-configure$ 130 ^js/src/autom4te\.cache$ 131 132 # SpiderMonkey test result logs 133 ^js/src/tests/results-.*\.html$ 134 ^js/src/tests/results-.*\.txt$ 135 ^js/src/devtools/rootAnalysis/t/out 136 137 # SpiderMonkey wasm/generate-spectests artifacts 138 ^js/src/jit-test/etc/wasm/generate-spectests/specs/ 139 ^js/src/jit-test/etc/wasm/generate-spectests/tests/ 140 ^js/src/jit-test/etc/wasm/generate-spectests/target/ 141 142 # Java HTML5 parser classes 143 ^parser/html/java/htmlparser/ 144 ^parser/html/java/javaparser/ 145 ^parser/html/java/javaparser\.jar$ 146 ^parser/html/java/translator\.jar$ 147 148 # SVN directories 149 \.svn/ 150 151 # Ignore the files and directory that Eclipse IDE creates 152 \.project$ 153 \.cproject$ 154 \.settings/ 155 156 # Ignore the files and directory that JetBrains IDEs create. 157 \.idea/ 158 \.iml$ 159 160 # Android Monitor in Android Studio creates a captures/ directory. 161 ^captures/ 162 163 # Gradle caches. 164 ^\.gradle/ 165 ^\.kotlin/ 166 167 # Local Gradle configuration properties. 168 ^local\.properties$ 169 170 # Git repositories 171 # lint-ignore-next-line: hg-only 172 \.git/ 173 174 # Ignore chrome.manifest files from the devtools loader 175 ^devtools/client/chrome\.manifest$ 176 ^devtools/shared/chrome\.manifest$ 177 178 # Ignore debugger build directories 179 ^devtools/client/debugger/assets/build 180 ^devtools/client/debugger/assets/module-manifest\.json 181 182 # Ignore node_module directories and npm artifacts 183 ^remote/test/puppeteer/.*/lib/ 184 ^remote/test/puppeteer/.*/node_modules/ 185 ^remote/test/puppeteer/.*/\.wireit/ 186 ^remote/test/puppeteer/\.devcontainer/ 187 ^remote/test/puppeteer/\.github 188 ^remote/test/puppeteer/\.husky 189 ^remote/test/puppeteer/\.wireit/ 190 ^remote/test/puppeteer/coverage/ 191 ^remote/test/puppeteer/docker/ 192 ^remote/test/puppeteer/docs/puppeteer-core\.api\.json 193 ^remote/test/puppeteer/docs/puppeteer\.api\.json 194 ^remote/test/puppeteer/experimental/ 195 ^remote/test/puppeteer/lib/ 196 ^remote/test/puppeteer/node_modules/ 197 ^remote/test/puppeteer/package-lock\.json 198 ^remote/test/puppeteer/packages/browsers/src/generated 199 ^remote/test/puppeteer/packages/ng-schematics/test/build 200 ^remote/test/puppeteer/packages/puppeteer/.*/README\.md 201 ^remote/test/puppeteer/packages/puppeteer-core/src/generated 202 ^remote/test/puppeteer/packages/puppeteer-core/.*/README\.md 203 ^remote/test/puppeteer/src/generated 204 ^remote/test/puppeteer/test/build 205 ^remote/test/puppeteer/test/installation/puppeteer.*\.tgz 206 ^remote/test/puppeteer/test/output-firefox 207 ^remote/test/puppeteer/test/output-chromium 208 ^remote/test/puppeteer/testserver/lib/ 209 ^remote/test/puppeteer/tools/doctest/bin/ 210 ^remote/test/puppeteer/tools/internal/ 211 ^remote/test/puppeteer/tools/mocha-runner/bin/ 212 ^remote/test/puppeteer/website 213 214 ^third_party/js/PKI\.js/node_modules/ 215 ^third_party/js/PKI\.js/package-lock\.json 216 217 # git checkout of libstagefright 218 ^media/libstagefright/android$ 219 220 # Tag files generated by GNU Global 221 (^|/)GTAGS$ 222 (^|/)GRTAGS$ 223 (^|/)GSYMS$ 224 (^|/)GPATH$ 225 226 # Git clone directory for updating web-platform-tests 227 ^testing/web-platform/sync/ 228 229 # Third party metadata for web-platform-tests 230 ^testing/web-platform/products/ 231 232 # Android Gradle artifacts. 233 ^mobile/android/gradle/\.gradle 234 235 # Android build cache 236 ^mobile/android/.*/.build-cache 237 ^mobile/android/.*/.gradle 238 ^mobile/android/.*/build 239 ^mobile/android/.*/.kotlin 240 ^mobile/android/.*/bin 241 ^mobile/android/.*/generated 242 243 # app-services build artifacts. 244 services/app-services/tools/nimbus-gradle-plugin/.gradle 245 services/app-services/tools/nimbus-gradle-plugin/build 246 247 # Android local.properties 248 ^mobile/android/.*/local.properties 249 250 # Android - Built-in web extensions: manifest.json files are generated 251 ^mobile/android/android-components/.*/assets/extensions/.*/manifest\.json 252 253 # XCode project cruft 254 ^[^/]*\.xcodeproj/ 255 ^mobile/ios/GeckoTestBrowser/GeckoTestBrowser.xcodeproj/project.xcworkspace/xcuserdata 256 ^mobile/ios/GeckoTestBrowser/GeckoTestBrowser.xcodeproj/xcuserdata 257 258 # Rust/Cargo output from running `cargo` directly 259 ^target/ 260 ^servo/ports/geckolib/target/ 261 ^dom/base/rust/target/ 262 ^servo/components/style/target/ 263 ^dom/webgpu/tests/cts/vendor/target/ 264 265 # Ignore mozharness execution files 266 ^testing/mozharness/\.tox/ 267 ^testing/mozharness/build/ 268 ^testing/mozharness/logs/ 269 ^testing/mozharness/\.coverage 270 ^testing/mozharness/nosetests\.xml 271 272 # Ignore tox generated dir 273 \.tox/ 274 275 # Ignore talos virtualenv and tp5n files. 276 # The tp5n set is supposed to be decompressed at 277 # testing/talos/talos/fis|tests/tp5n in order to run tests like tps 278 # locally. Similarly, running talos requires a Python package virtual 279 # environment. Both the virtual environment and tp5n files end up littering 280 # the status command, so we ignore them. 281 ^testing/talos/\.Python 282 ^testing/talos/bin/ 283 ^testing/talos/include/ 284 ^testing/talos/lib/ 285 ^testing/talos/talos/fis/tp5n\.zip 286 ^testing/talos/talos/fis/tp5n\.tar\.gz 287 ^testing/talos/talos/fis/tp5n 288 ^testing/talos/talos/tests/tp5n\.zip 289 ^testing/talos/talos/tests/tp5n\.tar\.gz 290 ^testing/talos/talos/tests/tp5n 291 ^testing/talos/talos/tests/pdfpaint/pdfs 292 ^testing/talos/talos/tests/devtools/damp\.manifest\.develop 293 ^testing/talos/talos/startup_test/startup_about_home_paint/startup_about_home_paint\.manifest\.develop 294 ^testing/talos/talos/webextensions/ 295 ^talos-venv 296 ^py3venv 297 ^testing/talos/talos/mitmproxy/mitmdump 298 ^testing/talos/talos/mitmproxy/mitmproxy 299 ^testing/talos/talos/mitmproxy/mitmweb 300 301 # Ignore talos webkit benchmark files; source is copied from in-tree /third_party 302 # into testing/talos/talos/tests/webkit/PerformanceTests/ when run locally 303 # i.e. speedometer, motionmark, stylebench 304 ^testing/talos/talos/tests/webkit/PerformanceTests 305 306 # Ignore sync tps logs and reports 307 tps\.log$ 308 tps_result\.json$ 309 310 # Ignore toolchains.json created by tooltool. 311 ^toolchains\.json$ 312 313 # Unit test 314 \.pytest_cache/ 315 316 # Ruff 317 \.ruff_cache/ 318 319 # Ignore files created when running a reftest. 320 ^lextab\.py$ 321 322 # Ignore Visual Studio/Visual Studio Code workspace files. 323 \.vs/ 324 \.vscode/ 325 \.user$ 326 327 # Thunderbird source tree 328 ^comm/ 329 330 # Ignore various raptor performance framework files 331 ^testing/raptor/\.raptor-venv 332 ^testing/raptor/raptor-venv 333 ^testing/raptor/raptor/tests/json/ 334 ^testing/raptor/webext/raptor/auto_gen_test_config\.js 335 336 # Ignore condprofile build directory 337 ^testing/condprofile/build 338 339 # Ignore browsertime output directory 340 ^browsertime-results 341 342 # Ignore the build directories of WebGPU and WebRender standalone builds. 343 ^gfx/wgpu/target 344 ^gfx/wgpu/.*/build 345 ^gfx/wr/target/ 346 347 # Ignore Rust/Cargo output from running `cargo` directly for image_builder docker image 348 ^taskcluster/docker/image_builder/build-image/target 349 350 # Ignore ICU4X experimentation data files. 351 # See intl/ICU4X.md for more details. 352 ^config/external/icu4x 353 354 # Ignore the index files generated by clangd. 355 ^\.cache/clangd/index/ 356 357 # Ignore mypy files 358 \.mypy_cache/ 359 360 # Ignore Storybook generated files 361 ^browser/components/storybook/node_modules/ 362 ^browser/components/storybook/storybook-static/ 363 ^browser/components/storybook/\.storybook/chrome-map\.js 364 ^browser/components/storybook/custom-elements\.json 365 ^browser/components/storybook/component-status/components\.json 366 367 # Ignore design-system node_modules 368 toolkit/themes/shared/design-system/node_modules/ 369 370 # Ignore TypeScript declarations reference file updated by tooling. 371 ^tools/@types/index.d.ts 372 373 # Ignore support files for en-US dictionary updates 374 ^extensions/spellcheck/locales/en-US/hunspell/dictionary-sources/scowl 375 ^extensions/spellcheck/locales/en-US/hunspell/dictionary-sources/support_files/ 376 ^extensions/spellcheck/locales/en-US/hunspell/dictionary-sources/.*en_US-mozilla.* 377 378 # Ignore automatically generated mots documentation 379 ^docs/mots/index\.rst 380 381 # Ignore generated directory with .class files for GeckoView annotation processor 382 ^mobile/android/annotations/bin/ 383 384 # Ignore generated log files under media/libvpx 385 ^media/libvpx/config/.*/config.log 386 387 # Ignore generated files resulting from building the minidump analyzer binary. 388 ^toolkit/crashreporter/minidump-analyzer/target/ 389 390 # Ignore mozperftest artifacts folder 391 ^artifacts/ 392 393 # Ignore personal preferences files 394 ^CLAUDE\.local\.md 395 .claude/settings.local.json