6 Commits

Author SHA1 Message Date
Jenkins
05f722c0c2 Merge "Pull stadium projects from governance.o.o in utility script" 2016-07-09 00:41:22 +00:00
Sindhu Devale
0a7895996f Grammar error fixed
Change-Id: I1b90140dd150a2d23d30d39623047868d55b204b
2016-07-06 18:48:59 +00:00
Armando Migliaccio
acb6a950ed Pull stadium projects from governance.o.o in utility script
For housekeeping reasons we have abandon_old_reviews.sh that is
used to purge blocked reviews from Gerrit. The project query
should be extended to all stadium projects. To avoid hard coding,
fetch the list from governance.o.o, parse it and feed it to
the rest of the script.

Change-Id: Iad40d78b7a72a4435382406373bb9f15c0ffc4a7
2016-07-05 20:58:41 -07:00
Doug Wiegley
875175ae9c Add --dry-run mode to code review abandon tool
Usually I edit the script every time, to see what it would do
before the actual run. Add that mode via a flag.

Change-Id: I3ea50b905217947a43e4437b4925bb79c45a3d18
2016-01-13 16:07:12 -06:00
Maru Newby
e37dcd4c76 Remove check for bash usage
Arbitrarily restricting ourselves from using bash because developers on
platforms like netbsd don't want to install bash from ports doesn't
make sense.  Any non-trivial shell script is likely to use features
like arrays or string manipulation that are poorly supported (if at
all) by sh, and the continued bumping of the number of expected bash
scripts is an indication that the check is not serving its purpose
anyway.

Along with removing the check, all shebang references to /bin/bash
have been replaced with /usr/bin/env bash in an attempt to be more
compatible across different hosts.

Change-Id: Ief72dc380cc88af38959c330897e2c127e33c332
Closes-Bug: #1440824
2015-04-07 15:15:33 +00:00
Kyle Mestery
1eb6b12825 Add abandon script from nova
This adds the abandon_old_reviews.sh from the nova repository into
Neutron. This is handy for cleaning up the neutron review queues
by abandoning stale reviews stuck in the queue with a helpful
message.

Change-Id: I8920123217cb134c792dee35a5b06abde31be1d4
2015-01-27 18:53:42 +00:00