Skip to content

Latest commit

 

History

History
42 lines (27 loc) · 1.58 KB

code-versus-machine-settings.md

File metadata and controls

42 lines (27 loc) · 1.58 KB

Code versus machine level settings

The approach to when a config setting is either a code based API or a machine level environment variable is driven by if the setting is a personal preference or shared.

Personal preferences

Settings that are personal preferences ideally should

  • Not be share with other people using the same code base.
  • When running on the same machine, operate the same for different code bases that all use DiffEngine.
  • Not apply to CI.

Examples:

Shared preferences

Settings that are shared ideally should

  • Checked into the code base.
  • Be share with other people using the same code base.
  • When running on the same machine, not effect different code bases that all use DiffEngine.
  • Apply to CI.

Examples: