You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2009/09/20 21:22:27 UTC
[Bug 6207] New: RFE: need "if version > {svn revision}" conditional
support in configs
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6207
Summary: RFE: need "if version > {svn revision}" conditional
support in configs
Product: Spamassassin
Version: SVN Trunk (Latest Devel Version)
Platform: Other
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P5
Component: Libraries
AssignedTo: dev@spamassassin.apache.org
ReportedBy: jm@jmason.org
With the current plans to publish rule updates "live" from trunk, I keep
thinking of scenarios where we could be working on some new feature in trunk,
and a new feature or eval rule added to an existing plugin will cause lint
errors and update failures.
Just in case this arises, let's be proactive and add a way to conditionalize
based on SVN revision. simply using version numbers is now unsafe as this may
happen between releases.
--
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
[Bug 6207] RFE: need "if version > {svn revision}" conditional
support in configs
Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6207
Justin Mason <jm...@jmason.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #2 from Justin Mason <jm...@jmason.org> 2009-09-24 04:00:38 PDT ---
fixed.
: 341...; svn commit -m "bug 6207: add 'if can(Class::method)' conditional
statement, allowing conf settings to be conditionalised on plugin capabilities
without requiring new version releases to do so"
Sending MANIFEST
Sending lib/Mail/SpamAssassin/Conf/Parser.pm
Sending lib/Mail/SpamAssassin/Conf.pm
Adding t/if_can.t
Transmitting file data ....
Committed revision 818446.
--
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
[Bug 6207] RFE: need "if version > {svn revision}" conditional
support in configs
Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6207
--- Comment #1 from Justin Mason <jm...@jmason.org> 2009-09-20 12:25:32 PDT ---
actually, bug 5623 may have a better way to do it:
if (defined(replace_supports_replace_foo))
replace_foo bar
replace_foo baz
endif
the plugin/code (when changed) can add a new "capability" boolean flag to
indicate it. Alternatively/in addition, the "if defined" check could support
checking for the existence of named methods in the plugin.
--
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
[Bug 6207] RFE: need "if version > {svn revision}" conditional
support in configs
Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6207
Justin Mason <jm...@jmason.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |spamassassin@dostech.ca
--- Comment #3 from Justin Mason <jm...@jmason.org> 2009-09-24 04:01:02 PDT ---
*** Bug 5623 has been marked as a duplicate of this bug. ***
--
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
[Bug 6207] RFE: need "if version > {svn revision}" conditional
support in configs
Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6207
Justin Mason <jm...@jmason.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P5 |P2
CC| |jm@jmason.org
Target Milestone|Undefined |3.3.0
--
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.