Created
August 5, 2013 20:25
-
-
Save philz/6159293 to your computer and use it in GitHub Desktop.
Close your open review board requests
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for x in $(curl 'http://reviewboard/api/review-requests/?status=pending&from-user=philip&last-updated-to=2013-06-01' | jsonpipe | grep links/self/href | awk '{ print $2 }' | grep -v pending | tr -d \"); do | |
curl -u "philip:$(cat /tmp/pass)" -v -XPUT $x -Fstatus=submitted; | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment