mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 02:14:43 +00:00
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) --HG-- extra : rebase_source : 2b307c31a5c484cb0bd785f582e3c248c3cb11da
This commit is contained in:
parent
66e665a75e
commit
3a3c77e162
@ -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/'
|
@ -292,25 +292,6 @@ class PastebinProvider(object):
|
||||
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',
|
||||
|
Loading…
Reference in New Issue
Block a user