Project

General

Profile

Actions

Feature #3373

closed

Task #3374: Migrate all core modules from legacy Mentat

Task #3376: Polish mentat-inspector.py module

mentat-inspector.py - Provide default values for action arguments

Added by Jan Mach over 7 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Development - Core
Target version:
Start date:
03/22/2017
Due date:
% Done:

100%

Estimated time:
To be discussed:

Description

Currently all action arguments are mandatory. Provide configurable default values wherever possible, so that the configuration does nt have to be repeated.

Actions #1

Updated by Jan Mach over 7 years ago

  • Priority changed from Normal to High
  • Parent task set to #3376
Actions #2

Updated by Jan Mach over 7 years ago

  • Status changed from New to In Progress
  • Priority changed from High to Normal

I have implemented general mechanism for providing default values to non-existent action arguments. It is already used for overwrite and unique arguments of tag and set actions. Default values for report action are still coming, I need more time to think it through, so it can be used throughout the whole system.

Actions #3

Updated by Pavel Kácha over 7 years ago

Just a note (and maybe irrelevant, I haven't checked in deep) - don't forget, that default value can be per rule, not only per daemon - for example it makes sense to put the name of the matching rule to the subject of the mailed message.

Actions #4

Updated by Jan Mach about 7 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 0 to 100

This feature is fully implemented in production code.

Actions

Also available in: Atom PDF