Commit Graph

35 Commits

Author SHA1 Message Date
Lin Clark
011bc500b7 Bug 1289258 - Part 2 - Add mocha test for search. r=bgrins
MozReview-Commit-ID: RoAVWKb0qC

--HG--
rename : devtools/client/webconsole/new-console-output/test/moz.build => devtools/client/webconsole/new-console-output/test/fixtures/moz.build
rename : devtools/client/webconsole/new-console-output/test/stubs.js => devtools/client/webconsole/new-console-output/test/fixtures/stubs.js
extra : rebase_source : 1eb041f42860689e1013355294763238630c61f3
2016-07-26 12:35:42 -04:00
Mark Banner
0d47d718ce Bug 1287827 - Part 2. Build changes for removing Loop. r=glandium 2016-07-30 08:48:29 +01:00
Mark Banner
08ab3adda4 Backed out changeset 1a8114aa64c1 (bug 1287827) for breaking tests 2016-07-29 18:17:18 +01:00
Mark Banner
08a2b46865 Bug 1287827 - Part 2. Build changes for removing Loop. r=glandium 2016-07-29 12:00:25 +01:00
Andrew Halberstadt
fc24b11e43 Bug 1271734 - Move all eslint related infrastructure to tools/lint, r=miker
This commit simply moves 'testing/eslint' to 'tools/lint/eslint' and the eslint related
mach command from 'python/mach_commands.py' to 'tools/lint/mach_commands.py'. It shouldn't
have any functional change on running eslint, either through mach or taskcluster.

This is in preparation for bug 1258341, to make the diffs there a little easier to read.

MozReview-Commit-ID: K03sn9lv9Lv

--HG--
rename : testing/eslint/eslint-plugin-mozilla/LICENSE => tools/lint/eslint/eslint-plugin-mozilla/LICENSE
rename : testing/eslint/eslint-plugin-mozilla/docs/balanced-listeners.rst => tools/lint/eslint/eslint-plugin-mozilla/docs/balanced-listeners.rst
rename : testing/eslint/eslint-plugin-mozilla/docs/import-browserjs-globals.rst => tools/lint/eslint/eslint-plugin-mozilla/docs/import-browserjs-globals.rst
rename : testing/eslint/eslint-plugin-mozilla/docs/import-globals.rst => tools/lint/eslint/eslint-plugin-mozilla/docs/import-globals.rst
rename : testing/eslint/eslint-plugin-mozilla/docs/import-headjs-globals.rst => tools/lint/eslint/eslint-plugin-mozilla/docs/import-headjs-globals.rst
rename : testing/eslint/eslint-plugin-mozilla/docs/index.rst => tools/lint/eslint/eslint-plugin-mozilla/docs/index.rst
rename : testing/eslint/eslint-plugin-mozilla/docs/mark-test-function-used.rst => tools/lint/eslint/eslint-plugin-mozilla/docs/mark-test-function-used.rst
rename : testing/eslint/eslint-plugin-mozilla/docs/no-aArgs.rst => tools/lint/eslint/eslint-plugin-mozilla/docs/no-aArgs.rst
rename : testing/eslint/eslint-plugin-mozilla/docs/no-cpows-in-tests.rst => tools/lint/eslint/eslint-plugin-mozilla/docs/no-cpows-in-tests.rst
rename : testing/eslint/eslint-plugin-mozilla/docs/reject-importGlobalProperties.rst => tools/lint/eslint/eslint-plugin-mozilla/docs/reject-importGlobalProperties.rst
rename : testing/eslint/eslint-plugin-mozilla/docs/var-only-at-top-level.rst => tools/lint/eslint/eslint-plugin-mozilla/docs/var-only-at-top-level.rst
rename : testing/eslint/eslint-plugin-mozilla/lib/globals.js => tools/lint/eslint/eslint-plugin-mozilla/lib/globals.js
rename : testing/eslint/eslint-plugin-mozilla/lib/helpers.js => tools/lint/eslint/eslint-plugin-mozilla/lib/helpers.js
rename : testing/eslint/eslint-plugin-mozilla/lib/index.js => tools/lint/eslint/eslint-plugin-mozilla/lib/index.js
rename : testing/eslint/eslint-plugin-mozilla/lib/processors/xbl-bindings.js => tools/lint/eslint/eslint-plugin-mozilla/lib/processors/xbl-bindings.js
rename : testing/eslint/eslint-plugin-mozilla/lib/rules/.eslintrc => tools/lint/eslint/eslint-plugin-mozilla/lib/rules/.eslintrc
rename : testing/eslint/eslint-plugin-mozilla/lib/rules/balanced-listeners.js => tools/lint/eslint/eslint-plugin-mozilla/lib/rules/balanced-listeners.js
rename : testing/eslint/eslint-plugin-mozilla/lib/rules/import-browserjs-globals.js => tools/lint/eslint/eslint-plugin-mozilla/lib/rules/import-browserjs-globals.js
rename : testing/eslint/eslint-plugin-mozilla/lib/rules/import-globals.js => tools/lint/eslint/eslint-plugin-mozilla/lib/rules/import-globals.js
rename : testing/eslint/eslint-plugin-mozilla/lib/rules/import-headjs-globals.js => tools/lint/eslint/eslint-plugin-mozilla/lib/rules/import-headjs-globals.js
rename : testing/eslint/eslint-plugin-mozilla/lib/rules/mark-test-function-used.js => tools/lint/eslint/eslint-plugin-mozilla/lib/rules/mark-test-function-used.js
rename : testing/eslint/eslint-plugin-mozilla/lib/rules/no-aArgs.js => tools/lint/eslint/eslint-plugin-mozilla/lib/rules/no-aArgs.js
rename : testing/eslint/eslint-plugin-mozilla/lib/rules/no-cpows-in-tests.js => tools/lint/eslint/eslint-plugin-mozilla/lib/rules/no-cpows-in-tests.js
rename : testing/eslint/eslint-plugin-mozilla/lib/rules/reject-importGlobalProperties.js => tools/lint/eslint/eslint-plugin-mozilla/lib/rules/reject-importGlobalProperties.js
rename : testing/eslint/eslint-plugin-mozilla/lib/rules/var-only-at-top-level.js => tools/lint/eslint/eslint-plugin-mozilla/lib/rules/var-only-at-top-level.js
rename : testing/eslint/eslint-plugin-mozilla/moz.build => tools/lint/eslint/eslint-plugin-mozilla/moz.build
rename : testing/eslint/eslint-plugin-mozilla/package.json => tools/lint/eslint/eslint-plugin-mozilla/package.json
rename : testing/eslint/manifest.tt => tools/lint/eslint/manifest.tt
rename : testing/eslint/npm-shrinkwrap.json => tools/lint/eslint/npm-shrinkwrap.json
rename : testing/eslint/package.json => tools/lint/eslint/package.json
rename : testing/eslint/update => tools/lint/eslint/update
extra : rebase_source : bb44b6285acf4625079cb6a3aaca7d9ada778c3a
2016-06-02 15:38:36 -04:00
Botond Ballo
1f21867fb0 Bug 1267351 - Add lextab.py (generated during a reftest run) to .hgignore and .gitignore. r=glandium DONTBUILD
MozReview-Commit-ID: cuTju8o92D

--HG--
extra : source : fe8bca53fa0e083de654ff3b59d418ab9f67b4bc
extra : amend_source : 0fde095e5cee002cfb22c2ac4ffede5d72d3a581
extra : intermediate-source : da950d23f132265820b36bb53a7d38b6e1c9f65e
extra : histedit_source : 409c38c639894b51d2f9ea85532b571603669cb3
2016-04-25 14:28:46 -04:00
Michael Ratcliffe
7b575a75a0 Bug 1265082 - ESLint jobs are apparently hitting the network r=me,dustin,pbro,jryans
So a few changes here:
- node_modules is downloaded using tooltool so that we dont need to rely on external infrastructure.
- We have a npm-shrinkwrap.json file that version locks all of our node packages.
- eslint, eslint-plugin-mozilla etc. are now all installed locally.

In reality this means that we don't hit the network and we don't force users into installing global packages.

./mach eslint --setup has also been improved. We install packages locally and display the path of the user's eslint binary (useful for configuring editors).

eslint-plugin-mozilla has been moved from testing/eslint-plugin-mozilla to /testing/eslint/eslint-plugin-mozilla.

The node_modules directory for eslint and other plugins is located in testing/eslint/.

MozReview-Commit-ID: 4SFSxzka6BS

--HG--
rename : testing/eslint-plugin-mozilla/LICENSE => testing/eslint/eslint-plugin-mozilla/LICENSE
rename : testing/eslint-plugin-mozilla/docs/balanced-listeners.rst => testing/eslint/eslint-plugin-mozilla/docs/balanced-listeners.rst
rename : testing/eslint-plugin-mozilla/docs/import-browserjs-globals.rst => testing/eslint/eslint-plugin-mozilla/docs/import-browserjs-globals.rst
rename : testing/eslint-plugin-mozilla/docs/import-globals.rst => testing/eslint/eslint-plugin-mozilla/docs/import-globals.rst
rename : testing/eslint-plugin-mozilla/docs/import-headjs-globals.rst => testing/eslint/eslint-plugin-mozilla/docs/import-headjs-globals.rst
rename : testing/eslint-plugin-mozilla/docs/index.rst => testing/eslint/eslint-plugin-mozilla/docs/index.rst
rename : testing/eslint-plugin-mozilla/docs/mark-test-function-used.rst => testing/eslint/eslint-plugin-mozilla/docs/mark-test-function-used.rst
rename : testing/eslint-plugin-mozilla/docs/no-aArgs.rst => testing/eslint/eslint-plugin-mozilla/docs/no-aArgs.rst
rename : testing/eslint-plugin-mozilla/docs/no-cpows-in-tests.rst => testing/eslint/eslint-plugin-mozilla/docs/no-cpows-in-tests.rst
rename : testing/eslint-plugin-mozilla/docs/reject-importGlobalProperties.rst => testing/eslint/eslint-plugin-mozilla/docs/reject-importGlobalProperties.rst
rename : testing/eslint-plugin-mozilla/docs/var-only-at-top-level.rst => testing/eslint/eslint-plugin-mozilla/docs/var-only-at-top-level.rst
rename : testing/eslint-plugin-mozilla/lib/globals.js => testing/eslint/eslint-plugin-mozilla/lib/globals.js
rename : testing/eslint-plugin-mozilla/lib/helpers.js => testing/eslint/eslint-plugin-mozilla/lib/helpers.js
rename : testing/eslint-plugin-mozilla/lib/index.js => testing/eslint/eslint-plugin-mozilla/lib/index.js
rename : testing/eslint-plugin-mozilla/lib/processors/xbl-bindings.js => testing/eslint/eslint-plugin-mozilla/lib/processors/xbl-bindings.js
rename : testing/eslint-plugin-mozilla/lib/rules/.eslintrc => testing/eslint/eslint-plugin-mozilla/lib/rules/.eslintrc
rename : testing/eslint-plugin-mozilla/lib/rules/balanced-listeners.js => testing/eslint/eslint-plugin-mozilla/lib/rules/balanced-listeners.js
rename : testing/eslint-plugin-mozilla/lib/rules/import-browserjs-globals.js => testing/eslint/eslint-plugin-mozilla/lib/rules/import-browserjs-globals.js
rename : testing/eslint-plugin-mozilla/lib/rules/import-globals.js => testing/eslint/eslint-plugin-mozilla/lib/rules/import-globals.js
rename : testing/eslint-plugin-mozilla/lib/rules/import-headjs-globals.js => testing/eslint/eslint-plugin-mozilla/lib/rules/import-headjs-globals.js
rename : testing/eslint-plugin-mozilla/lib/rules/mark-test-function-used.js => testing/eslint/eslint-plugin-mozilla/lib/rules/mark-test-function-used.js
rename : testing/eslint-plugin-mozilla/lib/rules/no-aArgs.js => testing/eslint/eslint-plugin-mozilla/lib/rules/no-aArgs.js
rename : testing/eslint-plugin-mozilla/lib/rules/no-cpows-in-tests.js => testing/eslint/eslint-plugin-mozilla/lib/rules/no-cpows-in-tests.js
rename : testing/eslint-plugin-mozilla/lib/rules/reject-importGlobalProperties.js => testing/eslint/eslint-plugin-mozilla/lib/rules/reject-importGlobalProperties.js
rename : testing/eslint-plugin-mozilla/lib/rules/var-only-at-top-level.js => testing/eslint/eslint-plugin-mozilla/lib/rules/var-only-at-top-level.js
rename : testing/eslint-plugin-mozilla/moz.build => testing/eslint/eslint-plugin-mozilla/moz.build
rename : testing/eslint-plugin-mozilla/package.json => testing/eslint/eslint-plugin-mozilla/package.json
extra : rebase_source : cf689f6cc170b9a22018c981a768f545f952e019
2016-05-02 00:22:31 +01:00
Andrew Halberstadt
fbc37fe116 Bug 1255450 - [mach] Enable runtime configuration files, r=gps
Runtime configs have been implemented for awhile, but disabled. This patch
enables configuration. Config files will be loaded in the following order
(later files override earlier ones):

1a. $MACHRC
1b. $MOZBUILD_STATE_PATH/machrc (if $MACHRC is unset)
2. topsrcdir/machrc
3. CLI via --settings

Note: .machrc may be used instead of machrc if desired.

MozReview-Commit-ID: IntONAZLGML

--HG--
extra : rebase_source : ff79b129eaea7cca5064d30fa6ddc76fceb9669b
2016-03-28 11:18:24 -04:00
Henrik Skupin
e8e4dcf68d Bug 1252446 - Sync global .gitignore and .hgignore for various missing unwanted files. r=gps DONTBUILD
MozReview-Commit-ID: 8OoQ8Ep2JMl

--HG--
extra : rebase_source : 454cea343266744397017755e5cbde029dacc950
2016-03-01 15:18:22 +01:00
Panos Astithas
9c4b134e90 Bug 1251246 - Add old-configure and js/src/old-configure to .hgignore and .gitignore. r=glandium
MozReview-Commit-ID: 1NRspN2lgNY
2016-02-25 18:41:21 +02:00
Nick Alexander
2d4a01bce1 No bug - Add Gradle/IntelliJ/Android Studio state to .gitignore. r=me
DONTBUILD NPOTB

This was already present in .hgignore.

MozReview-Commit-ID: GcYRIsWZZ5F
2016-02-13 18:51:57 -08:00
Mark Banner
646835ec23 Bug 1239828 - Fix broken L10n repos, correct ifdef for inclusion of locales, and add 'id' locale that was being ignored by .gitignore. rs=mikedeboer
--HG--
extra : commitid : IgBo3bwdogF
2016-02-05 17:21:16 +00:00
Mike Conley
e7bc9db0a3 Bug 1214256 - Add talos virtualenv and tp5n files to .hgignore and .gitignore. r=gps
--HG--
extra : transplant_source : %E0%7C%8EX%E1i%E6%B6V%01%97%88y%17%EA%07%08%1FK8
2015-10-13 12:35:42 -04:00
Wei Wu
319eee8553 Bug 1213161 - Really ignore build directories for js shell. r=sfink
commit 68ab620cb14e078aa597059abbb522e68ae073d3
Author: Wei Wu <lazyparser@gmail.com>
    Really ignore build directories for js shell.
2015-10-09 10:25:59 +08:00
Michael Ratcliffe
3efb3a9e6f Bug 1203520 - We need a DevTools ESLint plugin containing our ruleset r=gps
--HG--
extra : commitid : FrMOnVBUxmY
extra : rebase_source : c38511e94177f651a0decad41180991c54cb0f33
2015-09-30 14:44:48 +01:00
J. Ryan Stinnett
4f1af0e003 Bug 912121 - Update misc. DevTools paths and comments. rs=devtools
--HG--
extra : commitid : BSf4D59s9HF
extra : rebase_source : 4d14e1aa3ad93bbb426861336e8b703bc1e0b3af
2015-09-21 12:07:31 -05:00
Mark Banner
7fc22ae3c9 Bug 1198247 - Update .gitignore for moved locations of psutil build files. r=gps NPOTB DONTBUILD 2015-08-27 11:24:18 +01:00
Vladimir Vukicevic
38b7f3cc8e No bug; add .pdb to gitignore 2015-04-01 16:02:20 -04:00
Nick Alexander
4f3f4284e1 Bug 1098239 - Rewrite mobile/android Gradle integration. r=me
This is a big patch, but it's essentially NPOTB.  The part that is POTB
is ... removing Gradle integration from the build.  I've implemented
|mach gradle-install| as a substitute for the build system stuff; it's
just so much easier to iterate on a mach command than a moz.build and
Makefile.in.

I'm landing this with self-review because this lessens the impact of the
Gradle integration on the build system and because I am the only person
who understands either the old or the new system.

You'll need to run |mach gradle-install| at top level to configure the
new Gradle integration.  But |mach gradle ...| does the right thing
configuration steps too.

This patch rewrites most of the Gradle integration.  The major changes
are:

* all .gradle files move into mobile/android/gradle;
* all the Gradle projects live in the object directory;
* mozconfig exposed to all build.gradle files;
* simplification of Android configuration between build.gradle files;
* support for user-specified version of build tools;
* first steps towards supporting builds from the source directory;
* bumps Gradle to 2.2.1;
* bumps the Android-Gradle plugin to 0.14.4.

This is seemingly a step backwards given that we'd prefer to ship the
.idea directory in the source directory.  But in fact we get closer to
that; it's possible to run ./gradlew in the source directory and get a
reasonable build.  We'll progress with this in time.  The win right now
is that the projects are nested, which makes importing work better on
Linux machines.

Unfortunately IntelliJ 13 and 14 now have conflicting Android-Gradle
plugin version requirements, so we now only support IntelliJ 14.0.2 and
above.

--HG--
rename : mobile/android/base/gradle_AndroidManifest.xml => mobile/android/gradle/base/AndroidManifest.xml
rename : mobile/android/base/gradle_AndroidManifest.xml => mobile/android/gradle/branding/AndroidManifest.xml
rename : mobile/android/gradle/omnijar/gradle_AndroidManifest.xml => mobile/android/gradle/omnijar/AndroidManifest.xml
rename : mobile/android/base/gradle_AndroidManifest.xml => mobile/android/gradle/preprocessed_code/AndroidManifest.xml
rename : mobile/android/base/gradle_AndroidManifest.xml => mobile/android/gradle/preprocessed_resources/AndroidManifest.xml
rename : mobile/android/thirdparty/gradle_AndroidManifest.xml => mobile/android/gradle/thirdparty/AndroidManifest.xml
2014-12-22 19:49:04 -08:00
Ting-Yu Lin
1ef04f1195 Bug 1065252 - Ignore Emacs .dir-locals.el. r=ted
Ignore Emacs's directory variable files .dir-locals.el in all directory.
It allows me to write ((c-mode . ((mode . c++)))) to view all .h files
in C++ mode especially for those .h files generated by IDL without
proper Emacs modeline.

DONTBUILD because NPOTB
2014-09-09 23:40:00 +02:00
James Graham
1d0db0076b Bug 945222 - Initial import of web-platform-tests testsuite 4/4 : Integration with build system, mach and mozharness, r=ahal,gps
--HG--
extra : rebase_source : 0d704f5a3edcbcef56d15b76ef26aae1b7232c4d
2014-09-04 12:52:43 +01:00
Ting-Yu Lin
a2b1027d61 Bug 1007486 - Ignore tag files generated by GNU Global. r=ted 2014-05-07 20:32:00 -04:00
Panos Astithas
bd818d0778 Bug 861197 - chrome.manifest files created by the devtools loader should be ignored; r=dcamp; DONTBUILD because NPOTB 2013-04-30 10:22:25 +03:00
Gregory Szorc
60111d5545 Bug 751795 - Part 1: mach, the new frontend to mozilla-central; r=jhammel 2012-09-26 09:43:54 -07:00
Gregory Szorc
d876536efe NO BUG - Have .gitignore properly ignore files in python/psutil; r=me DONTBUILD
--HG--
extra : rebase_source : 48f7a48de00dcd92c42332db0eb466e16addfe62
2012-09-21 17:04:05 -07:00
Gregory Szorc
e29c61ae2c Bug 783727 - Part 5: Add psutil to virtualenv; r=ted
It is optional so if your machine does not support building Python C
extensions things should still work.
2012-09-19 11:20:19 -07:00
Gregory Szorc
a1df2b5a3c Bug 758823 - Don't create egg-info directories when populating virtualenv; r=ted
This patch basically bypasses setup.py for pure Python packages. Instead
of producing .egg-info directories in the source tree, it merely
installs .pth files pointing back to the source directory. As a result,
this is less junk in the source tree.

The .hgignore and .gitignore entries for egg-info directories have been
removed because there should no longer be egg-info directories any more.
People should clean up these orphaned directories manually. This can be
accomplished by running:

  $ hg status -u | grep .egg-info | xargs rm -rf
  $ git ls-files -o '*.egg-info*' | xargs rm -rf
2012-09-04 10:45:45 -07:00
Kartikaya Gupta
6e84653730 Bug 760094 - Ignore egg-info directories in source tree. r=ted 2012-05-31 12:24:17 -04:00
Ehsan Akhgari
060fa03e26 Bug 756516 - Ignore .clang_complete files; r=BenWa
DONTBUILD
2012-05-18 13:55:58 -04:00
Till Schneidereit
48e4ab10bb Bug 726573: Change .hgignore and .gitignore to ignore Eclipse IDE project files in subdirectories, too. r=khuey 2012-02-13 14:36:16 -08:00
Justin Lebar
8c9aac15c4 No bug - Fix .gitignore to only ignore 'obj*' in the root directory. rs=cjones
--HG--
extra : rebase_source : 990a013ce24b6fc49a137dba965eb62845b52634
2012-01-26 15:53:56 -05:00
Jonathan Watt
c1d56f6044 Bug 718442 - Have .hgignore and .gitignore ignore the project files Eclipse IDE. r=khuey.
--HG--
extra : rebase_source : d02b562c1764de4e8b2acf92f74f5e1ca1782b25
2012-01-16 21:31:44 +00:00
Kan-Ru Chen
6210dfb376 Bug 715800 - Ignore all directories start with obj* in .gitignore. r=jmuizelaar 2012-01-06 11:39:35 +01:00
Jacek Caban
ce536a5e19 Bug 700614 - Wrong .mozconfig rule in .gitignore r=jmuizelaar 2011-11-15 12:57:26 +01:00
Jeff Muizelaar
db1cc73fb6 Bug 676599. Add .gitignore. r=ted
--HG--
extra : rebase_source : 0cbc5eebea84cf24f91cf2f7fe32e7a27b391d24
2011-10-26 12:25:40 -04:00