Disable the addon curation until we're ready#368
Conversation
for more information, see https://pre-commit.ci
There was a problem hiding this comment.
Pull request overview
Disables addon curation gating while the curation feature is not ready, ensuring all catalog entries pass the “approved” filter.
Changes:
- Alters the approval condition to always include entries (effectively disabling curated-only filtering).
- Adds an inline comment indicating the curation feature is temporarily disabled.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| if ( | ||
| entry.curated or True | ||
| ): # Disable curation until we are ready with the feature |
There was a problem hiding this comment.
entry.curated or True is always true, making the condition misleading and easy to forget to remove later. Prefer an explicit feature flag/config (e.g., ENABLE_CURATION = False or an injected setting) with a clear conditional like if not ENABLE_CURATION or entry.curated:; alternatively, if the intent is unconditional approval, remove the if entirely and append directly with a comment explaining the temporary behavior.
|
Successfully created backport PR for |
No description provided.