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)
deleted file mode 100644
--- a/.reviewboardrc
+++ /dev/null
@@ -1,5 +0,0 @@
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-
-REVIEWBOARD_URL = 'https://reviewboard.allizom.org/'
--- a/tools/mach_commands.py
+++ b/tools/mach_commands.py
@@ -288,35 +288,16 @@ class PastebinProvider(object):
'HTTP Response Code %s' %(http_response_code))
except urllib2.URLError:
print('ERROR. Could not connect to pastebin.mozilla.org.')
return 1
return 0
@CommandProvider
-class ReviewboardToolsProvider(MachCommandBase):
- @Command('rbt', category='devenv',
- description='Run Reviewboard Tools')
- @CommandArgument('args', nargs='...', help='Arguments to rbt tool')
- def rbt(self, args):
- if not args:
- args = ['help']
-
- self._activate_virtualenv()
- self.virtualenv_manager.install_pip_package('RBTools==0.6')
-
- from rbtools.commands.main import main
-
- # main() doesn't accept arguments and instead reads from sys.argv. So,
- # we fake it out.
- sys.argv = ['rbt'] + args
- return main()
-
-@CommandProvider
class FormatProvider(MachCommandBase):
@Command('clang-format', category='misc',
description='Run clang-format on current changes')
@CommandArgument('--show', '-s', action = 'store_true',
help = 'Show diff output on instead of applying changes')
def clang_format(self, show=False):
plat = platform.system()
fmt = plat.lower() + "/clang-format-3.5"