blob: 550e672c97bc22df30c01a84d2a9a34c153668f2 [file] [log] [blame]
#!/usr/bin/env bash
# Copyright 2019 The Fuchsia Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Print links to 30 random CLs from the past week
for commit in $(git log --since="one week ago" --format=%H | shuf | head -n 30)
id=$(git show -s "$commit" | grep ' Change-Id:' | cut -d ' ' -f 6)
echo "$id"