You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by vi...@apache.org on 2019/02/25 23:57:10 UTC
[mesos] branch master updated: Output Review Request URL in
Reviewbot output.
This is an automated email from the ASF dual-hosted git repository.
vinodkone pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mesos.git
The following commit(s) were added to refs/heads/master by this push:
new 4442c79 Output Review Request URL in Reviewbot output.
4442c79 is described below
commit 4442c793708a8d7d3dfe2b17f56265d101bc8d9e
Author: Vinod Kone <vi...@gmail.com>
AuthorDate: Mon Feb 25 17:24:19 2019 -0600
Output Review Request URL in Reviewbot output.
The URL makes it easy to get to the Review from log messages.
Review: https://reviews.apache.org/r/70055
---
support/verify-reviews.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/support/verify-reviews.py b/support/verify-reviews.py
index ab4888a..f03869a 100755
--- a/support/verify-reviews.py
+++ b/support/verify-reviews.py
@@ -197,7 +197,8 @@ def apply_reviews(review_request, reviews):
def post_review(review_request, message):
"""Post a review on the review board."""
- print("Posting review: %s" % message)
+ print("Posting review on %s :\n%s" \
+ % (review_request["absolute_url"], message))
review_url = review_request["links"]["reviews"]["href"]
data = urllib.parse.urlencode({"body_top": message, "public": "true"})