testing: remove "reviewboard create" command; r=smacleod
authorGregory Szorc <gps@mozilla.com>
Fri, 06 Mar 2015 12:50:57 -0800
changeset 360492 ac7786f8952d54242cacfdc5c6f2941014bca7ba
parent 360491 ef1074da77259bf5809f5bcbd119a99910c70492
child 360493 3e8890f6b3fde6aa5fd0ead7ebaada5c1d4a2c03
push id16998
push userrwood@mozilla.com
push dateMon, 02 May 2016 19:42:03 +0000
reviewerssmacleod
testing: remove "reviewboard create" command; r=smacleod It isn't possible to create Review Board instances outside the context of MozReview. This functionality has been replaced by functionality inside the MozReview APIs.
testing/vcttesting/reviewboard/mach_commands.py
--- a/testing/vcttesting/reviewboard/mach_commands.py
+++ b/testing/vcttesting/reviewboard/mach_commands.py
@@ -176,23 +176,16 @@ class ReviewBoardCommands(object):
             return MozReviewBoard(path, os.environ['BUGZILLA_URL'],
                 pulse_host=os.environ.get('PULSE_HOST'),
                 pulse_port=os.environ.get('PULSE_PORT'))
         else:
             raise Exception('Do not know about Bugzilla URL. Cannot talk to '
                             'Review Board. Try running `mozreview start` and '
                             'setting MOZREVIEW_HOME.')
 
-    @Command('create', category='reviewboard',
-        description='Create a Review Board server install.')
-    @CommandArgument('path', help='Where to create RB install.')
-    def create(self, path):
-        rb = self._get_rb(path)
-        rb.create()
-
     @Command('dumpreview', category='reviewboard',
         description='Print a representation of a review request.')
     @CommandArgument('port', help='Port number Review Board is running on')
     @CommandArgument('rrid', help='Review request id to dump')
     def dumpreview(self, port, rrid):
         root = self._get_root(port)
         r = root.get_review_request(review_request_id=rrid)
         print(serialize_review_requests(r))