Commit Graph

854 Commits

Author SHA1 Message Date
Gregory Szorc
8529433a95 Bug 799312 - Implement |mach help <command>|; r=jhammel
Previously you had to |mach <command> --help|. Both forms now work.
2012-10-10 11:08:09 -07:00
Gregory Szorc
c998968a1b Bug 795427 - Part 3: Print more user friendly error messages; r=jhammel 2012-10-10 11:08:09 -07:00
Gregory Szorc
03f6510b34 Bug 799291 - Part 3: Move mozbuild.testing into testing/; r=jhammel
--HG--
rename : python/mozbuild/mozbuild/testing/test.py => testing/moztesting/util.py
2012-10-10 11:08:09 -07:00
Gregory Szorc
035ceeeba3 Bug 799291 - Part 2: Remove "test" command from mach; r=jhammel
The command was practically worthless and will likely be reborn as a
generic "run a test by specific a path or special name" command. But,
that requires a more intelligent build system first.
2012-10-10 11:08:09 -07:00
Gregory Szorc
3dd8150678 Bug 799291 - Part 1: Move mach commands for test running into test runners; r=jhammel
The code interacting with the test runners now resides in closer
proximity to the code it is invoking. We also purge testing
functionality from mozbuild, which is where it never really belonged.

--HG--
rename : python/mozbuild/mozbuild/testing/reftest.py => layout/tools/reftest/mach_commands.py
rename : python/mozbuild/mozbuild/testing/mochitest.py => testing/mochitest/mach_commands.py
rename : python/mozbuild/mozbuild/testing/xpcshell.py => testing/xpcshell/mach_commands.py
2012-10-10 11:08:09 -07:00
Gregory Szorc
875a861646 Bug 799262 - Formal API for loading mach command modules; r=jhammel 2012-10-10 11:08:09 -07:00
Gregory Szorc
399732ddbe Bug 822103 - Support 'LinuxMint' distro in mozboot; r=edmorley
DONTBUILD (NPOTB)
2012-12-31 10:12:15 -08:00
Masatoshi Kimura
a456be81da Bug 795670 - Don't raise exception on convertion failure. r=gps DONTBUILD (NPOTB) 2012-10-07 16:30:13 -07:00
Gregory Szorc
121d387bf6 Bug 794509 - Part 3: Automatically discover mach commands in sys.path; r=jhammel
DONTBUILD (NPOTB)
2012-10-05 12:19:19 -07:00
Gregory Szorc
0fdac85994 Bug 794509 - Part 2: Move mach command modules into a mach.commands sub-module; r=jhammel
This patch on its own will break mach. Part 3 will refactor mach's
loader to discover and load modules using a modified module finding
method.

--HG--
rename : python/mach/mach/settings.py => python/mach/mach/commands/settings.py
rename : python/mach/mach/build.py => python/mozbuild/mach/commands/build.py
rename : python/mach/mach/testing.py => python/mozbuild/mach/commands/testing.py
rename : python/mach/mach/warnings.py => python/mozbuild/mach/commands/warnings.py
2012-10-05 12:13:18 -07:00
Gregory Szorc
ad06cd046e Bug 794509 - Part 1: mach subcommands are now defined through Python decorators; r=jhammel 2012-10-05 12:12:51 -07:00
Gregory Szorc
5f3beb48f2 Bug 795427 - Part 2: Terminate mach silently when KeyboardInterrupt is raised; r=jhammel
DONTBUILD (NPOTB)
2012-10-04 17:43:56 -07:00
Gregory Szorc
66a56c8a6b Bug 795427 - Part 1: Proper exit codes from mach; r=jhammel 2012-10-04 17:43:54 -07:00
Gregory Szorc
7b9cdd0f3b Bug 796840 - Don't have mozprocess worry about process children when running make; r=jhammel
DONTBUILD (NPOTB)
2012-10-04 17:23:06 -07:00
Ehsan Akhgari
d3c97746ef Bug 797093 - Fix running mochitests through mach; r=gps
DONTBUILD
2012-10-02 17:03:31 -04:00
Ms2ger
388bca7c1d Bug 780698 - Part c: Support mochitest-a11y, reftest, crashtest in mach; r=gps 2012-10-02 10:24:12 +02:00
Ms2ger
962ca363fa Bug 780698 - Part b: Fix mochitest runners; r=gps 2012-10-02 10:24:11 +02:00
Ms2ger
f838deea24 Bug 780698 - Part a: Give _run_make append_env and explicit_env arguments; r=gps 2012-10-02 10:24:11 +02:00
Ms2ger
30159adc3b Bug 795034 - Fix append_env argument to mozbuild's _run_command; r=gps 2012-10-02 10:24:11 +02:00
Gregory Szorc
786ec14573 Bug 795394 - Default to utf-8 encoding when no encoding is specified; r=jhammel
DONTBUILD (NPOTB)
2012-10-01 11:12:33 -07:00
Gregory Szorc
2f77dd77e6 Bug 795477 - Install NullHandler on root logger; r=jhammel 2012-10-01 11:08:53 -07:00
Gregory Szorc
bf236c89e7 Bug 795491 - Improve mach's help text; r=jhammel 2012-10-01 11:06:40 -07:00
Gregory Szorc
d759b79ad8 Bug 794713 - Convert process output to Unicode; handle Unicode in logger properly; r=glandium
DONTBUILD (NPOTB)
2012-09-28 10:29:32 -07:00
Gregory Szorc
2b947c3c7f Bug 794729 - Run config.guess and mozconfig through shell; r=glandium
DONTBUILD (NPOTB)
2012-09-27 10:12:48 -07:00
Gregory Szorc
a87cda10c4 Bug 751795 - Part 5: mach can now build the tree, record compiler warnings; r=jhammel
This is meant to be a stop-gap until more robust tree building lands in
mozbuild. It simply proxies building through client.mk and captures
compiler warnings using the existing mechanism in mozbuild.

There are some DRY violations for how the compiler database is managed.
The more robust tree building code contains consolidated compiler
database logic. The DRY violations should disappear when that lands.

DONTBUILD (NPOTB)
2012-09-26 16:42:38 -07:00
Gregory Szorc
c02cbd5bdc Bug 751795 - Part 4: Add flags to _run_make to control behavior; r=jhammel 2012-09-26 16:40:14 -07:00
Gregory Szorc
74643c5201 Bug 751795 - Part 3: Testing module; r=jhammel DONTBUILD (NPOTB)
mach can now run some tests.
2012-09-26 09:46:27 -07:00
Gregory Szorc
6a39b9e0a4 Bug 751795 - Part 2: Add settings module; r=jhammel 2012-09-26 09:44:38 -07: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
04214faefe Bug 780329 - Part 6: Add testing modules to mozbuild; r=jhammel 2012-09-26 09:43:53 -07:00
Gregory Szorc
26650da24d Bug 780329 - Part 5: Add base modules to mozbuild; r=glandium, jhammel 2012-09-26 09:43:53 -07:00
Ryan VanderMeulen
a740bd1b17 Merge the last PGO-green inbound changeset to m-c. 2012-09-21 22:38:53 -04:00
Gregory Szorc
03c0d80db3 Bug 780329 - Part 4: Define CompilerWarning.__cmp__; r=jhammel DONTBUILD (NPOTB) 2012-09-21 12:05:37 -07:00
Gregory Szorc
b6dc6ae676 Bug 780329 - Part 3: Ability to register structured loggers; r=jhammel 2012-09-21 12:05:12 -07:00
Gregory Szorc
6f67f8661e Bug 780329 - Part 2: Add generic settings/config module; r=jhammel 2012-09-21 12:05:12 -07:00
Gregory Szorc
a909f8d0c2 Bug 780329 - Part 1: Python 3 compatibility; r=jhammel
This makes existing mozbuild code compatible with Python 2.7 and Python
3.2. Future additions to this package will be compatible with both
Python versions.
2012-09-21 12:05:12 -07:00
Gregory Szorc
26bcfc7817 Bug 792135 - Part 1: Add which Python package; r=glandium
Version 1.1.0 obtained from https://code.google.com/p/which/ and added
to tree without modifications aside from the removal of which.exe, which
has no reason to be in the tree.
2012-09-20 20:54:46 -07:00
Gregory Szorc
9a00da21c4 Bug 783727 - Part 4: Add psutil Python package; r=glandium
Version 0.6.1 obtained from
https://psutil.googlecode.com/files/psutil-0.6.1.tar.gz
2012-09-19 11:20:16 -07:00
Gregory Szorc
1194436ba8 Bug 774109 - Fix typos in OS X mozboot backend; r=me DONTBUILD
Typos were trivial and weren't worth finding a reviewer for.

--HG--
extra : rebase_source : 40f039121aa5efd710449cff726ac5521f92b7fe
2012-09-18 16:55:20 -07:00
Gregory Szorc
d2ae2988b7 Bug 792202 - Make mozboot work with Python 2.6.1; r=jhammel DONTBUILD
Python 2.6.1 is what ships on OS X 10.6 and we want to support mozboot
there.

We include 3 fixes:

1) optparse doesn't like unicode as its initial argument
2) __init__(**kwargs) doesn't like unicode keys
3) subprocess does not have check_output

We took the easy solution of removing unicode_literals. This should have
no significant consequences.
2012-09-18 14:45:21 -07:00
Gregory Szorc
8dfad419ea Bug 790995 - Part 2: Tie stdin to executed processes; r=me DONTBUILD 2012-09-13 17:51:01 -07:00
Landry Breuil
cc09789768 Bug 790750 - Add OpenBSD backend to mozboot; r=gps DONTBUILD 2012-09-13 17:22:13 -07:00
Gregory Szorc
1a8267d453 Bug 790995 - Change how root commands are executed; r=jhammel
os.system has been replaced with subprocess.check_call. We also check
the effective UID to determine whether to run via sudo.
2012-09-13 17:21:49 -07:00
Gregory Szorc
a737815069 Bug 774109 - Bootstrap support for OS X; r=rnewman DONTBUILD
This implements the OS X backend for the bootstrapper. It ensures that
the system is in the proper state to build Firefox by installing
required packages.

This was tested with a fresh install of OS X 10.8. Basic support for OS
X 10.6 and 10.7 is implemented, but not thorougly tested.
2012-09-12 21:29:20 -07:00
Gregory Szorc
0c82fd22e5 Bug 774112 - Part 2b: Add missing files to download manifest; r=me 2012-09-11 16:43:13 -07:00
kmm
47cef56b88 Bug 774112 - Part 2: Implement bootstrap support for popular Linux distros; r=gps 2012-09-11 16:27:26 -07:00
Gregory Szorc
29579e5a7c Bug 774112 - Part 1: Skeleton for one-line system bootstrapping; r=jhammel 2012-09-11 16:27:20 -07:00
Ehsan Akhgari
f22f8b7a49 Bug 579517 - Part 4: Manually rewrite some parts of the code base not covered by the automated conversion; r=bsmedberg 2012-08-22 11:59:54 -04:00
Gregory Szorc
a87a0c6b27 Bug 777233 - Add warning module to mozbuild to track compiler warnings; r=vlad 2012-08-03 11:45:43 -07:00
Gregory Szorc
06b34efa25 Bug 777231 - Add skeleton for mozbuild package; r=vlad 2012-08-03 11:44:16 -07:00
Gregory Szorc
960affcc55 Bug 777068 - Move simplejson to python/; r=glandium
--HG--
rename : other-licenses/simplejson-2.1.1/CHANGES.txt => python/simplejson-2.1.1/CHANGES.txt
rename : other-licenses/simplejson-2.1.1/LICENSE.txt => python/simplejson-2.1.1/LICENSE.txt
rename : other-licenses/simplejson-2.1.1/PKG-INFO => python/simplejson-2.1.1/PKG-INFO
rename : other-licenses/simplejson-2.1.1/conf.py => python/simplejson-2.1.1/conf.py
rename : other-licenses/simplejson-2.1.1/docs/_sources/index.txt => python/simplejson-2.1.1/docs/_sources/index.txt
rename : other-licenses/simplejson-2.1.1/docs/_static/contents.png => python/simplejson-2.1.1/docs/_static/contents.png
rename : other-licenses/simplejson-2.1.1/docs/_static/default.css => python/simplejson-2.1.1/docs/_static/default.css
rename : other-licenses/simplejson-2.1.1/docs/_static/doctools.js => python/simplejson-2.1.1/docs/_static/doctools.js
rename : other-licenses/simplejson-2.1.1/docs/_static/file.png => python/simplejson-2.1.1/docs/_static/file.png
rename : other-licenses/simplejson-2.1.1/docs/_static/interface.js => python/simplejson-2.1.1/docs/_static/interface.js
rename : other-licenses/simplejson-2.1.1/docs/_static/jquery.js => python/simplejson-2.1.1/docs/_static/jquery.js
rename : other-licenses/simplejson-2.1.1/docs/_static/minus.png => python/simplejson-2.1.1/docs/_static/minus.png
rename : other-licenses/simplejson-2.1.1/docs/_static/navigation.png => python/simplejson-2.1.1/docs/_static/navigation.png
rename : other-licenses/simplejson-2.1.1/docs/_static/plus.png => python/simplejson-2.1.1/docs/_static/plus.png
rename : other-licenses/simplejson-2.1.1/docs/_static/pygments.css => python/simplejson-2.1.1/docs/_static/pygments.css
rename : other-licenses/simplejson-2.1.1/docs/_static/rightsidebar.css => python/simplejson-2.1.1/docs/_static/rightsidebar.css
rename : other-licenses/simplejson-2.1.1/docs/_static/searchtools.js => python/simplejson-2.1.1/docs/_static/searchtools.js
rename : other-licenses/simplejson-2.1.1/docs/_static/sphinxdoc.css => python/simplejson-2.1.1/docs/_static/sphinxdoc.css
rename : other-licenses/simplejson-2.1.1/docs/_static/stickysidebar.css => python/simplejson-2.1.1/docs/_static/stickysidebar.css
rename : other-licenses/simplejson-2.1.1/docs/_static/traditional.css => python/simplejson-2.1.1/docs/_static/traditional.css
rename : other-licenses/simplejson-2.1.1/docs/genindex.html => python/simplejson-2.1.1/docs/genindex.html
rename : other-licenses/simplejson-2.1.1/docs/index.html => python/simplejson-2.1.1/docs/index.html
rename : other-licenses/simplejson-2.1.1/docs/objects.inv => python/simplejson-2.1.1/docs/objects.inv
rename : other-licenses/simplejson-2.1.1/docs/search.html => python/simplejson-2.1.1/docs/search.html
rename : other-licenses/simplejson-2.1.1/docs/searchindex.js => python/simplejson-2.1.1/docs/searchindex.js
rename : other-licenses/simplejson-2.1.1/docs/searchindex.json => python/simplejson-2.1.1/docs/searchindex.json
rename : other-licenses/simplejson-2.1.1/ez_setup.py => python/simplejson-2.1.1/ez_setup.py
rename : other-licenses/simplejson-2.1.1/index.rst => python/simplejson-2.1.1/index.rst
rename : other-licenses/simplejson-2.1.1/scripts/make_docs.py => python/simplejson-2.1.1/scripts/make_docs.py
rename : other-licenses/simplejson-2.1.1/setup.cfg => python/simplejson-2.1.1/setup.cfg
rename : other-licenses/simplejson-2.1.1/setup.py => python/simplejson-2.1.1/setup.py
rename : other-licenses/simplejson-2.1.1/simplejson/__init__.py => python/simplejson-2.1.1/simplejson/__init__.py
rename : other-licenses/simplejson-2.1.1/simplejson/_speedups.c => python/simplejson-2.1.1/simplejson/_speedups.c
rename : other-licenses/simplejson-2.1.1/simplejson/decoder.py => python/simplejson-2.1.1/simplejson/decoder.py
rename : other-licenses/simplejson-2.1.1/simplejson/encoder.py => python/simplejson-2.1.1/simplejson/encoder.py
rename : other-licenses/simplejson-2.1.1/simplejson/ordered_dict.py => python/simplejson-2.1.1/simplejson/ordered_dict.py
rename : other-licenses/simplejson-2.1.1/simplejson/scanner.py => python/simplejson-2.1.1/simplejson/scanner.py
rename : other-licenses/simplejson-2.1.1/simplejson/tests/__init__.py => python/simplejson-2.1.1/simplejson/tests/__init__.py
rename : other-licenses/simplejson-2.1.1/simplejson/tests/test_check_circular.py => python/simplejson-2.1.1/simplejson/tests/test_check_circular.py
rename : other-licenses/simplejson-2.1.1/simplejson/tests/test_decimal.py => python/simplejson-2.1.1/simplejson/tests/test_decimal.py
rename : other-licenses/simplejson-2.1.1/simplejson/tests/test_decode.py => python/simplejson-2.1.1/simplejson/tests/test_decode.py
rename : other-licenses/simplejson-2.1.1/simplejson/tests/test_default.py => python/simplejson-2.1.1/simplejson/tests/test_default.py
rename : other-licenses/simplejson-2.1.1/simplejson/tests/test_dump.py => python/simplejson-2.1.1/simplejson/tests/test_dump.py
rename : other-licenses/simplejson-2.1.1/simplejson/tests/test_encode_basestring_ascii.py => python/simplejson-2.1.1/simplejson/tests/test_encode_basestring_ascii.py
rename : other-licenses/simplejson-2.1.1/simplejson/tests/test_encode_for_html.py => python/simplejson-2.1.1/simplejson/tests/test_encode_for_html.py
rename : other-licenses/simplejson-2.1.1/simplejson/tests/test_fail.py => python/simplejson-2.1.1/simplejson/tests/test_fail.py
rename : other-licenses/simplejson-2.1.1/simplejson/tests/test_float.py => python/simplejson-2.1.1/simplejson/tests/test_float.py
rename : other-licenses/simplejson-2.1.1/simplejson/tests/test_indent.py => python/simplejson-2.1.1/simplejson/tests/test_indent.py
rename : other-licenses/simplejson-2.1.1/simplejson/tests/test_pass1.py => python/simplejson-2.1.1/simplejson/tests/test_pass1.py
rename : other-licenses/simplejson-2.1.1/simplejson/tests/test_pass2.py => python/simplejson-2.1.1/simplejson/tests/test_pass2.py
rename : other-licenses/simplejson-2.1.1/simplejson/tests/test_pass3.py => python/simplejson-2.1.1/simplejson/tests/test_pass3.py
rename : other-licenses/simplejson-2.1.1/simplejson/tests/test_recursion.py => python/simplejson-2.1.1/simplejson/tests/test_recursion.py
rename : other-licenses/simplejson-2.1.1/simplejson/tests/test_scanstring.py => python/simplejson-2.1.1/simplejson/tests/test_scanstring.py
rename : other-licenses/simplejson-2.1.1/simplejson/tests/test_separators.py => python/simplejson-2.1.1/simplejson/tests/test_separators.py
rename : other-licenses/simplejson-2.1.1/simplejson/tests/test_speedups.py => python/simplejson-2.1.1/simplejson/tests/test_speedups.py
rename : other-licenses/simplejson-2.1.1/simplejson/tests/test_unicode.py => python/simplejson-2.1.1/simplejson/tests/test_unicode.py
rename : other-licenses/simplejson-2.1.1/simplejson/tool.py => python/simplejson-2.1.1/simplejson/tool.py
2012-07-26 13:07:28 -07:00
Gregory Szorc
4147feb77f Bug 777068 - Move virtualenv into python/; r=glandium
--HG--
rename : other-licenses/virtualenv/AUTHORS.txt => python/virtualenv/AUTHORS.txt
rename : other-licenses/virtualenv/LICENSE.txt => python/virtualenv/LICENSE.txt
rename : other-licenses/virtualenv/MANIFEST.in => python/virtualenv/MANIFEST.in
rename : other-licenses/virtualenv/PKG-INFO => python/virtualenv/PKG-INFO
rename : other-licenses/virtualenv/docs/index.txt => python/virtualenv/docs/index.txt
rename : other-licenses/virtualenv/docs/news.txt => python/virtualenv/docs/news.txt
rename : other-licenses/virtualenv/scripts/virtualenv => python/virtualenv/scripts/virtualenv
rename : other-licenses/virtualenv/setup.cfg => python/virtualenv/setup.cfg
rename : other-licenses/virtualenv/setup.py => python/virtualenv/setup.py
rename : other-licenses/virtualenv/virtualenv.py => python/virtualenv/virtualenv.py
rename : other-licenses/virtualenv/virtualenv_embedded/activate.bat => python/virtualenv/virtualenv_embedded/activate.bat
rename : other-licenses/virtualenv/virtualenv_embedded/activate.csh => python/virtualenv/virtualenv_embedded/activate.csh
rename : other-licenses/virtualenv/virtualenv_embedded/activate.fish => python/virtualenv/virtualenv_embedded/activate.fish
rename : other-licenses/virtualenv/virtualenv_embedded/activate.ps1 => python/virtualenv/virtualenv_embedded/activate.ps1
rename : other-licenses/virtualenv/virtualenv_embedded/activate.sh => python/virtualenv/virtualenv_embedded/activate.sh
rename : other-licenses/virtualenv/virtualenv_embedded/activate_this.py => python/virtualenv/virtualenv_embedded/activate_this.py
rename : other-licenses/virtualenv/virtualenv_embedded/deactivate.bat => python/virtualenv/virtualenv_embedded/deactivate.bat
rename : other-licenses/virtualenv/virtualenv_embedded/distribute_setup.py => python/virtualenv/virtualenv_embedded/distribute_setup.py
rename : other-licenses/virtualenv/virtualenv_embedded/distutils-init.py => python/virtualenv/virtualenv_embedded/distutils-init.py
rename : other-licenses/virtualenv/virtualenv_embedded/distutils.cfg => python/virtualenv/virtualenv_embedded/distutils.cfg
rename : other-licenses/virtualenv/virtualenv_embedded/ez_setup.py => python/virtualenv/virtualenv_embedded/ez_setup.py
rename : other-licenses/virtualenv/virtualenv_embedded/site.py => python/virtualenv/virtualenv_embedded/site.py
rename : other-licenses/virtualenv/virtualenv_support/__init__.py => python/virtualenv/virtualenv_support/__init__.py
rename : other-licenses/virtualenv/virtualenv_support/distribute-0.6.27.tar.gz => python/virtualenv/virtualenv_support/distribute-0.6.27.tar.gz
rename : other-licenses/virtualenv/virtualenv_support/pip-1.1.tar.gz => python/virtualenv/virtualenv_support/pip-1.1.tar.gz
rename : other-licenses/virtualenv/virtualenv_support/setuptools-0.6c11-py2.4.egg => python/virtualenv/virtualenv_support/setuptools-0.6c11-py2.4.egg
rename : other-licenses/virtualenv/virtualenv_support/setuptools-0.6c11-py2.5.egg => python/virtualenv/virtualenv_support/setuptools-0.6c11-py2.5.egg
rename : other-licenses/virtualenv/virtualenv_support/setuptools-0.6c11-py2.6.egg => python/virtualenv/virtualenv_support/setuptools-0.6c11-py2.6.egg
rename : other-licenses/virtualenv/virtualenv_support/setuptools-0.6c11-py2.7.egg => python/virtualenv/virtualenv_support/setuptools-0.6c11-py2.7.egg
2012-07-26 13:06:54 -07:00
Gregory Szorc
46b94b69ce Bug 777068 - Move blessings Python package to python/; r=glandium
--HG--
rename : build/pylib/blessings/LICENSE => python/blessings/LICENSE
rename : build/pylib/blessings/MANIFEST.in => python/blessings/MANIFEST.in
rename : build/pylib/blessings/PKG-INFO => python/blessings/PKG-INFO
rename : build/pylib/blessings/README.rst => python/blessings/README.rst
rename : build/pylib/blessings/blessings/__init__.py => python/blessings/blessings/__init__.py
rename : build/pylib/blessings/blessings/tests.py => python/blessings/blessings/tests.py
rename : build/pylib/blessings/setup.cfg => python/blessings/setup.cfg
rename : build/pylib/blessings/setup.py => python/blessings/setup.py
rename : build/pylib/blessings/tox.ini => python/blessings/tox.ini
2012-07-24 23:59:54 -07:00
Gregory Szorc
5a64a1eca1 Bug 775243 - Create top-level directory for Python; r=brendan 2012-07-24 13:59:37 -07:00