Your message dated Sat, 06 Sep 2014 23:19:20 +0000 with message-id <[email protected]> and subject line Bug#760292: fixed in request-tracker4 4.2.6-1 has caused the Debian Bug report #760292, regarding rt4-clients: allow the rt client to modify the status of a ticket while commenting to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 760292: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=760292 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: rt4-clients Version: 4.2.4-1 Severity: wishlist Tags: upstream patch A reasonable use case for rt is to comment on a ticket (or "correspond", which is just a comment that is also sent to the ticket requestor). In the web form for commenting, there is the ability to update the status of the ticket at the same time. This feature should be exposed in the command line client as well. The attached patch enables this functionality for me. --dkg -- System Information: Debian Release: jessie/sid APT prefers testing APT policy: (500, 'testing'), (200, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.14-2-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages rt4-clients depends on: 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.0-4 ii postfix [mail-transport-agent] 2.11.1-1 Versions of packages rt4-clients recommends: ii libio-socket-ssl-perl 1.997-2 rt4-clients suggests no packages. -- debconf-show faileddiff --git a/bin/rt b/bin/rt index d342b64..3804cf7 100755 --- a/bin/rt +++ b/bin/rt @@ -792,6 +792,7 @@ sub comment { my ($action) = @_; my (%data, $id, @files, @bcc, @cc, $msg, $content_type, $wtime, $edit); my $bad = 0; + my $status = ''; while (@ARGV) { $_ = shift @ARGV; @@ -799,7 +800,7 @@ sub comment { if (/^-e$/) { $edit = 1; } - elsif (/^-(?:[abcmw]|ct)$/) { + elsif (/^-(?:[abcmws]|ct)$/) { unless (@ARGV) { whine "No argument specified with $_."; $bad = 1; last; @@ -815,6 +816,9 @@ sub comment { elsif (/-ct/) { $content_type = shift @ARGV; } + elsif (/-s/) { + $status = shift @ARGV; + } elsif (/-([bc])/) { my $a = $_ eq "-b" ? \@bcc : \@cc; @$a = split /\s*,\s*/, shift @ARGV; @@ -857,9 +861,12 @@ sub comment { TimeWorked => $wtime || '', 'Content-Type' => $content_type || 'text/plain', Text => $msg || '', - Status => '' + Status => $status } ]; + if ($status ne '') { + push(@{$form->[1]}, "Status"); + } my $text = Form::compose([ $form ]); @@ -2402,6 +2409,8 @@ Text: than once to attach multiple files.) -c <addrs> A comma-separated list of Cc addresses. -b <addrs> A comma-separated list of Bcc addresses. + -s <status> Set a new status for the ticket (default will + leave the status unchanged) -w <time> Specify the time spent working on this ticket. -e Starts an editor before the submission, even if arguments from the command line were sufficient.
--- End Message ---
--- Begin Message ---Source: request-tracker4 Source-Version: 4.2.6-1 We believe that the bug you reported is fixed in the latest version of request-tracker4, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Dominic Hargreaves <[email protected]> (supplier of updated request-tracker4 package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Sat, 06 Sep 2014 22:17:37 +0100 Source: request-tracker4 Binary: request-tracker4 rt4-clients rt4-standalone rt4-fcgi rt4-apache2 rt4-db-postgresql rt4-db-mysql rt4-db-sqlite rt4-doc-html Architecture: all source Version: 4.2.6-1 Distribution: unstable Urgency: medium Maintainer: Debian Request Tracker Group <[email protected]> Changed-By: Dominic Hargreaves <[email protected]> Closes: 759975 760292 760500 Description: request-tracker4 - extensible trouble-ticket tracking system rt4-apache2 - Apache 2 specific files for request-tracker4 rt4-clients - mail gateway and command-line interface to request-tracker4 rt4-db-mysql - MySQL database backend for request-tracker4 rt4-db-postgresql - PostgreSQL database backend for request-tracker4 rt4-db-sqlite - SQLite database backend for request-tracker4 rt4-doc-html - HTML documentation for request-tracker4 rt4-fcgi - External FastCGI support for request-tracker4 rt4-standalone - Standalone web server support for request-tracker4 Changes: request-tracker4 (4.2.6-1) unstable; urgency=medium . * Depend unconditionally on libcgi-pm-perl to fix FTBFS with perl 5.20 (Closes: #759975) * New upstream release (Closes: #760500) * Apply patch from Daniel Kahn Gillmor to allow changing the status during commenting in the rt command line tool (Closes: #760292) * Add lintian override for missing sources shipped in third-party-source * Use install -d rather than mkdir in a few places to avoid umask issues (thanks, Lintian) Checksums-Sha1: ce6df3647734f2d8ee3f43a276148f65e60655cd 5618 request-tracker4_4.2.6-1.dsc d84cdd067ad29074b45197dd02c777028b395900 1316634 request-tracker4_4.2.6.orig-third-party-source.tar.gz 3a876015da1330ed58719997979c1346dca2df75 7576887 request-tracker4_4.2.6.orig.tar.gz d94c3dd1de2c475f82ae44a63215d166b82d0d81 71560 request-tracker4_4.2.6-1.debian.tar.xz 0feb17d3c7b96a6694abfa188b4cc0f653f751f7 3050106 request-tracker4_4.2.6-1_all.deb f7a641e9def9bb24a9b7475232763f9bac732c03 50968 rt4-clients_4.2.6-1_all.deb e192e988e34b169082c8e1d43141d8e91a8b38c3 15788 rt4-standalone_4.2.6-1_all.deb 953d0f32955a44ae66affbd6294db76b38690711 18172 rt4-fcgi_4.2.6-1_all.deb ff3947b3d15e839517591a7652a0457d2fa9347a 17088 rt4-apache2_4.2.6-1_all.deb be334ff6afb589974ff93ae2004a70f8e2643b23 16394 rt4-db-postgresql_4.2.6-1_all.deb 1460f244b310a73918df4918a5dd18abbd5ca9f4 16414 rt4-db-mysql_4.2.6-1_all.deb fa06985759ff50b81690495c7d2c1300bff057a4 16522 rt4-db-sqlite_4.2.6-1_all.deb 8954f7b1b6c0449104446b5fb0e1e9c08825cd46 979740 rt4-doc-html_4.2.6-1_all.deb Checksums-Sha256: 579a65e5b728db334113b927781ff96403806a7d0983af90485824069907f126 5618 request-tracker4_4.2.6-1.dsc 944406b57e254441965016c516c20f8e547270c178af14d897df3d198d67efb5 1316634 request-tracker4_4.2.6.orig-third-party-source.tar.gz 0663b0e3d2f142dd411624f88597316b4f883fce479ce0d5f5582cf975c86523 7576887 request-tracker4_4.2.6.orig.tar.gz f0a3ede190e792701dc7ce4b09dfd2d8609820e6dfbfff4b0dd3071186572ea7 71560 request-tracker4_4.2.6-1.debian.tar.xz 4ddce496e421890c2cc8449a13050072c5b61f536e79343cd99c6cae62119c4e 3050106 request-tracker4_4.2.6-1_all.deb f8333c892fed0eda12dc6a634033d2cd14b3bf27eeabddfecc8674123f56f225 50968 rt4-clients_4.2.6-1_all.deb 7b2c14416195f888ecbca3af8fc8ae0fbb50904ead1993d994c61ab2d566f348 15788 rt4-standalone_4.2.6-1_all.deb d0336cc92165f8327d611e3d6803dbb73b52e2287303196589c3101b03057f02 18172 rt4-fcgi_4.2.6-1_all.deb 83c99c1a91af8db489ae78d3f575c9b892e933077fbf0b3ccf7c1773ce8a7e78 17088 rt4-apache2_4.2.6-1_all.deb 20e650840f2bbc1e7277a0d3fe325049024f4081736abbb8cdd50bca6b06770b 16394 rt4-db-postgresql_4.2.6-1_all.deb 507e0c7355df9676b28b55f81207d43b7b5fe9cd96f9203484ee883e3a7c832c 16414 rt4-db-mysql_4.2.6-1_all.deb 82bc1576c35359b4d10921922fbdd3c81e2da6e96ea3acf315618d6562ef5ba1 16522 rt4-db-sqlite_4.2.6-1_all.deb e1d3572ab232fd0b83d38e3bf751ee0bb0935ad2f1aaedf8e185a710e25b907a 979740 rt4-doc-html_4.2.6-1_all.deb Files: 357481f47281f02a702f6fc94c792248 5618 misc optional request-tracker4_4.2.6-1.dsc fd6e977ab57ca3d927a309245b8a1679 1316634 misc optional request-tracker4_4.2.6.orig-third-party-source.tar.gz 3d6fd7da8b397cd75865dbfbebe18dd7 7576887 misc optional request-tracker4_4.2.6.orig.tar.gz 3bec75c30306419bfa80148247ffe307 71560 misc optional request-tracker4_4.2.6-1.debian.tar.xz d4fb6449ca230400e67c71ccd5054ff7 3050106 misc optional request-tracker4_4.2.6-1_all.deb d3f6e02460c00623759c9b37e7c61553 50968 misc optional rt4-clients_4.2.6-1_all.deb c44258c8dcb3ff09239fa02f20f97dcb 15788 misc optional rt4-standalone_4.2.6-1_all.deb 5faab7b2ca2c5dabb73a5b6589136d71 18172 misc optional rt4-fcgi_4.2.6-1_all.deb 91c1a027b44db8cd0176a63ad4424c93 17088 misc optional rt4-apache2_4.2.6-1_all.deb 9b4cfcf981bad5aad559c965e3a82659 16394 misc optional rt4-db-postgresql_4.2.6-1_all.deb c561e28811af5b3aec1e009b3a5c0c96 16414 misc optional rt4-db-mysql_4.2.6-1_all.deb 90bd46919669aee067c982732755b0b2 16522 misc optional rt4-db-sqlite_4.2.6-1_all.deb ee29ab13dcb103bc64e17d2bff32a90e 979740 doc optional rt4-doc-html_4.2.6-1_all.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBCAAGBQJUC5UsAAoJEMAFfnFNaU+yVK8P/2xKZL7VslVHXKEs6gh1q2TF nELPTMEX0acRu7IwQKehyAqM2hbpWRLdUHqvJcHWtCFtRxOZYJRVyelwJy6YjsaH X2lSFV+WheTG0mOSWCiA7oyXb3cusSaGL0+bWs7Fy6ZIUtAReA4jEgNe1ezS8zJz r4/EmjtS1TJfikvVsajeNk8ZlkLdbhBWiJG0cSoEmkMHz/xyUo8xT3aYdYNOB0ms 7+4RerI6jY+7WwYs1oxEONKhZOxA+Rm97TqcbSI4RG1Q8IPvi/00KMu/fi6ffIrz DYTNwlSr/MjKiGaIohTH6dxeYNHzFSkMtUkzXMaYuZb+j1sOB3Z6QU0boq7kIOsG Fkhx1GznNOCsUBpjoKALvj9SIn85yk0BPwDlj8abCcq+0d6O/AK5Qw9CgBYf8SZY JaAXjPQj1avc3K60PtieTXjpiEKjPUtrUju8gM1IyQ8BWK5qwOlZgoIQuudNzhpD oAuRnlITPYWnGoTyrHlGrXlY+MNlaWzyFSODWPCBvgnpXW4Q5v6m/bfKL6W6sxeU rUmJM7Wxp3mzP9WoVWmmwEqS50YWoqUtZa3Bo82U4dw8ZpAj+Se3c6OSmSNGn0Kh UEeGKCf5yDnGKLuB1uB9CJUZoMgfSaH7+WCgFgqqG7zGC6sPQ2f8gmzPV8tomisG ReZYUuga37efNTjhmYzh =OpiW -----END PGP SIGNATURE-----
--- End Message ---

