For a given commit, create a reverting CL with a reason. API: /api/<issue>/<patchset>/revert Request: A POST request with the following parameters: * xsrf * revert_reason * revert_cq: set it to 1 will automatically commit the CL through CQ Response: maybe the issue id/url of the reverting CL https://cs.chromium.org/chromium/infra/appengine/chromium_rietveld/codereview/revert_patchset.py?l=359
For a given commit, create a reverting CL with a reason. API: /api/<issue>/<patchset>/revert Request: A POST request with the following parameters: * xsrf_token * revert_reason * revert_cq: set it to 1 will automatically commit the CL through CQ Response: maybe the issue id/url of the reverting CL https://cs.chromium.org/chromium/infra/appengine/chromium_rietveld/codereview/revert_patchset.py?l=359
The following revision refers to this bug: https://chromium.googlesource.com/infra/infra/+/34f7cae7798e0fa82273eb2d8cd14bc1e71727d2 commit 34f7cae7798e0fa82273eb2d8cd14bc1e71727d2 Author: Shuotao Gao <stgao@chromium.org> Date: Tue Mar 14 18:28:04 2017 [Findit] Refactor Rietveld and CodeReview APIs. BUG= 700630 Change-Id: I8c8151ebf611f744f62d57794b2f2646602707ec Reviewed-on: https://chromium-review.googlesource.com/454896 Commit-Queue: Shuotao Gao <stgao@chromium.org> Reviewed-by: Roberto Carrillo <robertocn@chromium.org> Reviewed-by: Jeffrey Li <lijeffrey@chromium.org> [modify] https://crrev.com/34f7cae7798e0fa82273eb2d8cd14bc1e71727d2/appengine/findit/waterfall/send_notification_for_culprit_pipeline.py [modify] https://crrev.com/34f7cae7798e0fa82273eb2d8cd14bc1e71727d2/appengine/findit/waterfall/test/send_notification_for_culprit_pipeline_test.py [modify] https://crrev.com/34f7cae7798e0fa82273eb2d8cd14bc1e71727d2/appengine/findit/infra_api_clients/codereview/rietveld.py [add] https://crrev.com/34f7cae7798e0fa82273eb2d8cd14bc1e71727d2/appengine/findit/infra_api_clients/codereview/codereview_util.py [add] https://crrev.com/34f7cae7798e0fa82273eb2d8cd14bc1e71727d2/appengine/findit/infra_api_clients/codereview/test/codereview_util_test.py [modify] https://crrev.com/34f7cae7798e0fa82273eb2d8cd14bc1e71727d2/appengine/findit/infra_api_clients/codereview/codereview.py [modify] https://crrev.com/34f7cae7798e0fa82273eb2d8cd14bc1e71727d2/appengine/findit/infra_api_clients/codereview/test/rietveld_test.py
The following revision refers to this bug: https://chromium.googlesource.com/infra/infra/+/bbf96c5b9b444ee903129312211c6bf1fc424e1b commit bbf96c5b9b444ee903129312211c6bf1fc424e1b Author: Shuotao Gao <stgao@chromium.org> Date: Tue Mar 14 19:29:10 2017 [Findit] Add the API definition to revert a CL on Rietveld. BUG= 700630 Change-Id: I33694d6950db45eb10280da77d03aa300eb5283e Reviewed-on: https://chromium-review.googlesource.com/454126 Commit-Queue: Shuotao Gao <stgao@chromium.org> Reviewed-by: Jeffrey Li <lijeffrey@chromium.org> [modify] https://crrev.com/bbf96c5b9b444ee903129312211c6bf1fc424e1b/appengine/findit/infra_api_clients/codereview/codereview.py [modify] https://crrev.com/bbf96c5b9b444ee903129312211c6bf1fc424e1b/appengine/findit/infra_api_clients/codereview/rietveld.py
The following revision refers to this bug: https://chromium.googlesource.com/infra/infra/+/f67a9606afd5bab8c31d61c889904d0a6a7ecb4c commit f67a9606afd5bab8c31d61c889904d0a6a7ecb4c Author: Shuotao Gao <stgao@chromium.org> Date: Tue Mar 14 23:46:43 2017 [Findit] Implement the revert API in the Rietveld client. BUG= 700630 Change-Id: I36c9932935e059971608fe7040c58491c866e1e8 Reviewed-on: https://chromium-review.googlesource.com/454880 Commit-Queue: Shuotao Gao <stgao@chromium.org> Reviewed-by: Jeffrey Li <lijeffrey@chromium.org> [modify] https://crrev.com/f67a9606afd5bab8c31d61c889904d0a6a7ecb4c/appengine/findit/infra_api_clients/codereview/codereview.py [modify] https://crrev.com/f67a9606afd5bab8c31d61c889904d0a6a7ecb4c/appengine/findit/infra_api_clients/codereview/rietveld.py [modify] https://crrev.com/f67a9606afd5bab8c31d61c889904d0a6a7ecb4c/appengine/findit/infra_api_clients/codereview/test/rietveld_test.py
Comment 1 by st...@chromium.org
, Mar 11 2017Labels: Milestone-PreAutoRevert