Commit Graph

22 Commits

Author SHA1 Message Date
Mike Hommey
a0056d7eb4 Bug 1147283 - Replace mozpack.path with mozpath. r=mshal, a=sledru
Back when mozpack.path was added, it was used as:

  import mozpack.path
  mozpack.path.func()

Nowadays, the common idiom is:

  import mozpack.path as mozpath
  mozpath.func()

because it's shorter.

$ git grep mozpath\\. | wc -l
423
$ git grep mozpack.path\\. | wc -l
123

This change was done with:
$ git grep -l mozpack.path\\. | xargs sed -i 's/mozpack\.path\./mozpath./g'
$ git grep -l 'import mozpack.path$' | xargs sed -i 's/import mozpack.path$/\0 as mozpath/'
$ (pat='import mozpack.path as mozpath'; git grep -l "$pat" | xargs sed -i "1,/$pat/b;/$pat/d")
2015-03-25 15:05:28 +09:00
Gregory Szorc
2a7f78955a Bug 1103052 - Remove traces of RBTools; r=mconley
We previous added support for RBTools in bug 943747 and bug 945577. Now
that we have MozReview, this functionality is next to useless. MozReview
is the future. So, we remove the old RBTools code.

DONTBUILD (NPOTB)
2014-11-21 10:49:56 -08:00
Mike Hommey
711c2629f1 Bug 1076649 - Remove the '+' prefixing from mach commands with allow_all_arguments=True. r=gps
The reason to use '+' prefixing was to distinguish between options to the
mach command itself, and options that are passed down to whatever the
command does (like mach run passing down args to the built application).
That makes things unnecessarily awkward, and quite non-standard.

Instead, use standard '-' prefixing, and pass all the unknown arguments
down. If there is overlap between the known arguments and arguments supported
by the underlying tool (like -remote when using mach run), it is possible to
use '--' to mark all following arguments as being targetted at the underlying
tool.

For instance:
    mach run -- -remote something
would run
    firefox -remote something
while
    mach run -remote something
would run
    firefox something

As allow_all_arguments is redundant with the presence of a argparse.REMAINDER
CommandArgument, allow_all_arguments is removed. The only mach command with a
argparse.REMAINDER CommandArgument without allow_all_arguments was "mach dmd",
and it did so because it didn't want to use '+' prefixes.
2014-10-07 07:36:27 +09:00
Vikrantsingh Bisen
d2ef940bab Bug 1053067 - Correct a misspelling of "version" in mach. r=edmorley 2014-08-15 23:45:00 -04:00
Ed Morley
0385d92ce2 Bug 1010082 - Fix |mach dxr| URL; f=erikrose 2014-05-14 16:26:17 +01:00
Gregory Szorc
7c4ee865c6 NO BUG - Install RBTools 0.6
We were previously installing a pre-release of RBTools from Git. The
patches we were waiting on are now in RBTools 0.6. So, install the
released version from PyPI.

DONTBUILD (NPOTB)
2014-04-08 16:03:35 -07:00
Anthony Jones
16f93f67cb Bug 983633 - Error if filterdiff is required; r=gps 2014-03-21 17:43:28 +13:00
Anthony Jones
58bf50417e Bug 965120 - Git support for mach clang-format; r=gps 2014-01-30 14:27:44 +13:00
Anthony Jones
4990e26954 Bug 965120 - Use .clang-format to set tree default format; r=gps 2014-01-30 14:27:44 +13:00
Anthony Jones
4731c7a868 Bug 965120 - Add --show option to mach clang-format; r=gps 2014-01-30 14:27:44 +13:00
Anthony Jones
ca8fb06d24 Bug 962954 - Add clang-format downloading support for OSX; r=gps 2014-01-28 14:11:46 +13:00
Gregory Szorc
315a8f97e1 Bug 947596 - Install RBTools from Git; r=mconley
RBTools as released on PyPI has a number of bugs and deficiencies with
the Mercurial implementation. These have been fixed in an unreleased
version of RBTools.

Until RBTools with the desired patches is released to PyPI, we will
install RBTools direct from its source repository.

DONTBUILD (NPOTB)
2014-01-24 13:06:30 -08:00
Anthony Jones
3017dbf6ac Bug 952379 - Add a clang-format-diff helper to mach; r=gps 2014-01-08 14:51:44 +13:00
Gregory Szorc
ed2841ee1f Bug 945577 - Followup to mach rbt so argument parsing works as expected
DONTBUILD (NPOTB)
2013-12-07 09:30:19 +09:00
Gregory Szorc
8b8dd3f19e Bug 945577 - mach rbt command to run ReviewBoard Tools; r=ahal
DONTBUILD (NPOTB)
2013-12-06 11:35:52 +08:00
Anhad Jai Singh
c1da0396df Bug 902209 - Add mach pastebin; r=gps 2013-10-16 10:13:00 -07:00
Graeme McCutcheon
2ab7f7c8f4 Bug 893830 - Followup based on feedback: output both forms by default. r=gps DONTBUILD 2013-10-02 09:06:39 +01:00
Mike Hommey
006ee0bc49 Bug 893976 - Add a mach command to update uuids for specific interfaces and their descendants. r=gps 2013-07-30 08:57:28 +09:00
Graeme McCutcheon
54619cdd8c Bug 893830 - implement mach uuid. r=gps DONTBUILD 2013-07-15 18:00:09 +01:00
Gregory Szorc
58dd420bfe Bug 856392 - Categorize mach commands; r=jhammel
DONTBUILD (NPOTB)
2013-05-08 17:56:30 -07:00
Ehsan Akhgari
beeba2e18f Bug 848507 - Support searching DXR in mach; r=gps
DONTBUILD because this is NPOTB.
2013-03-06 15:23:21 -05:00
Gregory Szorc
9e2322b4f5 Bug 847722 - Mach commands to search The Internets; r=jhammel
DONTBUILD (NPOTB)
2013-03-06 09:58:40 -08:00