Commit Graph
13 Commits
Author SHA1 Message Date
Gregory Szorc 907c3c2ef9 Bug 1108399 - Move mach docs into sphinx; r=ahal
mach has restructured text documentation. Let's expose it to the in-tree
Sphinx config so we can increase visibility of the documentation.
2014-12-07 10:40:19 -08:00
Gregory Szorc 17d47a7016 Bug 957856 - Synchronize mach with upstream repository; r=ahal
The test changes and setup.py are NPOTB. base.py and main.py
added a new feature to declare global arguments.
2014-01-08 16:14:39 -08:00
Gregory Szorc 161b2f2016 NO BUG - Synchronize mach documentation with upstream repo
DONTBUILD (NPOTB)
2014-01-08 15:29:43 -08:00
Andrew Halberstadt 03bc411bbe Bug 942275 - Add support for setuptools' entry points to mach, r=gps
* * *
Bug 942275 - Ignore load_from_entry_point if setuptools not present, r=gps
2013-12-06 09:24:09 -05:00
Ryan VanderMeulen d1f788c340 Backed out changeset 5cb5fdb72e55 (bug 942275) for mach bustage.
CLOSED TREE DONTBUILD
2013-12-03 11:13:26 -05:00
Andrew Halberstadt b8f10bbcfe Bug 942275 - Add support for setuptools' entry points to mach, r=gps 2013-12-03 10:37:20 -05:00
Andrew Halberstadt 8d9288cd37 Bug 901972 - Add ability to filter mach commands at runtime, r=gps 2013-08-26 17:33:10 -04:00
Gregory Szorc c65a732d60 Bug 808346 - Don't scan sys.path to discover mach commands; r=jhammel
All mach modules are now explicitly listed in the mach driver.
2012-11-06 17:00:19 -08:00
Gregory Szorc bd2380c69d Bug 808336 - Part 1: Refactor mach command handler management; r=jhammel
Previously we were tighly coupled with MozbuildObject. This was not in
the spirit of mach being a generic tool. Now, instead of passing multiple
arguments to __init__ of the class providing the mach command we either
pass 0 or 1. The number of arguments is detected when processing the
@CommandProvider decorator. The optional argument is a named tuple
containing mach run-time state.

Capturing of mach command provider information is now captured in a
class (as opposed to an anoymous tuple). We also capture these in a rich
data structure which is passed as part of the run-time data to the
command provider class. This allows mach commands to inspect the mach
environment.

Mach decorators have been moved to mach.decorators. mach.base is
reserved for generic mach data/container classes.

Existing mach command classes derived from MozbuildObject have been
replaced with either object or mozbuild.base.MachCommandBase. This
latter class translates the mach context instance passed to __init__
into the constructor arguments for MozbuildObject.__init__.

Support for registering function handlers with mach has been removed.
All handlers must be inside classes.
2012-11-06 16:57:41 -08:00
Gregory Szorc 8f12c07ca6 Bug 799648 - Part 2: Move mozbuild's log manager into mach; r=jhammel 2012-10-10 11:08:09 -07:00
Gregory Szorc 05c10715d0 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 26265bf67b Bug 794509 - Part 1: mach subcommands are now defined through Python decorators; r=jhammel 2012-10-05 12:12:51 -07:00
Gregory Szorc d1e9335ebf Bug 751795 - Part 1: mach, the new frontend to mozilla-central; r=jhammel 2012-09-26 09:43:54 -07:00