Skip to content

Commit e82dbf0

Browse files
authored
Merge pull request #49 from regisb/regisb/update-featuretoggle-config
[BD-21] Simplify feature toggle annotation configuration
2 parents f61565d + fa1f5b0 commit e82dbf0

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

CHANGELOG.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ Change Log
1111

1212
.. There should always be an "Unreleased" section for changes pending release.
1313
14+
[0.7.0] - 2020-09-07
15+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
16+
17+
* Simplify the feature toggle annotation format
18+
1419
[0.6.0] - 2020-08-27
1520
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1621

code_annotations/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
Extensible tools for parsing annotations in codebases.
33
"""
44

5-
__version__ = '0.6.0'
5+
__version__ = '0.7.0'

code_annotations/config_and_tools/config/feature_toggle_annotations.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,15 @@ annotations:
1111
feature_toggle:
1212
- ".. toggle_name:":
1313
- ".. toggle_implementation:":
14-
choices: [ExperimentWaffleFlag, WaffleFlag, WaffleSample, WaffleSwitch, CourseWaffleFlag, ConfigurationModel, DjangoSetting]
14+
choices: [WaffleFlag, WaffleSwitch, CourseWaffleFlag, ExperimentWaffleFlag, SettingToggle, SettingDictToggle, ConfigurationModel, DjangoSetting]
1515
- ".. toggle_default:":
1616
- ".. toggle_description:":
17-
- ".. toggle_category:":
1817
- ".. toggle_use_cases:":
19-
choices: [incremental_release, launch_date, monitored_rollout, graceful_degradation, beta_testing, vip, opt_out, opt_in, open_edx]
18+
choices: [temporary, circuit_breaker, vip, opt_out, opt_in, open_edx]
2019
- ".. toggle_creation_date:":
21-
- ".. toggle_expiration_date:":
20+
- ".. toggle_target_removal_date:":
2221
- ".. toggle_warnings:":
2322
- ".. toggle_tickets:":
24-
- ".. toggle_status:":
2523
extensions:
2624
python:
2725
- py

0 commit comments

Comments
 (0)