-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Migrate user-facing feature flags into the product #9290
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
Comments
Note that this is causing issues like #9306
For internal usage, we are now saving this into |
I'm removing these because we don't want users ask for them to use in their projects. All of the ones removed can be achieved by using `build.jobs.*` config. Closes #9290
I'm re-opening this issue because we want to migrate users off from them. This could include sending them an email with the instructions and date or opening PRs on their repositories. |
Yep, we have some good conversation about this here: #9377 |
We've done a lot of work on #9779 to remove old/deprecate feature flags. We still have some of them in our code base, but they are there for different reasons. Exposed to the users
Require migration pathThere is a nice table at #9779 (comment) that we can use to continue the conversation of these feature flag that require some work together with the users (e.g. onsite/email notifications, open PRs on their repositories, etc) |
Yea, I'd like to get rid of the |
Yeah. Failing the build is the easiest and also it's going to be pretty clear to users what the problem is. I doubt there are valid projects serving proper documentation without an |
Is this fully done, or did it get auto-closed? 🤔 |
I think this is done already. We are using #9779 to track the deprecation emails and more. I think it's fine to close this issue at this point. |
I'm creating an issue from an old Trello card that we have, so we can prioritize this work easily.
Taking a look at https://docs.readthedocs.io/en/stable/feature-flags.html#feature-flags, there are still some feature flags that we can migrate/remove:
PIP_ALWAYS_UPGRADE
: this can be replaced bybuild.jobs.post_create_environment: pip install -U pip
UPDATE_CONDA_STARTUP
: replaced bybuild.jobs.pre_create_environment: conda install conda
CONDA_APPEND_CORE_REQUIREMENTS
: I'm not sure there is an easy way to replace this, but we could suggest a bashy solution maybe?DONT_OVERWRITE_SPHINX_CONTEXT
: this one does not seem to be replaceable eitherLIST_PACKAGES_INSTALLED_ENV
: this can be done now viabuild.jobs.pre_build: pip freeze
I think we could add these examples to FAQs (or even the "Build customization" page) and remove them from the page linked.
The text was updated successfully, but these errors were encountered: