[pkg-php-pear] Bug#684280: Bug#684280: phpunit: Code coverage report fails because highcharts.js is missing
Luis Uribe
acme at eviled.org
Thu Aug 9 06:55:38 UTC 2012
reassign 684280 php-codecoverage
retitle 684280 Code coverage report fails because highcharts.js is missing
thanks
Hi Cyril
Actually the bug is in php-codecoverage, highcharts.js is licensed
under CC BY-NC 3.0 which is non DFSG-compatible.
I think there are three different things we could do:
1. Ask the upstream to change the license
2. Package the other files, move php-codecoverage to non-free (and
phpunit too)
3. Modify phpunit -or the phpunit Debian package- to not use highcharts.js
The third solution is the best one -i think- but i need a few days to
check the code and see how hard it is.
On Wed, Aug 08, 2012 at 02:11:03PM +0200, Cyril Bouthors wrote:
> Package: phpunit
> Version: 3.6.10-1
> Severity: important
>
> Code coverage report stopped working after an upgrade to wheezy.
>
> Here is a simple way to reproduce:
>
> $ cat foo.php
> <?php
> class foo {
> }
> ?>
> $ phpunit --coverage-html report foo.php
> PHPUnit 3.6.10 by Sebastian Bergmann.
>
>
>
> Time: 0 seconds, Memory: 2.50Mb
>
> OK (0 tests, 0 assertions)
>
> Generating code coverage report, this may take a moment.PHP Warning: copy(/usr/share/php/PHP/CodeCoverage/Report/HTML/Renderer/Template/highcharts.js): failed to open stream: No such file or directory in /usr/share/php/PHP/CodeCoverage/Report/HTML.php on line 206
> PHP Stack trace:
> PHP 1. {main}() /usr/bin/phpunit:0
> PHP 2. PHPUnit_TextUI_Command::main() /usr/bin/phpunit:46
> PHP 3. PHPUnit_TextUI_Command->run() /usr/share/php/PHPUnit/TextUI/Command.php:130
> PHP 4. PHPUnit_TextUI_TestRunner->doRun() /usr/share/php/PHPUnit/TextUI/Command.php:192
> PHP 5. PHP_CodeCoverage_Report_HTML->process() /usr/share/php/PHPUnit/TextUI/TestRunner.php:373
> PHP 6. PHP_CodeCoverage_Report_HTML->copyFiles() /usr/share/php/PHP/CodeCoverage/Report/HTML.php:184
> PHP 7. copy() /usr/share/php/PHP/CodeCoverage/Report/HTML.php:206
>
> Can you include highcharts.js in the Debian package?
>
> Regards,
>
> -- System Information:
> Debian Release: wheezy/sid
> APT prefers testing
> APT policy: (500, 'testing')
> Architecture: amd64 (x86_64)
>
> Kernel: Linux 3.2.0-3-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 phpunit depends on:
> ii pear-phpunit-channel 1.1-1
> ii php-codecoverage 1.1.2+dfsg1-2
> ii php-file-iterator 1.3.1-2
> ii php-pear 5.4.4-2
> ii php-symfony-yaml 1.0.6-1
> ii php-text-template 1.1.1-2
> ii php-timer 1.0.2-2
> ii php5-cli 5.4.4-2
> ii phpunit-mock-object 1.1.1-2
>
> Versions of packages phpunit recommends:
> ii php-invoker 1.1.0-1
> ii php-token-stream 1.1.3-2
> ii phpunit-story 1.0.0-1
>
> Versions of packages phpunit suggests:
> pn phpunit-dbunit <none>
> ii phpunit-selenium 1.2.6-2
>
> -- no debconf information
>
> --
> ,''`.
> : :' : Cyril Bouthors
> `. `' Debian.org
> `-
>
> _______________________________________________
> pkg-php-pear mailing list
> pkg-php-pear at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-php-pear
--
Luis Uribe
http://eviled.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-php-pear/attachments/20120809/3a66a966/attachment.pgp>
More information about the pkg-php-pear
mailing list