[pLog-svn] version compare and version feed

Oscar Renalias oscar at renalias.net
Mon Jul 30 12:19:29 EDT 2007


I wrote a bunch of test cases for this, you can see it if you run
runtests.php in a tree checked out from svn and run the "Version" test
case. The code is under class/test/tests/misc/version_test.class.php,
perhaps we can see there what test case is failing?

And as far as the feed is concerned, the one for the main lifetype
version is a static one that I update manually every time there is a
release, so we can always update the version number there... It should
hopefully work.

On 7/30/07, Reto Hugi <plog at hugi.to> wrote:
> On 07/30/2007 08:31 AM, Oscar Renalias wrote:
> > You mean that Version::isNewer() says that lifetype-1.2.4_rXYZW is
> > newer than lifetype-1.2.4?
>
> sorry, after reading your question more carefully I think it's the other
> way round: version::isNewer('lifetype-1.2.4') returns true if the actual
> version is lifetype-1.2.4_rXYZW. But is should return false because the
> user just updated to 1.2.4.
>
> sorry 'bout that.
>


More information about the pLog-svn mailing list