Richard Jones' Log: In praise of roundup-admin
Thu, 22 Jul 2004
So here we are at the end of another development milestone. Some features didn't make the cut. It's time to update the tracker so there's no open issues still assigned to the milestone:
% export TRACKER_HOME=/opt/roundup/trackers/cg % OPEN=`roundup-admin -c -d f issue milestone=4 status=-1,1,2,3,4,5,6,7` % echo $OPEN issue53,issue325,issue351,issue391,issue440,issue454,issue463,issue598,issue608, issue621,issue625,issue632,issue634,issue635,issue640,issue642,issue645,issue647 ,issue654,issue655,issue657,issue672 % roundup-admin set $OPEN milestone=-1
Beats the hell outta editing them all through the web. Of course I do have a "project manager" interface that allows me to set status, priority and milestone on a batch of issues, but all that clicking can be tedious ;)
Please ignore my comment about the "+" operator. I was utterly wrong about that. My apologies.
I'm back to not knowing how to do an AND instead of an OR.
This was a great tip and something I just made extensive use of. Thanks!
I was surprised when I used it that doing a find with multiple properties resulted in an OR operation instead of an AND. The intuitive but not well documented "+" operator did the trick for me.
% roundup-admin -d find issue status=4 | wc -w
173
% roundup-admin -d find issue product=1 | wc -w
159
% roundup-admin -d find issue product=1 status=4 | wc -w
307
% roundup-admin -d find issue product=1 + status=4 | wc -w
51