On 10/6/06, Ivan Tubert-Brohman <[EMAIL PROTECTED]> wrote:
I got something that can send you directly to rt.cpan.org and prefill
the textarea with the patch. The problem is that that textarea has
hard text wrapping which can cause the patch to be malformed.
Therefore, to make life easier for the module maintainer, the patch
should be attached as a file. The sad part for the patcher is that the
file can't be transmitted easily from one form to the other. The best
protocol I could come up with is the following:

1) user edits source in annocpan.org and submits the form to generate the patch
2) user saves the patch in his/her local machine
3) user goes to rt.cpan.org and uploads the file and submits the ticket

It's kind of annoying to have to download a file that you are just
going to upload a minute later... anyone has a better idea? (One
option would be to save the patch in the annocpan server and include a
link to it in the rt ticket, but I don't like that option that much--I
think the rt ticket should be self-contained.)

I'm thinking now that a convenient solution for the user would be to
send the bug report directly by email (from annocpan.org to
rt.perl.org, with From: being the user's email); that way I can
include an attachment so the patch won't be messed up. Some drawbacks,
if I understand RT correctly, are that the report would not be
associated with an rt.cpan.org user account and the user won't be able
to set some of the metadata (such as version numbers).

(I shouldn't have said that this would be in production by today...
there goes my estimate ;-)

Cheers,
Ivan

Reply via email to