http://bugzilla.spamassassin.org/show_bug.cgi?id=3877
Summary: RFE: Creation of "version" number for Plugin API
Product: Spamassassin
Version: 3.0.0
Platform: Other
OS/Version: other
Status: NEW
Severity: normal
Priority: P5
Component: Plugins
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
As time goes on, I'm certain that we are going to be changing/adding to the
Plugin API. As we get more external Plugin modules they are going to need a way
to determine if they can work with the current version of SA.
This could be just a version check for SA but I would propose a seperate version
constant for the Plugin API, since it will hopefully not change over several
versions.
This would be similar to the Apache HTTPd server Module Magic Number, here is
how it is defined:
Module Magic Number is a constant defined in the Apache source code that is
associated with binary compatibility of modules. It is changed when internal
Apache structures, function calls and other significant parts of API change in
such a way that binary compatibility cannot be guaranteed any more. On MMN
change, all third party modules have to be at least recompiled, sometimes even
slightly changed in order to work with the new version of Apache.
The version should be represented in such a way that Plugin authors can do a
simple <=, ==, or >= check and then decide how to handle data passed into the
method.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.