Re: RFC: PECL versioning

From: Date: Sat, 22 Mar 2008 01:55:48 +0000
Subject: Re: RFC: PECL versioning
References: 1 2  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-5237@lists.php.net to get a copy of this message
Hi Pierre,
What do you mean by "Tag the version with -dev at all times except during a package release"?
I would think that's fairly obvious to all. It's what happens in PHP core, for pity's sake.
About using a recognized versionning structure, it is indeed a very good thing and required. I would like however to go one or steps further. Not as far as PEAR but it would be great to define some basic rules for the x.y.z formats: - Stable can only be >= 1.0.0 - x.y.z+1 bugs fixes, no BC allowed - x.y+2.z features additions, bugs fixes, no BC allowed
I know what you mean by that but others may not. It will need writing up.
- x+1.y.z everything is allowed Applying these three simple rules will help distributions, packagers and users to manage their install or to upgrade their systems in a safe way (and faster as less tests are required). The $Revision$ tag is pretty useless but only useful for us developers when we work using the CVS versions or snapshots. I don't think it has to be in the requirements.
Yes, Stas said the same... and you're both right.
About the replace operation in the package.xml, it is also good to do not have it as requirements, it is only a tool that one can use or not.
No, replacing src from package.xml should be illegal IMHO. It makes the assumption that package.xml was part of the equation in the first place, and that's only true if you're using the PECL system. If you're freely building snapshots, package.xml isn't and shouldn't be part of that equation. - Steph
Cheers, -- Pierre http://blog.thepimp.net | http://www.libgd.org


« previous php.pecl.dev (#5237) next »