[pLog-svn] Re: Plugin versioning
Jon Daley
plogworld at daley.snurgle.org
Mon Jun 6 16:30:03 GMT 2005
It sounds good to me to match the version numbers that PHP knows
about so we can gain an API function to compare versions.
Will plugins get versioned so as to be tied to major releases, and
minor if necessary? ie. a regular current plugin would be versioned 1.0,
but if a plugin needed something in 1.0.1, it would be numbered 1.0.1, and
if you are only running 1.0, it will generate a warning that it probably
won't work, or should it just keep itself disabled, if the version number
is too small?
On Mon, 6 Jun 2005, Oscar Renalias wrote:
> Any ideas? (specially coming from the ones who requested this feature :))
>
> Oscar
>
> On 6/2/05, Oscar Renalias <phunkphorce at gmail.com> wrote:
>> We probably need this feature :) But how to implement it?
>>
>> I was looking at PHP's version_compare()
>> (http://www.php.net/manual/en/function.version-compare.php) and we
>> could probably use it as long as we define our version numbers in a
>> similar way to what PHP does, i.e. "1.0.1", "1.0" and so on.
>> Additionally, it supports operans such as ">", "=", "<", "=>" and so
>> on.
>>
>> What do you think?
>>
>> Oscar
>>
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.plogworld.net
> http://devel.plogworld.net/mailman/listinfo/plog-svn
>
**************************************************************
* Jonathan M. Daley * If breathing didn't come *
* * naturally, we wouldn't have *
* jondaley at snurgle.org * time for it. *
* * -- Anne Marie *
* www.snurgle.org/~jondaley * *
**************************************************************
More information about the pLog-svn
mailing list