Commit 1ad8e341 authored by Wei-Yin Chen (陳威尹)'s avatar Wei-Yin Chen (陳威尹) Committed by Commit Bot

Amend dom-distiller script for bug ID and repo URLs

- Amend bug ID handling: one space after colon (:).
- Use GoB/gerrit URLs for diff and CL list.

Bug: 749769
Change-Id: I7ea67512da418c54405fd7ffb81d3bc24f70b9db
Reviewed-on: https://chromium-review.googlesource.com/1171846Reviewed-by: default avatarMatthew Jones <mdjones@chromium.org>
Commit-Queue: Wei-Yin Chen (陳威尹) <wychen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#582669}
parent 75482757
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
git reset --hard ${new_gitsha} git reset --hard ${new_gitsha}
git log --oneline ${curr_gitsha}..${new_gitsha} > $changes git log --oneline ${curr_gitsha}..${new_gitsha} > $changes
echo -n Bug: > $bugs echo -n 'Bug: ' > $bugs
# This extracts BUG= lines from the log, extracts the numbers part, removes # This extracts BUG= lines from the log, extracts the numbers part, removes
# whitespace and deletes empty lines. Then, split on ',', sort, uniquify and # whitespace and deletes empty lines. Then, split on ',', sort, uniquify and
...@@ -87,9 +87,10 @@ ...@@ -87,9 +87,10 @@
echo "Roll DOM Distiller JavaScript distribution package" echo "Roll DOM Distiller JavaScript distribution package"
echo echo
echo "Diff since last roll:" echo "Diff since last roll:"
echo "https://github.com/chromium/dom-distiller/compare/${curr_gitsha}...${new_gitsha}" echo "https://chromium.googlesource.com/chromium/dom-distiller/+/${curr_gitsha}..${new_gitsha}"
echo echo
echo "Picked up changes:" echo "Picked up changes:"
echo "https://chromium.googlesource.com/chromium/dom-distiller/+log/${curr_gitsha}..${new_gitsha}"
cat $changes cat $changes
echo echo
cat $bugs cat $bugs
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment