Skip Menu |
 

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the CPAN-Reporter CPAN distribution.

Report information
The Basics
Id: 21690
Status: resolved
Priority: 0/
Queue: CPAN-Reporter

People
Owner: Nobody in particular
Requestors: SZABGAB [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: (no value)



Subject: separate edit_report and send_report configuration
Download (untitled) / with headers
text/plain 255b
Would it be possible to add separate edit_report and send_report configuration for success and failure reports? I personally would like to edit_report_success = no send_report_success = yes edit_report_failure = ask/yes send_report_failure = yes Gabor
From: DAGOLDEN [...] cpan.org
Download (untitled) / with headers
text/plain 737b
On Mon Sep 25 06:28:36 2006, SZABGAB wrote: Show quoted text
> I personally would like to > edit_report_success = no > send_report_success = yes > > edit_report_failure = ask/yes > send_report_failure = yes
I've been considering this as well, but in a different fashion. I've been considering chaining the options as with "ask/yes". So what you've described would be: edit_report = fail/ask/yes ("On failure, ask with a default of yes") Contrast to edit_report = ask/fail ("Ask, with a default of yes if it has failed and no otherwise") I might need to add "pass" like "fail" but with opposite logic. The code for it is easy. Designing it right and explaining it clearly is the tougher challenge. But it's in the queue for a future release.
Subject: Re: [rt.cpan.org #21690] separate edit_report and send_report configuration
Date: Mon, 25 Sep 2006 16:44:40 +0300
To: bug-CPAN-Reporter [...] rt.cpan.org
From: "Gabor Szabo" <szabgab [...] gmail.com>
Download (untitled) / with headers
text/plain 629b
On 9/25/06, via RT <bug-CPAN-Reporter@rt.cpan.org> wrote: Show quoted text
> > I've been considering this as well, but in a different fashion. I've > been considering chaining the options as with "ask/yes". So what you've > described would be: > > edit_report = fail/ask/yes > > ("On failure, ask with a default of yes")
At first I thought that ask/yes meant ask if failure, yes if success but and when it did not work as expected I had to read the docs.... I think this "edit_report = fail/ask/yes" is quite confusing, especially if then you add "edit_report = pass/ask/yes" and "edit_report = na/ask/yes" how will you separate them? Gabor
Download (untitled) / with headers
text/plain 923b
I'll throw this onto this ticket since it seems like a similar desire. I wish to configure test_report such that... 1. When the test is a pass send the report without asking me. 2. When the test is a fail allow me to edit the report and decide if I should send. This setup allows automated testing, reporting and installation to proceed without my interaction when everything is going fine. It only requires my input when something has gone wrong, which is how it should be. I can do one or the other, but not both. In order to do that I need an option to only ask about sending on failure and send without prompting otherwise. None of the existing options seem to cover this. A syntax that makes sense to me is: edit_report = pass:no, fail:ask/no send_report = pass:yes, fail:ask/yes Which is analagous to: edit_report => { fail => "ask/no", pass => "no" } send_report => { fail => "ask/yes", pass => "yes" }
grade-specific actions have been added to 0.28_51


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.