You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The major rule-system rework in #1873 is a great excuse to take the get_*_regexp() and get_*_pattern() functions from sopel.tools and either shove them into someplace like sopel.plugins.rules.utils or encapsulate the pattern generation into the different rule object classes.
@Exirel let's come back to this after #1873 is finished.
The major rule-system rework in #1873 is a great excuse to take the
get_*_regexp()
andget_*_pattern()
functions fromsopel.tools
and either shove them into someplace likesopel.plugins.rules.utils
or encapsulate the pattern generation into the different rule object classes.@Exirel let's come back to this after #1873 is finished.
Full to-deprecate list (for 7.1):
compile_rule()
[tools, loader, plugins.rules: deprecate compile_rule #2027]get_command_regexp()
[plugins: command-regexp functions are now private #1944]get_command_pattern()
[plugins: command-regexp functions are now private #1944]get_nickname_command_regexp()
[plugins: command-regexp functions are now private #1944]get_nickname_command_pattern()
[plugins: command-regexp functions are now private #1944]get_action_command_regexp()
[plugins: command-regexp functions are now private #1944]get_action_command_pattern()
[plugins: command-regexp functions are now private #1944]Full to-delete list (for 8.0):
compile_rule()
[tools: follow through on allremoved_in='8.0'
deprecations #2141]get_command_regexp()
[tools: follow through on allremoved_in='8.0'
deprecations #2141]get_command_pattern()
[tools: follow through on allremoved_in='8.0'
deprecations #2141]get_nickname_command_regexp()
[tools: follow through on allremoved_in='8.0'
deprecations #2141]get_nickname_command_pattern()
[tools: follow through on allremoved_in='8.0'
deprecations #2141]get_action_command_regexp()
[tools: follow through on allremoved_in='8.0'
deprecations #2141]get_action_command_pattern()
[tools: follow through on allremoved_in='8.0'
deprecations #2141]The text was updated successfully, but these errors were encountered: