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
% 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 ;)

Comment by J Long on Tue, 26 Jul 2005

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
% roundup-admin -d find issue product=1 | wc -w
% roundup-admin -d find issue product=1 status=4 | wc -w
% roundup-admin -d find issue product=1 + status=4 | wc -w

Comment by J Long on Tue, 26 Jul 2005

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.