[From nobody Tue May 26 11:17:15 2026
Received: (at submit) by bugs.debian.org; 26 May 2015 12:35:37 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.0-bugs.debian.org_2005_01_02
 (2014-02-07) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-14.9 required=4.0 tests=BAYES_00, FOURLA, HAS_PACKAGE,
 MURPHY_DRUGS_REL8,SPF_FAIL,T_RP_MATCHES_RCVD,XMAILER_REPORTBUG,X_DEBBUGS_CC
 autolearn=ham autolearn_force=no version=3.4.0-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 7; hammy, 150; neutral, 109; spammy,
 0. spammytokens: hammytokens:0.000-+--systemd, 0.000-+--H*M:reportbug,
 0.000-+--H*MI:reportbug, 0.000-+--H*x:reportbug, 0.000-+--H*UA:reportbug
Return-path: &lt;jmw+debian@tiger-computing.co.uk&gt;
Received: from jmw-home.tiger-computing.co.uk ([81.187.93.3]
 helo=lupin.home.powdarrmonkey.net)
 by buxtehude.debian.org with esmtp (Exim 4.80)
 (envelope-from &lt;jmw+debian@tiger-computing.co.uk&gt;)
 id 1YxE52-0001JN-5o
 for submit@bugs.debian.org; Tue, 26 May 2015 12:35:37 +0000
Content-Type: multipart/mixed; boundary=&quot;===============5894369701528813940==&quot;
MIME-Version: 1.0
From: Jonathan Wiltshire &lt;jmw+debian@tiger-computing.co.uk&gt;
To: Debian Bug Tracking System &lt;submit@bugs.debian.org&gt;
Subject: /usr/bin/rt: add stall as a first-class command
Message-ID: &lt;20150526123532.15365.97543.reportbug@lupin.home.powdarrmonkey.net&gt;
X-Mailer: reportbug 6.6.3
Date: Tue, 26 May 2015 13:35:32 +0100
X-Debbugs-Cc: jmw+debian@tiger-computing.co.uk, jmw@tiger-computing.co.uk
Delivered-To: submit@bugs.debian.org

This is a multi-part MIME message sent by reportbug.


--===============5894369701528813940==
Content-Type: text/plain; charset=&quot;us-ascii&quot;
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: rt4-clients
Version: 4.2.8-3
Severity: wishlist
Tags: patch upstream

Hi,

/usr/bin/rt has first-class commands for resolve, take, give etc:

 $ rt give 12345 jmw

but not to stall, which requires a construction thus:

 $ rt edit 12345 set status=stalled

As this is quite a common action, at least for me, please consider the
attached patch to add stall as a valid command, resulting in:

 $ rt stall 12345

Thanks.


-- System Information:
Debian Release: 8.0
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'stable-updates'), (500, 'proposed-updates'), (500, 'unstable'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.0.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages rt4-clients depends on:
ii  exim4                                      4.84-8
ii  exim4-daemon-light [mail-transport-agent]  4.84-8
ii  libterm-readkey-perl                       2.32-1+b1
ii  libterm-readline-perl-perl                 1.0303-1
ii  libwww-perl                                6.08-1
ii  perl                                       5.20.2-3

Versions of packages rt4-clients recommends:
ii  libio-socket-ssl-perl  2.002-2

rt4-clients suggests no packages.

-- no debconf information

--===============5894369701528813940==
Content-Type: text/x-diff; charset=&quot;us-ascii&quot;
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename=&quot;request-tracker4-4.2.11-1-bin-rt.patch&quot;

Index: request-tracker4-4.2.11-1/bin/rt
===================================================================
--- request-tracker4-4.2.11-1/bin/rt
+++ request-tracker4-4.2.11-1/bin/rt
@@ -137,9 +137,9 @@
     grant       =&gt; [&quot;grant&quot;, &quot;revoke&quot;],
     take        =&gt; [&quot;take&quot;, &quot;steal&quot;, &quot;untake&quot;],
     quit        =&gt; [&quot;quit&quot;, &quot;exit&quot;],
     setcommand  =&gt; [&quot;del&quot;, &quot;delete&quot;, &quot;give&quot;, &quot;res&quot;, &quot;resolve&quot;,
-                    &quot;subject&quot;],
+                    &quot;stall&quot;, &quot;subject&quot;],
 );
 
 my %actions;
 foreach my $fn (keys %handlers) {
@@ -754,8 +754,10 @@
         if ( $action eq 'delete' or $action eq 'del' ) {
             $what = &quot;status=deleted&quot;;
         } elsif ($action eq 'resolve' or $action eq 'res' ) {
             $what = &quot;status=resolved&quot;;
+        } elsif ($action eq 'stall' ) {
+            $what = &quot;status=stalled&quot;;
         } elsif ($action eq 'take' ) {
             $what = &quot;owner=$config{user}&quot;;
         } elsif ($action eq 'untake') {
             $what = &quot;owner=Nobody&quot;;

--===============5894369701528813940==--
]