3 if [ -z "$RTUSER" ]; then
4 echo "You need to set the environment variable RTUSER to your rt.perl.org username"
8 if [ -z "$RTPASSWD" ]; then
9 echo "You need to set the environment variable RTPASSWD to your rt.perl.org password"
14 export RTSERVER=https://rt.perl.org/
19 echo "$0 ticketid [patchid]"
23 if [ "$1" = "list" ]; then
24 rt ls "Queue = 'perl5' AND (Status = 'new' OR Status = 'open') AND (Type = 'patch' OR Subject LIKE 'patch')"
29 rt show ticket/$1/attachments |grep -v "^id" |grep -v multipart\/
33 rt show ticket/$1/attachments/$2/content