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.
Category:
Development - Core
Description
Currently all action arguments are mandatory. Provide configurable default values wherever possible, so that the configuration does nt have to be repeated.
- Priority changed from Normal to High
- Parent task set to #3376
- 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.
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.
- Status changed from In Progress to Closed
- % Done changed from 0 to 100
This feature is fully implemented in production code.
Also available in: Atom
PDF