I whipped together a php script this afternoon that allows you to make arbitrary queries for Gerrit change sets, and then perform bulk actions on the resulting change sets from the command line. Currently it only supports doing a bulk 'submit' (with approve +2 and verify +1), but it won't take much to add in other things (like abandon, verify, approve, etc). Take a look and feel free to comment/make changes:
http://svn.wikimedia.org/viewvc/mediawiki/trunk/tools/gerrit-dippybird/dippy...
ps thanks to dave and patrick for the name!
On Fri, Mar 30, 2012 at 4:49 PM, Arthur Richards arichards@wikimedia.orgwrote:
I whipped together a php script this afternoon that allows you to make arbitrary queries for Gerrit change sets, and then perform bulk actions on the resulting change sets from the command line. Currently it only supports doing a bulk 'submit' (with approve +2 and verify +1), but it won't take much to add in other things (like abandon, verify, approve, etc). Take a look and feel free to comment/make changes:
http://svn.wikimedia.org/viewvc/mediawiki/trunk/tools/gerrit-dippybird/dippy...
-- Arthur Richards Software Engineer, Mobile [[User:Awjrichards]] IRC: awjr +1-415-839-6885 x6687
Minor nitpick: 'gerrit approve' is deprecated in favor of 'gerrit review'
-Chad On Mar 30, 2012 7:50 PM, "Arthur Richards" arichards@wikimedia.org wrote:
I whipped together a php script this afternoon that allows you to make arbitrary queries for Gerrit change sets, and then perform bulk actions on the resulting change sets from the command line. Currently it only supports doing a bulk 'submit' (with approve +2 and verify +1), but it won't take much to add in other things (like abandon, verify, approve, etc). Take a look and feel free to comment/make changes:
http://svn.wikimedia.org/viewvc/mediawiki/trunk/tools/gerrit-dippybird/dippy...
-- Arthur Richards Software Engineer, Mobile [[User:Awjrichards]] IRC: awjr +1-415-839-6885 x6687 _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Just spent some time updating dippy-bird. Now using 'gerrit review' (thanks Chad) and now supports code review, abandon, submit, and restore operations on changesets in gerrit.
This has already proved super handy for me when I've needed to do do a bulk-abandon on changesets.
Take it for a spin, let me know what you think, make any changes you see fit!
http://svn.wikimedia.org/viewvc/mediawiki/trunk/tools/gerrit-dippybird/dippy...
On Sat, Mar 31, 2012 at 1:51 AM, Chad innocentkiller@gmail.com wrote:
Minor nitpick: 'gerrit approve' is deprecated in favor of 'gerrit review'
-Chad On Mar 30, 2012 7:50 PM, "Arthur Richards" arichards@wikimedia.org wrote:
I whipped together a php script this afternoon that allows you to make arbitrary queries for Gerrit change sets, and then perform bulk actions
on
the resulting change sets from the command line. Currently it only
supports
doing a bulk 'submit' (with approve +2 and verify +1), but it won't take much to add in other things (like abandon, verify, approve, etc). Take a look and feel free to comment/make changes:
http://svn.wikimedia.org/viewvc/mediawiki/trunk/tools/gerrit-dippybird/dippy...
-- Arthur Richards Software Engineer, Mobile [[User:Awjrichards]] IRC: awjr +1-415-839-6885 x6687 _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Awesome work Arthur!
— Patrick
On Fri, Apr 13, 2012 at 5:32 PM, Arthur Richards arichards@wikimedia.org wrote:
Just spent some time updating dippy-bird. Now using 'gerrit review' (thanks Chad) and now supports code review, abandon, submit, and restore operations on changesets in gerrit.
This has already proved super handy for me when I've needed to do do a bulk-abandon on changesets.
Take it for a spin, let me know what you think, make any changes you see fit!
http://svn.wikimedia.org/viewvc/mediawiki/trunk/tools/gerrit-dippybird/dippy...
On Sat, Mar 31, 2012 at 1:51 AM, Chad innocentkiller@gmail.com wrote:
Minor nitpick: 'gerrit approve' is deprecated in favor of 'gerrit review'
-Chad On Mar 30, 2012 7:50 PM, "Arthur Richards" arichards@wikimedia.org wrote:
I whipped together a php script this afternoon that allows you to make arbitrary queries for Gerrit change sets, and then perform bulk actions
on
the resulting change sets from the command line. Currently it only
supports
doing a bulk 'submit' (with approve +2 and verify +1), but it won't take much to add in other things (like abandon, verify, approve, etc). Take a look and feel free to comment/make changes:
http://svn.wikimedia.org/viewvc/mediawiki/trunk/tools/gerrit-dippybird/dippy...
-- Arthur Richards Software Engineer, Mobile [[User:Awjrichards]] IRC: awjr +1-415-839-6885 x6687 _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
-- Arthur Richards Software Engineer, Mobile [[User:Awjrichards]] IRC: awjr +1-415-839-6885 x6687 _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Le 14/04/12 02:32, Arthur Richards wrote:
http://svn.wikimedia.org/viewvc/mediawiki/trunk/tools/gerrit-dippybird/
Next step : migrate that script to git :-]
wikitech-l@lists.wikimedia.org