Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2577)

Unified Diff: appengine/chromium_rietveld/codereview/views.py

Issue 2123093009: Rietveld: add CQ status URL instead of comment. (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: appengine/chromium_rietveld/codereview/views.py
diff --git a/appengine/chromium_rietveld/codereview/views.py b/appengine/chromium_rietveld/codereview/views.py
index ddb4c440dd68ce34b0b18e0316282639352b8304..bb9609f1d43798db0197be80c932cca75892fe92 100644
--- a/appengine/chromium_rietveld/codereview/views.py
+++ b/appengine/chromium_rietveld/codereview/views.py
@@ -3418,6 +3418,10 @@ def publish(request):
if comments:
logging.warn('Publishing %d comments', len(comments))
+
+ if request.user.email().lower() in (CQ_COMMIT_BOT_EMAIL, CQ_SERVICE_ACCOUNT):
+ issue.update_cq_status_url_if_any(form.cleaned_data['message'])
+
# Email only the triggerer and the CL owner if it was a CQ dry run request.
# More details are in http://crbug.com/476883.
email_to = None
« no previous file with comments | « appengine/chromium_rietveld/codereview/utils.py ('k') | appengine/chromium_rietveld/templates/patchset.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698