diff options
author | James Falcon <TheRealFalcon@users.noreply.github.com> | 2020-06-04 08:50:20 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-04 09:50:20 -0400 |
commit | d0b69e1815db131e893e64745a078780f33097af (patch) | |
tree | 92c66268bc45784418f441eea1fb6d592c81195d /HACKING.rst | |
parent | 56f1939061392c848268ae063908bf2188f07373 (diff) | |
download | vyos-cloud-init-d0b69e1815db131e893e64745a078780f33097af.tar.gz vyos-cloud-init-d0b69e1815db131e893e64745a078780f33097af.zip |
New feature flag functionality and fix includes failing silently (#367)
Build time feature flags are now defined in cloudinit/features.py.
Feature flags can be added to toggle configuration options or
deprecated features. Feature flag overrides can be placed in
cloudinit/feature_overrides.py. Further documentation can be found in
HACKING.rst.
Additionally, updated default behavior to exit with an exception
if #include can't retrieve resources as expected. This behavior
can be toggled with a feature flag.
LP: #1734939
Diffstat (limited to 'HACKING.rst')
-rw-r--r-- | HACKING.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/HACKING.rst b/HACKING.rst index d026cf71..81e6c266 100644 --- a/HACKING.rst +++ b/HACKING.rst @@ -324,6 +324,13 @@ variable annotations specified in `PEP-526`_ were introduced in Python in a xenial lxd container with python3-pytest installed. +Feature Flags +------------- + +.. automodule:: cloudinit.features + :members: + + Ongoing Refactors ================= |