Skip Menu |

This queue is for tickets about the CPAN-Testers-ParseReport CPAN distribution.

Report information
The Basics
Id: 39485
Status: stalled
Priority: 0/
Queue: CPAN-Testers-ParseReport

People
Owner: Nobody in particular
Requestors: rjray [...] blackperl.com
Cc:
AdminCc:

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



Subject: Ship style.css and/or allow specification of an alternate stylesheet in HTML output
If you use the tool to download/create local mirroring of select results, the resulting HTML is somewhat sparse in appearance. The stylesheet used by cpantesters.org is not included in the package (and thus not installed anywhere under $HOME/var), and there is no option to specify an alternate stylesheet. It only defaults to "/style.css". Preferable would be that some sort of stylesheet is delivered with the package and (at least when creating reports on a local instance) installed alongside the HTML. Alternately (or even also), offer an option that allows the user to provide an alternate stylesheet URI.
Thanks for the feedback! Well, let's hear what upstream thinks about it. I'll put this ticket in the CPAN-WWW-Testers queue. Barbie, please give it back to me if you do not see an easy solution on your end. So my suggestion would be that cpantesters site sets the site up such that it can reference a ./style.css instead of a /style.css. This would not only help my module but all other people who try to mirror parts of cpantesters. Thanks,
Show quoted text
> So my suggestion would be that cpantesters site sets the site up such > that it can reference a ./style.css instead of a /style.css. > > This would not only help my module but all other people who try to > mirror parts of cpantesters.
I think it's reasonable to expect that users (like me) who are creating local mirrors use a command-line option to ctgetreports, to specify an alternate stylesheet URL. Assuming they want to, of course... they might just direct the output to an existing webserver area and put a style.css at the root. In other words, I don't think it should be necessary to change the default behavior, such that the cpantesters site code has to change, as well. If I'm using these tools locally, I'm already juggling command-line options-- one more option isn't going to be a problem.
Can you explain more clearly what you're asking me to do? style.css *IS* shipped with CPAN-WWW-Testers, it's under the ./src directory. If you're asking me to ship further random CSS files, then that is unlikely to happen. If you want to create your own mirror of the site, feel free to create a style.css that suits you, it doesn't need to be backported into CPAN-WWW-Testers.
Show quoted text
> style.css *IS* shipped with CPAN-WWW-Testers, it's under the ./src > directory. If you're asking me to ship further random CSS files, then > that is unlikely to happen. If you want to create your own mirror of the > site, feel free to create a style.css that suits you, it doesn't need to > be backported into CPAN-WWW-Testers.
I didn't know it came with the other package... please note that I opened this ticket against CPAN-Testers-ParseReport, which works on its own without having CPAN-WWW-Testers installed. I followed-up to Andreas' reply saying that I think it would be enough if the ctgetreports script would take a command-line option to specify and alternate URI for the stylesheet. That way, for the cpantesters.org site there are no changes needed, but those using the script to pull down reports on our modules (we who are already juggling command-line options anyway) can add an extra option to set the stylesheet location. Randy
Maybe there is a chance to resolve this ticket with "patch welcome"? I'm willing to help, but I have no idea for scope and mechanism of the commandline option.