-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deprecation: notification and feature flag for
build.image
config
Define a weekly task to communicate our users about the deprecation of `build.image` using the deprecation plan we used for the configuration file v2 as well. - 3 brownout days - final removal date on October 2nd - weekly onsite/email notification on Wednesday at 11:15 CEST (around ~22k projects affected) - allow to opt-out from these emails - feature flag for brownout days - build detail's page notification Related: * readthedocs/meta#48 * #10354 * #10587
- Loading branch information
Showing
12 changed files
with
294 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
readthedocs/core/migrations/0014_optout_email_build_image_deprecation.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# Generated by Django 3.2.20 on 2023-08-01 13:21 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("core", "0013_add_optout_email_config_file_deprecation"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="historicaluserprofile", | ||
name="optout_email_build_image_deprecation", | ||
field=models.BooleanField( | ||
default=False, | ||
null=True, | ||
verbose_name="Opt-out from email about '\"build.image\" config key deprecation'", | ||
), | ||
), | ||
migrations.AddField( | ||
model_name="userprofile", | ||
name="optout_email_build_image_deprecation", | ||
field=models.BooleanField( | ||
default=False, | ||
null=True, | ||
verbose_name="Opt-out from email about '\"build.image\" config key deprecation'", | ||
), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
readthedocs/templates/projects/notifications/deprecated_build_image_used_email.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{# TODO: copy the text from the TXT version once we agree on its content #} |
31 changes: 31 additions & 0 deletions
31
readthedocs/templates/projects/notifications/deprecated_build_image_used_email.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{% extends "core/email/common.txt" %} | ||
{% block content %} | ||
The Read the Docs build system is deprecating "build.image" config key on ".readthedocs.yaml" starting on October 16, 2023. | ||
We are sending weekly notifications about this issue to all impacted users, | ||
as well as temporary build failures (brownouts) as the date approaches for those who haven't migrated their projects. | ||
|
||
The timeline for this deprecation is as follows: | ||
|
||
* Monday, August 28, 2023: Do the first brownout (temporarily enforce this deprecation) for 12 hours: 00:01 PST to 11:59 PST (noon) | ||
* Monday, September 18, 2023: Do a second brownout (temporarily enforce this deprecation) for 24 hours: 00:01 PST to 23:59 PST (midnight) | ||
* Monday, October 2, 2023: Do a third and final brownout (temporarily enforce this deprecation) for 48 hours: 00:01 PST to October 3, 2023 23:59 PST (midnight) | ||
* Monday, October 16, 2023: Fully remove support for building documentation using "build.image" on the configuration file | ||
|
||
We have identified that the following projects which you maintain, and were built in the last year, are impacted by this deprecation: | ||
|
||
{% for project in projects|slice:":15" %} | ||
* {{ project.slug }} ({{ production_uri }}{{ project.get_absolute_url }}) | ||
{% endfor %} | ||
{% if projects.count > 15 %} | ||
* ... and {{ projects.count|add:"-15" }} more projects. | ||
{% endif %} | ||
|
||
Please use "build.os" on your configuration file to ensure that they continue building successfully and to stop receiving these notifications. | ||
If you want to opt-out from these emails, you can edit your preferences in your account settings, at https://readthedocs.org/accounts/edit/. | ||
|
||
For more information on how to use "build.os", | ||
read our blog post at https://blog.readthedocs.com/build-image-config-deprecated/ | ||
|
||
Get in touch with us via our support ({{ production_uri }}{% url 'support' %}) | ||
and let us know if you are unable to use a configuration file for any reason. | ||
{% endblock %} |