Bug 1103052 - Remove traces of RBTools; r=mconley
authorGregory Szorc <gps@mozilla.com>
Fri, 21 Nov 2014 10:49:56 -0800
changeset 241268 e00f07b0609e76f919f20b04303171f59e8dd893
parent 241267 28ed24c69091982439bd31b3c7cbbee176ad165d
child 241269 b379f1bc58e10c59fdacc7ea5ca3396c77819a84
push idunknown
push userunknown
push dateunknown
reviewersmconley
bugs1103052, 943747, 945577
milestone36.0a1
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)
.reviewboardrc
tools/mach_commands.py
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"