Remi Collet | 7 Nov 2010 08:43

PHPUnit packages and PEAR (installer) minimal version required

Latest packages available in PHPUnit channel require PEAR installer >=
1.9.1.

I have made tests and don't encounter any issue with previous version.

Can you consider keeping this version as low as possible, and only raise
this when a bug in pear installer affects your packages ?

Why ?

For now, RHEL-6 (in RC stage) provides PEAR 1.9.0, and will probably
keep this version for the distro life, like RHEL-5 stay in 1.4.9 :(
(security bug, if discovered, will be backport without changing version)

We have a lot of PHPUnit package in EPEL repository for RHEL-6 (and for
the future clone, like CentOS 6), maintains by 3 packagers :

	php-phpunit-bytekit 1.1.1
	php-phpunit-DbUnit 1.0.0
	php-phpunit-File-Iterator 1.2.3
	php-phpunit-PHP-CodeCoverage 1.0.0
	php-phpunit-PHP-Timer 1.0.0
	php-phpunit-PHP-TokenStream 1.0.1
	php-phpunit-phpcpd 1.3.2
	php-phpunit-phpdcd 0.9.2
	php-phpunit-PHPUnit 3.5.3
	php-phpunit-PHPUnit-MockObject 1.0.1
	php-phpunit-PHPUnit-Selenium 1.0.0
	php-phpunit-Text-Template 1.0.0

(Continue reading)

Sebastian Bergmann | 9 Nov 2010 17:22
Picon
Gravatar

Re: PHPUnit packages and PEAR (installer) minimal version required

Am 07.11.2010 08:43, schrieb Remi Collet:
> I have made tests and don't encounter any issue with 
> previous version.

 The PEAR package itself also provides the functionality used by
 PHPUnit to run PHPT tests. http://pear.php.net/bugs/bug.php?id=17292
 is the reason why PEAR 1.9.1 is required.

> I think it is really useful for a developer to have this tools available
> in the distro repository.

 That was my opinion as well back when I maintained PHP and PEAR
 packages for Gentoo Linux. Now, however, I think that the PEAR
 Installer should be used instead of the Linux distribution's native
 package management system as only this guarantees timely updates for
 PEAR-packaged software.

> I hope you can consider this request

 I do, but due to the bug in PEAR 1.9.0 that I quoted above I have to
 require PEAR 1.9.1, I'm afraid. Thank you for you efforts, Remi, and do
 not hesitate to contact me if there anything I can do to make your work
 easier,
Sebastian

--

-- 
Sebastian Bergmann                    Co-Founder and Principal Consultant
http://sebastian-bergmann.de/                           http://thePHP.cc/

(Continue reading)

Remi Collet | 2 Jan 2011 19:15

Re: PHPUnit packages and PEAR (installer) minimal version required

Le 09/11/2010 17:22, Sebastian Bergmann a écrit :
> Thank you for you efforts, Remi, and do
>  not hesitate to contact me if there anything I can do to make your work
>  easier,

Hi all and Happy new year !

 <at> Sebastian, ChangeLog.markdown and README.markdown, available on Git
repository, are really usefull files, which I'm used to provides in the
packages.

Could it be possible (order by importance) :

1/ to have a Changelog file for other packages.

For example, I don't find any information about Changes in new
PHP_CodeCoverage version 1.0.3, which is quite annoying to publish this
update without any information for users. (A simple "New upstream
version" is really discouraged by Fedora Guidelines)

Workaround : another source for this ?

2/ to provide Readme and Changelog files in your package (of course,
tagged with role="doc")

This files are really small, and shouldn't be a big "space" problem

Workaround : I can continue to add it manually, from git, as for now

3/ to add a LICENCE File
(Continue reading)

Sebastian Bergmann | 3 Jan 2011 18:30
Picon
Gravatar

Re: PHPUnit packages and PEAR (installer) minimal version required

On 01/02/2011 07:15 PM, Remi Collet wrote:
> 1/ to have a Changelog file for other packages.

  Will add them for future releases. Hope that is sufficient; don't really
  want to wade through Git history and write them for older releases after
  the fact.

> Workaround : another source for this ?

  sb <at> thinkpad code-coverage % git log 1.0.2.. --oneline
  c730d5e Prepare release.
  79d8ec7 Update to RGraph 2010-12-24.
  334687c Update to YUI 2.8.2r1.
  dfa0901 Fix CS.
  d184a77 Create output directory when it does not exist
  97a5734 Bump copyright year.
  d833dc1 Remove superfluous code.
  81a8db1 Use assertAttributeInstanceOf() instead of assertAttributeType().
  f2aebfb Handle files that are included but not covered.
  7430853 Simplify.
  07349b2 Close #32.
  1335a9e Eliminate superfluous trim() call.
  26619c0 Fix getNumClasses().
  c3280fa Exclude abstract methods from statistics.

> 2/ to provide Readme and Changelog files in your package (of course,
> tagged with role="doc")
> 3/ to add a LICENCE File

  Implemented for PHPUnit, will do for the other packages before their
(Continue reading)

Remi Collet | 3 Jan 2011 18:40

Re: PHPUnit packages and PEAR (installer) minimal version required

Le 03/01/2011 18:30, Sebastian Bergmann a écrit :
> On 01/02/2011 07:15 PM, Remi Collet wrote:
>> 1/ to have a Changelog file for other packages.
>  Will add them for future releases. Hope that is sufficient;

Yes, this perfect

>> 2/ to provide Readme and Changelog files in your package (of course,
>> tagged with role="doc")
>> 3/ to add a LICENCE File
>  Implemented for PHPUnit, will do for the other packages before their
>  next release.
Great

Thanks a lot.

Remi.


Gmane