Circumstances - JohnLines/taglog GitHub Wiki

This is a description of a pending feature, not yet implemented

Overview

Some actions can only be done in particular situations, or circumstances, for example you might have an action, such as 'inspect gutters' which should not be attempted in a high wind. but is otherwise due to be done. There could be a circumstance 'Calm-Weather' which was associated with the 'inspect gutters' action, which would hide the action unless the circumstance was active.

Implementation

Actions have an If-circumstance field, being a list of circumstances which must be active for the action to be active.

A tagged file, circumstances.tag contains the names and descriptions of the circumstances, possibly with ways for them to be automatically activated or deactivated. (for example a way to feed from a weather system to activate or de-activate 'Calm-Weather'

A selection box to show all the known circumstances, and set the CurrentCirumstances. If circumstances.tag exists then this should be shown when taglog is started.

Examples

  • Shopping
  • Calm-Weather
  • Dry-Weather
  • Debian-unfrozen