Re: PECL versioning

From: Date: Thu, 20 Mar 2008 00:43:23 +0000
Subject: Re: PECL versioning
References: 1  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-5190@lists.php.net to get a copy of this message
On Wed, Mar 19, 2008 at 5:07 PM, Steph Fox <steph@zend.com> wrote: > > I need to be able to tell the difference between something at the point of > release and something under development, otherwise this project will be > manual forever... This might not be the most accurate answer, as I'm not sure I completely understand the problematic, but here it comes ;) For release point, take the version inside package.xml. If you can't, just autogenerate the template.rc according to the package.xml. That way, PECL devs don't have to handle yet another file that they don't understand because they don't know what Windows is. For dev versioning, if you are using CVS to pull the source, I can see a couple of options: We are supposed to tag a release under CVS when doing a PECL package. You could easily come up with something like: If there is a diff between last official release and HEAD, do last release number + 1 + -dev. Better yet, same version as last release, but appending -snaps20080319-dev to it or something. It might not be accurable, and I might be preparing 2.0-dev instead of 1.5.1-dev. Maybe we can offer a way to force that (that's even true outside of Windows, as there is no package.xml-dev-next-version file) Although it is not accurable, it still allows to see that one binary DLL is more recent (meaning version is higher) than an installed dev snapshot. If I'm not outside of the track, tell me, we can maybe take this idea to the next step. Olivier

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