-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BD-21] Deprecate waffle namespaces #80
Conversation
Thanks for the pull request, @regisb! I've created BLENDED-650 to keep track of it in Jira. More details are on the BD-21 project page. When this pull request is ready, tag your edX technical lead. |
2ee6951
to
6a2154c
Compare
Following our conversation @robrap this is ready for review. |
6a2154c
to
7b8acdd
Compare
@regisb: FYI: I am going to let the dust settle on the earlier PR first. Please update relevant comments (Changelog, PR Description, etc.) that details the backward incompatible change on the interfaces of WaffleFlag and WaffleSwitch. For example, dropping the namespace from the constructor, and possibly mentioning the properties/methods that are going away, etc. |
31d537a
to
c6cdfdd
Compare
719d638
to
f825560
Compare
f853271
to
fd675fa
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @regisb. I must just be super picky. :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very close. Thanks. Reminder that this is blocked adjusting the custom attributes and ensuring monitoring is happy before merging/releasing.
5bdde19
to
fca5d2b
Compare
fca5d2b
to
156e68c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor nits if you want to update, but this is ready to go. Monitoring shows we should be ready for 2.0.0.
Unfortunately, deprecated_incompatible_legacy_waffle_class
is too new, so we don't have any old data to prove that it ever worked. It also doesn't have tests. However, if we assume it works as planned, then we are all set. I am getting data for deprecated_compatible_legacy_waffle_class
, so hopefully that is a good enough indicator.
156e68c
to
5efe207
Compare
We now expose the old namespace classes as LegacyWaffle*. This causes a breaking change of import path.
5efe207
to
d028d0b
Compare
@regisb: Any reason you didn't merge, or just because you needed to wait for green build? |
Sorry, I thought you would merge it! I'll make the release now. |
Description: Deprecate WaffleFlagNamespace and WaffleSwitchNamespace. All related features and methods are displaced to the WaffleFlag/WaffleSwitch classes.
JIRA: https://openedx.atlassian.net/wiki/spaces/COMM/pages/1596358943/BD-21+Toggles+Settings+Documentation
Reviewers:
Merge checklist:
Post merge:
finished.
This PR depends on #98