logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Munin::Node::Configure::History - Filtering plugins based on the version of Munin they were first

Methods

new(%args)
           Constructor.

           The  'history_file'  argument  is  required,  and should be the path to the plugin history file.  The
           'newer' argument is optional, and should be the version of the release before which plugins should be
           ignored.

       load()
           Loads the plugin history from history_file.  Dies if 'newer' didn't match a  valid  release,  or  the
           file wasn't readable.

       too_old($plugin)
           Takes  a  Munin::Node::Configure::Plugin  object.  Returns false unless the plugin should be ignored,
           true otherwise (ie. if 'newer' wasn't set, the plugin is user-contributed, etc).

perl v5.40.1                                       2025-05-20               Munin::Node::Configure::History(3pm)

Name

       Munin::Node::Configure::History - Filtering plugins based on the version of Munin they were first
       distributed with.

Synopsis

         my $plugin = Munin::Node::Configure::History->new(
             newer        => '1.3.3',
             history_file => 'plugins/plugins.history',
         );

See Also