Commit Graph

61 Commits

Author SHA1 Message Date
Gregory Szorc
e696eb409c Bug 805127 - Upgrade virtualenv to 1.8.2; r=ted
Upstream tarball uncompressed in python/virtualenv. egg-info directory
was deleted. All other files are unchanged.
2012-10-24 14:25:40 -07:00
Gregory Szorc
d52cbd4f2e Bug 800633 - Clean up references to code moved out of mozbuild; r=jhammel
DONTBUILD (NPOTB)
2012-10-11 17:13:18 -07:00
Ms2ger
87cc03d608 Bug 799648 - Followup followup: Add the line back where it was meant to be; r=gps (NPOTB, DONTBUILD) 2012-10-11 22:00:37 +02:00
Ms2ger
733aa7044b Bug 799648 - Followup: Remove a line accidentally left in; r=gps (NPOTB, DONTBUILD) 2012-10-11 21:47:11 +02:00
Gregory Szorc
a9eb0b06d7 Bug 799648 - Part 4: Temporarily disable settings file integration; r=jhammel
DONTBUILD (NPOTB)
2012-10-10 11:09:21 -07:00
Gregory Szorc
437679b76b Bug 799648 - Part 3: Move config module from mozbuild to mach; r=jhammel
--HG--
rename : python/mozbuild/mozbuild/config.py => python/mach/mach/config.py
rename : python/mozbuild/mozbuild/test/test_config.py => python/mach/mach/test/test_config.py
2012-10-10 11:08:10 -07:00
Gregory Szorc
194f8b0246 Bug 799648 - Part 2: Move mozbuild's log manager into mach; r=jhammel
--HG--
rename : python/mozbuild/mozbuild/logger.py => python/mach/mach/logging.py
rename : python/mozbuild/mozbuild/test/test_logger.py => python/mach/mach/test/test_logger.py
2012-10-10 11:08:09 -07:00
Gregory Szorc
51818ea64b Bug 799648 - Part 1: Move process execution and logging methods into Mach mixin classes; r=jhammel 2012-10-10 11:08:09 -07:00
Gregory Szorc
4e06481823 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
ca38f7a4a6 Bug 795427 - Part 3: Print more user friendly error messages; r=jhammel 2012-10-10 11:08:09 -07:00
Gregory Szorc
2c1dced77a 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
360a79dcd2 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
28c7dd206c 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
89e2129d77 Bug 799262 - Formal API for loading mach command modules; r=jhammel 2012-10-10 11:08:09 -07:00
Masatoshi Kimura
de945ec757 Bug 795670 - Don't raise exception on convertion failure. r=gps DONTBUILD (NPOTB) 2012-10-07 16:30:13 -07:00
Gregory Szorc
060a0c42f9 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
d1f15571d1 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
d6ccd6209d Bug 794509 - Part 1: mach subcommands are now defined through Python decorators; r=jhammel 2012-10-05 12:12:51 -07:00
Gregory Szorc
b5354431a8 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
71e7085b92 Bug 795427 - Part 1: Proper exit codes from mach; r=jhammel 2012-10-04 17:43:54 -07:00
Gregory Szorc
7d6969850a 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
121c4a6a0a Bug 797093 - Fix running mochitests through mach; r=gps
DONTBUILD
2012-10-02 17:03:31 -04:00
Ms2ger
dd7df1a544 Bug 780698 - Part c: Support mochitest-a11y, reftest, crashtest in mach; r=gps 2012-10-02 10:24:12 +02:00
Ms2ger
40beeb0722 Bug 780698 - Part b: Fix mochitest runners; r=gps 2012-10-02 10:24:11 +02:00
Ms2ger
6916ac819e Bug 780698 - Part a: Give _run_make append_env and explicit_env arguments; r=gps 2012-10-02 10:24:11 +02:00
Ms2ger
fb264b33b8 Bug 795034 - Fix append_env argument to mozbuild's _run_command; r=gps 2012-10-02 10:24:11 +02:00
Gregory Szorc
411107479e 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
94bc786952 Bug 795477 - Install NullHandler on root logger; r=jhammel 2012-10-01 11:08:53 -07:00
Gregory Szorc
54087fdfa1 Bug 795491 - Improve mach's help text; r=jhammel 2012-10-01 11:06:40 -07:00
Gregory Szorc
c9ac45fd01 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
ed9eb552db Bug 794729 - Run config.guess and mozconfig through shell; r=glandium
DONTBUILD (NPOTB)
2012-09-27 10:12:48 -07:00
Gregory Szorc
733f2ff586 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
a03757ae9c Bug 751795 - Part 4: Add flags to _run_make to control behavior; r=jhammel 2012-09-26 16:40:14 -07:00
Gregory Szorc
20d59f541e 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
f0e0eb9adf Bug 751795 - Part 2: Add settings module; r=jhammel 2012-09-26 09:44:38 -07:00
Gregory Szorc
d114857533 Bug 751795 - Part 1: mach, the new frontend to mozilla-central; r=jhammel 2012-09-26 09:43:54 -07:00
Gregory Szorc
314106f495 Bug 780329 - Part 6: Add testing modules to mozbuild; r=jhammel 2012-09-26 09:43:53 -07:00
Gregory Szorc
7b0d7ce222 Bug 780329 - Part 5: Add base modules to mozbuild; r=glandium, jhammel 2012-09-26 09:43:53 -07:00
Ryan VanderMeulen
fc5593cb87 Merge the last PGO-green inbound changeset to m-c. 2012-09-21 22:38:53 -04:00
Gregory Szorc
b2bb14024c Bug 780329 - Part 4: Define CompilerWarning.__cmp__; r=jhammel DONTBUILD (NPOTB) 2012-09-21 12:05:37 -07:00
Gregory Szorc
8af26e955d Bug 780329 - Part 3: Ability to register structured loggers; r=jhammel 2012-09-21 12:05:12 -07:00
Gregory Szorc
db0d7f8b64 Bug 780329 - Part 2: Add generic settings/config module; r=jhammel 2012-09-21 12:05:12 -07:00
Gregory Szorc
1c407ed6ff 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
96e55e84d5 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
5cae8b08e0 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
fb1dd532bb 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
fd49f9c878 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
82afdd8755 Bug 790995 - Part 2: Tie stdin to executed processes; r=me DONTBUILD 2012-09-13 17:51:01 -07:00
Landry Breuil
b1e5faf273 Bug 790750 - Add OpenBSD backend to mozboot; r=gps DONTBUILD 2012-09-13 17:22:13 -07:00
Gregory Szorc
43cd1ee2d1 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