2007-09-26 00:49:12 +00:00
|
|
|
# .hgignore - List of filenames hg should ignore
|
|
|
|
|
|
|
|
# Filenames that should be ignored wherever they appear
|
2007-07-12 18:09:30 +00:00
|
|
|
~$
|
2010-01-08 12:57:46 +00:00
|
|
|
\.py(c|o)$
|
2022-11-16 08:26:01 +00:00
|
|
|
(^|/)TAGS$
|
|
|
|
(^|/)tags$
|
2009-10-16 18:48:16 +00:00
|
|
|
(^|/)ID$
|
2009-03-23 23:58:39 +00:00
|
|
|
(^|/)\.DS_Store$
|
2016-03-01 14:18:22 +00:00
|
|
|
\.pdb
|
2019-07-12 15:24:07 +00:00
|
|
|
\.eslintcache
|
2018-06-20 10:05:46 +00:00
|
|
|
\.gcda
|
|
|
|
\.gcno
|
|
|
|
\.gcov
|
2018-08-21 14:54:44 +00:00
|
|
|
compile_commands\.json
|
2007-09-26 00:49:12 +00:00
|
|
|
|
2022-07-11 15:12:35 +00:00
|
|
|
# Generated by hg (e.g. revert, failed patch, ...)
|
|
|
|
\.orig$
|
|
|
|
\.rej$
|
|
|
|
|
2021-09-28 14:59:27 +00:00
|
|
|
# Ignore Python .egg-info directories for first-party modules (but,
|
|
|
|
# still add vendored packages' .egg-info directories)
|
|
|
|
^(?=.*\.egg-info/)(?!^third_party/python/)(?!^testing/web-platform/tests/tools/third_party/)
|
|
|
|
|
2011-09-13 00:25:24 +00:00
|
|
|
# Vim swap files.
|
|
|
|
^\.sw.$
|
|
|
|
.[^/]*\.sw.$
|
|
|
|
|
2014-09-09 21:40:00 +00:00
|
|
|
# Emacs directory variable files.
|
|
|
|
\.dir-locals\.el
|
2020-06-03 19:46:16 +00:00
|
|
|
# Emacs project sentinel files.
|
|
|
|
\.projectile
|
2014-09-09 21:40:00 +00:00
|
|
|
|
2007-09-26 00:49:12 +00:00
|
|
|
# User files that may appear at the root
|
2022-04-27 09:10:21 +00:00
|
|
|
^\.clang-tidy
|
2009-04-22 00:42:14 +00:00
|
|
|
^\.mozconfig
|
2012-05-02 16:43:45 +00:00
|
|
|
^mozconfig*
|
2016-02-25 15:01:55 +00:00
|
|
|
^old-configure$
|
2007-09-26 00:49:12 +00:00
|
|
|
^config\.cache$
|
|
|
|
^config\.log$
|
2012-05-18 17:55:58 +00:00
|
|
|
^\.clang_complete
|
2016-03-28 15:18:24 +00:00
|
|
|
^\.?machrc$
|
2020-07-07 23:41:55 +00:00
|
|
|
# pyenv artifact
|
|
|
|
^\.python-version$
|
2007-09-26 00:49:12 +00:00
|
|
|
|
2008-05-15 05:54:06 +00:00
|
|
|
# Empty marker file that's generated when we check out NSS
|
|
|
|
^security/manager/\.nss\.checkout$
|
|
|
|
|
2007-09-26 00:49:12 +00:00
|
|
|
# Build directories
|
2008-08-01 05:44:18 +00:00
|
|
|
^obj
|
2007-09-26 00:49:12 +00:00
|
|
|
|
2017-04-25 14:30:38 +00:00
|
|
|
# gecko.log is generated by various test harnesses
|
|
|
|
^gecko\.log
|
|
|
|
|
2019-05-17 16:45:30 +00:00
|
|
|
# Ignore newtab component build assets
|
|
|
|
^browser/components/newtab/logs/
|
|
|
|
|
2022-01-25 16:11:07 +00:00
|
|
|
# Ignore Pocket component build and dev assets
|
|
|
|
browser/components/pocket/content/panels/css/main.compiled.css.map
|
|
|
|
|
2007-09-26 00:49:12 +00:00
|
|
|
# Build directories for js shell
|
|
|
|
_DBG\.OBJ/
|
|
|
|
_OPT\.OBJ/
|
2014-04-23 20:41:51 +00:00
|
|
|
^js/src/.*-obj/
|
2018-08-20 06:03:00 +00:00
|
|
|
^js/src/obj-.*/
|
2007-09-26 00:49:12 +00:00
|
|
|
|
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla.
Give SpiderMonkey its own configure script and top-level Makefile.
Adjust js/src/Makefile as appropriate for life as a stand-alone
makefile, instead of a 'make export; make libs'-style Mozilla tier
makefile. Have the configure script accept '--with-nspr-cflags' and
'--with-nspr-libs' options for using an in-tree NSPR. Also accept
'--with-system-nspr', '--with-nspr-prefix', and
'--with-nspr-exec-prefix' flags for using an installed NSPR. Default
to --disable-jemalloc, assuming we don't have that part of the tree
available; have the top-level configure script pass --enable-jemalloc
as needed.
Since we no longer have an export phase to copy header files into
dist/include/js before we build the library, we need to be able to
find nanojit.h in the nanojit directory; fix references in
jsbuiltins.h and jstracer.cpp.
Give SpiderMonkey it its own copies of many of the files from ./config
and ./build. These are all exact copies, except as follows:
. js/src/config/Makefile.in: js/src only has a subset of
js/src/config, and thus a subset of the makefile targets.
. js/src/config/autoconf.mk.in: js/src/configure.in has its own make
variables to set, not set by the top-level configure script, so it
needs a custom automake.mk template.
. js/src/config/make-system-wrappers.pl: a copy from nsprpub/config,
so that we can build without having an NSPR source tree handy.
Invoke js/src/configure from ./configure, passing the values computed
for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script.
Treat js/src as a static directory of the js tier, and create a new
config/js (just a Makefile) to be the js tier's non-static directory.
Let js/src/configure generate SpiderMonkey's makefiles, not
./configure.
Generate a 'js-config' script, which clients can call to find the
CFLAGS and LIBS values necessary to compile and link against an
installed SpiderMonkey library. Don't include the js-config script in
Macintosh packages.
Teach client.mk how to rebuild js/src/configure.
Tell Mercurial to ignore files generated by autoconf in js/src.
Further work:
. Right now, callers must define JS_THREADSAFE when #including jsapi.h.
This is fixed in a subsequent patch.
. js/src/configure is a trimmed copy of ./configure. It could be
trimmed more.
--HG--
rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl
rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4
rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess
rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub
rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4
rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh
rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile
rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh
rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4
rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4
rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh
rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper
rename : build/hcc => js/src/build/hcc
rename : build/hcpp => js/src/build/hcpp
rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl
rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl
rename : config/Makefile.in => js/src/config/Makefile.in
rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm
rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in
rename : config/config.mk => js/src/config/config.mk
rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c
rename : config/fastcwd.pl => js/src/config/fastcwd.pl
rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h
rename : config/insure.mk => js/src/config/insure.mk
rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl
rename : config/milestone.pl => js/src/config/milestone.pl
rename : config/milestone.txt => js/src/config/milestone.txt
rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in
rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c
rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h
rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c
rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h
rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h
rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c
rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c
rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man
rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c
rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c
rename : config/nfspwd.pl => js/src/config/nfspwd.pl
rename : config/nsinstall.c => js/src/config/nsinstall.c
rename : config/nsinstall.py => js/src/config/nsinstall.py
rename : config/pathsub.c => js/src/config/pathsub.c
rename : config/pathsub.h => js/src/config/pathsub.h
rename : config/preprocessor.pl => js/src/config/preprocessor.pl
rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl
rename : config/revdepth.pl => js/src/config/revdepth.pl
rename : config/rules.mk => js/src/config/rules.mk
rename : config/system-headers => js/src/config/system-headers
rename : config/version.mk => js/src/config/version.mk
rename : config/version_win.pl => js/src/config/version_win.pl
rename : configure.in => js/src/configure.in
2008-10-29 15:29:22 +00:00
|
|
|
# SpiderMonkey configury
|
2016-02-25 15:01:55 +00:00
|
|
|
^js/src/old-configure$
|
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla.
Give SpiderMonkey its own configure script and top-level Makefile.
Adjust js/src/Makefile as appropriate for life as a stand-alone
makefile, instead of a 'make export; make libs'-style Mozilla tier
makefile. Have the configure script accept '--with-nspr-cflags' and
'--with-nspr-libs' options for using an in-tree NSPR. Also accept
'--with-system-nspr', '--with-nspr-prefix', and
'--with-nspr-exec-prefix' flags for using an installed NSPR. Default
to --disable-jemalloc, assuming we don't have that part of the tree
available; have the top-level configure script pass --enable-jemalloc
as needed.
Since we no longer have an export phase to copy header files into
dist/include/js before we build the library, we need to be able to
find nanojit.h in the nanojit directory; fix references in
jsbuiltins.h and jstracer.cpp.
Give SpiderMonkey it its own copies of many of the files from ./config
and ./build. These are all exact copies, except as follows:
. js/src/config/Makefile.in: js/src only has a subset of
js/src/config, and thus a subset of the makefile targets.
. js/src/config/autoconf.mk.in: js/src/configure.in has its own make
variables to set, not set by the top-level configure script, so it
needs a custom automake.mk template.
. js/src/config/make-system-wrappers.pl: a copy from nsprpub/config,
so that we can build without having an NSPR source tree handy.
Invoke js/src/configure from ./configure, passing the values computed
for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script.
Treat js/src as a static directory of the js tier, and create a new
config/js (just a Makefile) to be the js tier's non-static directory.
Let js/src/configure generate SpiderMonkey's makefiles, not
./configure.
Generate a 'js-config' script, which clients can call to find the
CFLAGS and LIBS values necessary to compile and link against an
installed SpiderMonkey library. Don't include the js-config script in
Macintosh packages.
Teach client.mk how to rebuild js/src/configure.
Tell Mercurial to ignore files generated by autoconf in js/src.
Further work:
. Right now, callers must define JS_THREADSAFE when #including jsapi.h.
This is fixed in a subsequent patch.
. js/src/configure is a trimmed copy of ./configure. It could be
trimmed more.
--HG--
rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl
rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4
rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess
rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub
rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4
rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh
rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile
rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh
rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4
rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4
rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh
rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper
rename : build/hcc => js/src/build/hcc
rename : build/hcpp => js/src/build/hcpp
rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl
rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl
rename : config/Makefile.in => js/src/config/Makefile.in
rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm
rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in
rename : config/config.mk => js/src/config/config.mk
rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c
rename : config/fastcwd.pl => js/src/config/fastcwd.pl
rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h
rename : config/insure.mk => js/src/config/insure.mk
rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl
rename : config/milestone.pl => js/src/config/milestone.pl
rename : config/milestone.txt => js/src/config/milestone.txt
rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in
rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c
rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h
rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c
rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h
rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h
rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c
rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c
rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man
rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c
rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c
rename : config/nfspwd.pl => js/src/config/nfspwd.pl
rename : config/nsinstall.c => js/src/config/nsinstall.c
rename : config/nsinstall.py => js/src/config/nsinstall.py
rename : config/pathsub.c => js/src/config/pathsub.c
rename : config/pathsub.h => js/src/config/pathsub.h
rename : config/preprocessor.pl => js/src/config/preprocessor.pl
rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl
rename : config/revdepth.pl => js/src/config/revdepth.pl
rename : config/rules.mk => js/src/config/rules.mk
rename : config/system-headers => js/src/config/system-headers
rename : config/version.mk => js/src/config/version.mk
rename : config/version_win.pl => js/src/config/version_win.pl
rename : configure.in => js/src/configure.in
2008-10-29 15:29:22 +00:00
|
|
|
^js/src/autom4te.cache$
|
2009-10-16 18:48:16 +00:00
|
|
|
# SpiderMonkey test result logs
|
|
|
|
^js/src/tests/results-.*\.(html|txt)$
|
2016-03-25 18:41:54 +00:00
|
|
|
^js/src/devtools/rootAnalysis/t/out
|
2021-04-13 16:41:46 +00:00
|
|
|
# SpiderMonkey wasm/generate-spectests artifacts
|
|
|
|
^js/src/jit-test/etc/wasm/generate-spectests/specs/
|
|
|
|
^js/src/jit-test/etc/wasm/generate-spectests/tests/
|
|
|
|
^js/src/jit-test/etc/wasm/generate-spectests/target/
|
2009-07-17 20:50:20 +00:00
|
|
|
|
|
|
|
# Java HTML5 parser classes
|
2009-09-25 19:57:09 +00:00
|
|
|
^parser/html/java/(html|java)parser/
|
2012-01-05 16:26:14 +00:00
|
|
|
|
|
|
|
# SVN directories
|
|
|
|
\.svn/
|
2012-01-16 21:31:44 +00:00
|
|
|
|
|
|
|
# Ignore the files and directory that Eclipse IDE creates
|
2012-02-13 22:36:16 +00:00
|
|
|
\.project$
|
|
|
|
\.cproject$
|
|
|
|
\.settings/
|
2012-09-19 18:20:19 +00:00
|
|
|
|
2015-10-21 22:07:55 +00:00
|
|
|
# Ignore the files and directory that JetBrains IDEs create.
|
2013-07-16 14:32:55 +00:00
|
|
|
\.idea/
|
2015-10-21 22:07:55 +00:00
|
|
|
\.iml$
|
2017-07-19 18:08:06 +00:00
|
|
|
# Android Monitor in Android Studio creates a captures/ directory.
|
|
|
|
^captures/
|
2015-10-21 22:07:55 +00:00
|
|
|
|
|
|
|
# Gradle cache.
|
|
|
|
^.gradle/
|
2013-07-16 14:32:55 +00:00
|
|
|
|
2015-12-10 15:51:42 +00:00
|
|
|
# Local Gradle configuration properties.
|
|
|
|
^local.properties$
|
|
|
|
|
2013-02-01 19:20:17 +00:00
|
|
|
# Git repositories
|
|
|
|
.git/
|
2013-04-30 07:22:25 +00:00
|
|
|
|
|
|
|
# Ignore chrome.manifest files from the devtools loader
|
2015-09-21 17:07:31 +00:00
|
|
|
^devtools/client/chrome.manifest$
|
|
|
|
^devtools/shared/chrome.manifest$
|
2014-05-08 00:32:00 +00:00
|
|
|
|
2016-07-26 16:35:42 +00:00
|
|
|
# Ignore node_modules directories in devtools
|
2016-09-11 16:38:51 +00:00
|
|
|
^devtools/.*/node_modules/
|
2016-07-26 16:35:42 +00:00
|
|
|
|
2019-08-16 12:58:17 +00:00
|
|
|
# Ignore node_module directories and npm artifacts
|
2022-10-27 07:22:47 +00:00
|
|
|
^remote/test/puppeteer/.*\.tsbuildinfo
|
|
|
|
^remote/test/puppeteer/\.github
|
|
|
|
^remote/test/puppeteer/\.husky
|
|
|
|
^remote/test/puppeteer/\.local-chromium/
|
|
|
|
^remote/test/puppeteer/\.local-firefox/
|
2022-08-23 09:07:42 +00:00
|
|
|
^remote/test/puppeteer/coverage/
|
|
|
|
^remote/test/puppeteer/docker/
|
2022-10-27 07:22:47 +00:00
|
|
|
^remote/test/puppeteer/docs/puppeteer\.api\.json
|
2020-06-05 18:53:38 +00:00
|
|
|
^remote/test/puppeteer/experimental/
|
|
|
|
^remote/test/puppeteer/lib/
|
2022-08-23 09:07:42 +00:00
|
|
|
^remote/test/puppeteer/node_modules/
|
2022-10-27 07:22:47 +00:00
|
|
|
^remote/test/puppeteer/package-lock\.json
|
|
|
|
^remote/test/puppeteer/puppeteer.*\.tgz
|
|
|
|
^remote/test/puppeteer/src/generated
|
2022-08-23 09:07:42 +00:00
|
|
|
^remote/test/puppeteer/test/build
|
2020-06-05 18:53:38 +00:00
|
|
|
^remote/test/puppeteer/test/output-firefox
|
|
|
|
^remote/test/puppeteer/test/output-chromium
|
2022-01-04 12:11:44 +00:00
|
|
|
^remote/test/puppeteer/website
|
2019-08-16 12:58:17 +00:00
|
|
|
|
2014-05-22 02:42:39 +00:00
|
|
|
# git checkout of libstagefright
|
|
|
|
^media/libstagefright/android$
|
|
|
|
|
2014-05-08 00:32:00 +00:00
|
|
|
# Tag files generated by GNU Global
|
2019-03-29 23:16:09 +00:00
|
|
|
(^|/)GTAGS$
|
|
|
|
(^|/)GRTAGS$
|
|
|
|
(^|/)GSYMS$
|
|
|
|
(^|/)GPATH$
|
2014-06-27 20:25:03 +00:00
|
|
|
|
2014-09-04 11:52:43 +00:00
|
|
|
# Git clone directory for updating web-platform-tests
|
|
|
|
^testing/web-platform/sync/
|
2014-08-26 17:58:00 +00:00
|
|
|
|
2017-05-23 12:48:29 +00:00
|
|
|
# Third party metadata for web-platform-tests
|
|
|
|
^testing/web-platform/products/
|
|
|
|
|
2014-12-23 03:49:04 +00:00
|
|
|
# Android Gradle artifacts.
|
|
|
|
^mobile/android/gradle/.gradle
|
2015-06-15 11:46:08 +00:00
|
|
|
|
|
|
|
# XCode project cruft
|
2017-09-24 20:45:17 +00:00
|
|
|
^[^/]*\.xcodeproj/
|
2015-07-24 13:30:18 +00:00
|
|
|
|
2018-03-01 22:33:35 +00:00
|
|
|
# Rust/Cargo output from running `cargo` directly
|
|
|
|
^target/
|
2022-09-27 07:38:08 +00:00
|
|
|
^servo/ports/geckolib/target/
|
|
|
|
^dom/base/rust/target/
|
|
|
|
^servo/components/style/target/
|
2018-01-12 16:08:07 +00:00
|
|
|
|
2015-07-24 13:30:18 +00:00
|
|
|
# Ignore mozharness execution files
|
2016-03-01 14:18:22 +00:00
|
|
|
^testing/mozharness/.tox/
|
2015-07-24 13:30:18 +00:00
|
|
|
^testing/mozharness/build/
|
2016-03-01 14:18:22 +00:00
|
|
|
^testing/mozharness/logs/
|
|
|
|
^testing/mozharness/.coverage
|
|
|
|
^testing/mozharness/nosetests.xml
|
2015-09-30 13:44:48 +00:00
|
|
|
|
2015-11-25 19:56:02 +00:00
|
|
|
# Ignore tox generated dir
|
|
|
|
.tox/
|
|
|
|
|
Bug 1543247 - Part 1: Add `mach browsertime` command that installs and invokes browsertime. r=Standard8,ahal
[browsertime](https://github.com/sitespeedio/browsertime) is a harness
for running performance tests, similar to Mozilla's Raptor testing
framework. The Performance Team is using it locally with some
success, but we're running a heavily modified toolchain that is
challenging to install. This mach command is intended to be leverage
for getting more folks able to use browsertime easily.
In particular, the version of browsertime that this installs has
nalexander's changes to support testing GeckoView-based vehicles. If
this approach meets with approval, I'll continue to follow-up with
additional configuration and tooling layers to make it even easier to
drive GeckoView-based vehicles.
I elected to piggy-back install on the eslint installation process,
since this is very similar. To that end, I generalized what was there
very slightly. I elected not to try to move the existing code into a
more obvious shared location, although it might be possible, because
it wasn't clear what contexts the existing code would be invoked
from. In particular I wasn't certain the code could rely on a
complete mozbuild checkout.
I did need to ensure the local Node.js binary is early on the PATH;
this was an issue I ran into with my initial Node/Yarn prototyping
many months ago. At heart the issue is that package scripts in the
wild invoke a bare `node` or `npm` command; if there was a culture of
invoking $NODE or $NPM, this wouldn't be necessary. There's no harm
doing it for ESlint, and it will help the next person who wants to
install an NPM package for tooling in this manner.
Differential Revision: https://phabricator.services.mozilla.com/D26820
--HG--
extra : moz-landing-system : lando
2019-05-06 23:56:49 +00:00
|
|
|
# Ignore ESLint and other tool's node_modules.
|
2017-03-22 11:27:00 +00:00
|
|
|
^node_modules/
|
Bug 1543247 - Part 1: Add `mach browsertime` command that installs and invokes browsertime. r=Standard8,ahal
[browsertime](https://github.com/sitespeedio/browsertime) is a harness
for running performance tests, similar to Mozilla's Raptor testing
framework. The Performance Team is using it locally with some
success, but we're running a heavily modified toolchain that is
challenging to install. This mach command is intended to be leverage
for getting more folks able to use browsertime easily.
In particular, the version of browsertime that this installs has
nalexander's changes to support testing GeckoView-based vehicles. If
this approach meets with approval, I'll continue to follow-up with
additional configuration and tooling layers to make it even easier to
drive GeckoView-based vehicles.
I elected to piggy-back install on the eslint installation process,
since this is very similar. To that end, I generalized what was there
very slightly. I elected not to try to move the existing code into a
more obvious shared location, although it might be possible, because
it wasn't clear what contexts the existing code would be invoked
from. In particular I wasn't certain the code could rely on a
complete mozbuild checkout.
I did need to ensure the local Node.js binary is early on the PATH;
this was an issue I ran into with my initial Node/Yarn prototyping
many months ago. At heart the issue is that package scripts in the
wild invoke a bare `node` or `npm` command; if there was a culture of
invoking $NODE or $NPM, this wouldn't be necessary. There's no harm
doing it for ESlint, and it will help the next person who wants to
install an NPM package for tooling in this manner.
Differential Revision: https://phabricator.services.mozilla.com/D26820
--HG--
extra : moz-landing-system : lando
2019-05-06 23:56:49 +00:00
|
|
|
^tools/browsertime/node_modules/
|
2017-07-14 10:05:33 +00:00
|
|
|
^tools/lint/eslint/eslint-plugin-mozilla/node_modules/
|
2020-08-10 23:32:15 +00:00
|
|
|
^browser/components/newtab/node_modules/
|
2022-11-03 21:32:34 +00:00
|
|
|
^toolkit/content/vendor/lit/node_modules/
|
|
|
|
# Bug 1790483 Ignore lit - development only for now.
|
|
|
|
^toolkit/content/widgets/vendor/lit.all.mjs
|
2022-07-11 14:55:11 +00:00
|
|
|
^tools/esmify/node_modules/
|
2015-10-13 16:35:42 +00:00
|
|
|
|
|
|
|
# Ignore talos virtualenv and tp5n files.
|
|
|
|
# The tp5n set is supposed to be decompressed at
|
2019-11-25 18:31:36 +00:00
|
|
|
# testing/talos/talos/fis|tests/tp5n in order to run tests like tps
|
2015-10-13 16:35:42 +00:00
|
|
|
# locally. Similarly, running talos requires a Python package virtual
|
|
|
|
# environment. Both the virtual environment and tp5n files end up littering
|
|
|
|
# the status command, so we ignore them.
|
|
|
|
^testing/talos/.Python
|
|
|
|
^testing/talos/bin/
|
|
|
|
^testing/talos/include/
|
|
|
|
^testing/talos/lib/
|
2019-11-25 18:31:36 +00:00
|
|
|
^testing/talos/talos/fis/tp5n.zip
|
|
|
|
^testing/talos/talos/fis/tp5n.tar.gz
|
|
|
|
^testing/talos/talos/fis/tp5n
|
2016-03-01 14:18:22 +00:00
|
|
|
^testing/talos/talos/tests/tp5n.zip
|
2016-11-08 00:35:12 +00:00
|
|
|
^testing/talos/talos/tests/tp5n.tar.gz
|
2016-03-01 14:18:22 +00:00
|
|
|
^testing/talos/talos/tests/tp5n
|
|
|
|
^testing/talos/talos/tests/devtools/damp.manifest.develop
|
2019-08-31 06:58:00 +00:00
|
|
|
^testing/talos/talos/startup_test/startup_about_home_paint/startup_about_home_paint.manifest.develop
|
|
|
|
^testing/talos/talos/webextensions/
|
2016-11-08 00:35:12 +00:00
|
|
|
^talos-venv
|
2017-06-05 18:51:06 +00:00
|
|
|
^py3venv
|
2017-08-15 19:30:23 +00:00
|
|
|
^testing/talos/talos/mitmproxy/mitmdump
|
|
|
|
^testing/talos/talos/mitmproxy/mitmproxy
|
|
|
|
^testing/talos/talos/mitmproxy/mitmweb
|
2016-04-25 18:28:46 +00:00
|
|
|
|
2018-01-17 18:59:55 +00:00
|
|
|
# Ignore talos webkit benchmark files; source is copied from in-tree /third_party
|
|
|
|
# into testing/talos/talos/tests/webkit/PerformanceTests/ when run locally
|
|
|
|
# i.e. speedometer, motionmark, stylebench
|
|
|
|
^testing/talos/talos/tests/webkit/PerformanceTests
|
2017-11-28 20:35:44 +00:00
|
|
|
|
2017-10-20 08:53:20 +00:00
|
|
|
# Ignore toolchains.json created by tooltool.
|
|
|
|
^toolchains\.json
|
|
|
|
|
2021-11-02 14:33:49 +00:00
|
|
|
# Unit test
|
|
|
|
\.pytest_cache/
|
|
|
|
|
2016-04-25 18:28:46 +00:00
|
|
|
# Ignore files created when running a reftest.
|
|
|
|
^lextab.py$
|
2016-07-29 17:43:29 +00:00
|
|
|
|
2017-09-21 19:44:13 +00:00
|
|
|
# Ignore sync tps logs and reports
|
|
|
|
tps\.log
|
|
|
|
tps_result\.json
|
|
|
|
|
2021-10-18 14:46:13 +00:00
|
|
|
# Ignore Visual Studio/Visual Studio Code workspace files.
|
|
|
|
\.vs/
|
2017-05-04 15:03:54 +00:00
|
|
|
\.vscode/(?!extensions\.json|tasks\.json)
|
2022-03-11 15:40:52 +00:00
|
|
|
\.user$
|
2017-02-08 19:41:52 +00:00
|
|
|
|
2017-11-14 21:46:47 +00:00
|
|
|
# https://bz.mercurial-scm.org/show_bug.cgi?id=5322
|
|
|
|
^comm/
|
2018-04-16 21:15:38 +00:00
|
|
|
|
|
|
|
# Ignore various raptor performance framework files
|
|
|
|
^testing/raptor/.raptor-venv
|
|
|
|
^testing/raptor/raptor-venv
|
2019-06-19 07:44:35 +00:00
|
|
|
^testing/raptor/raptor/tests/json/
|
2018-04-16 21:15:38 +00:00
|
|
|
^testing/raptor/webext/raptor/auto_gen_test_config.js
|
2018-12-10 19:05:01 +00:00
|
|
|
|
2022-03-16 12:39:55 +00:00
|
|
|
# Ignore condprofile build directory
|
|
|
|
^testing/condprofile/build
|
|
|
|
|
2019-06-10 19:43:22 +00:00
|
|
|
# Ignore browsertime output directory
|
|
|
|
^browsertime-results
|
|
|
|
|
2019-11-15 00:29:53 +00:00
|
|
|
# Ignore the build directories of WebGPU and WebRender standalone builds.
|
|
|
|
gfx/wgpu/target
|
|
|
|
gfx/wgpu/.*/build
|
2019-02-11 13:37:44 +00:00
|
|
|
gfx/wr/target/
|
2019-07-12 12:17:04 +00:00
|
|
|
|
|
|
|
# Ignore this files in certviewer
|
|
|
|
toolkit/components/certviewer/content/node_modules/
|
|
|
|
toolkit/components/certviewer/content/package-lock.json
|
2020-07-07 19:53:32 +00:00
|
|
|
|
|
|
|
# Ignore Rust/Cargo output from running `cargo` directly for image_builder docker image
|
|
|
|
^taskcluster/docker/image_builder/build-image/target
|
2021-11-16 15:09:09 +00:00
|
|
|
|
|
|
|
# Ignore ICU4X experimentation data files.
|
|
|
|
# See intl/ICU4X.md for more details.
|
|
|
|
^config/external/icu4x
|
2022-01-12 17:20:04 +00:00
|
|
|
|
|
|
|
# Ignore the index files generated by clangd.
|
|
|
|
^.cache/clangd/index/
|
2022-03-31 13:52:11 +00:00
|
|
|
|
|
|
|
# Ignore mypy files
|
|
|
|
\.mypy_cache/
|
2022-05-25 18:32:43 +00:00
|
|
|
|
|
|
|
# Ignore Storybook generated files
|
|
|
|
^browser/components/storybook/node_modules/
|
|
|
|
^browser/components/storybook/storybook-static/
|
2022-07-11 14:55:11 +00:00
|
|
|
|
|
|
|
# Ignore jscodeshift installed by mach esmify on windows
|
|
|
|
^tools/esmify/jscodeshift
|
|
|
|
^tools/esmify/jscodeshift.cmd
|
|
|
|
^tools/esmify/jscodeshift.ps1
|
2022-10-27 07:22:47 +00:00
|
|
|
^tools/esmify/package-lock.json
|