[rt-devel] My first patch

Todd Chapman rt at chaka.net
Fri Jan 23 08:38:42 EST 2004


I don't know if this is the right way to do it. With version
control moving to Subversion soon I hesitate to get involved
with using the CVS mirror.

The patch below makes it possible to set the ticket type
when creating a ticket through Web.pm.

Also, it's hard to make a diff when I am really using a
code overlay. What is the right way to do it?

Also, how do I know if my patch is accepted?

Thanks!

--- lib/RT/Interface/Web.pm     2004-01-02 16:23:39.000000000 -0500
+++ local/lib/RT/Interface/Web.pm       2004-01-22 16:04:39.000000000 -0500
@@ -318,6 +318,7 @@
     }

     my %create_args = (
+       Type            => $ARGS{'Type'} || 'Ticket',
         Queue           => $ARGS{'Queue'},
         Owner           => $ARGS{'Owner'},
         InitialPriority => $ARGS{'InitialPriority'},





More information about the Rt-devel mailing list