Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| deprecationchecklist [2019/11/22 19:16] – WarnerLosh | deprecationchecklist [2020/02/06 16:52] (current) – WarnerLosh | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| There' | There' | ||
| + | |||
| + | It currently draws too much from the experience of removing obsolete hardware drivers, and should be recast based on the gcc experience, especially for the long process. | ||
| ===== Long Process ===== | ===== Long Process ===== | ||
| Line 10: | Line 12: | ||
| An email to arch@ is usually the first place to start. In this email, spell out the proposal. Spell out both the criteria used to deprecate, as well as the specific components to be removed. If the removal is because the components haven' | An email to arch@ is usually the first place to start. In this email, spell out the proposal. Spell out both the criteria used to deprecate, as well as the specific components to be removed. If the removal is because the components haven' | ||
| + | |||
| + | In the past, the project' | ||
| ===== Short Process ===== | ===== Short Process ===== | ||
| Line 18: | Line 22: | ||
| If there' | If there' | ||
| + | |||
| + | ===== Broken code ===== | ||
| + | |||
| + | If the code has been broken, and disconnected from the build for a long time (eg, a major release or three), it can usually just be removed w/o notice. | ||
| ===== How To Deprecate ===== | ===== How To Deprecate ===== | ||
| Once you've decided it's time to remove, follow the following steps | Once you've decided it's time to remove, follow the following steps | ||
| - | - Add a notice to the man page. After the SYNOPSIS section, add a new DEPRECATION NOTICE that reads something like "This driver is scheduled for removal prior to the release of %%FreeBSD%% | + | - Add a notice to the man page. After the SYNOPSIS section, add a new DEPRECATION NOTICE that reads something like "The .nm driver is not present in .Fx 13.0." |
| - Add a gone_in(13, " | - Add a gone_in(13, " | ||
| - Make the commit of the above with the Relnotes: yes tag in the commit message. | - Make the commit of the above with the Relnotes: yes tag in the commit message. | ||
| Line 29: | Line 37: | ||
| - Wait a while (suggested minimum is a week), especially if there' | - Wait a while (suggested minimum is a week), especially if there' | ||
| - svn rm the code and all associated support files and programs. | - svn rm the code and all associated support files and programs. | ||
| + | |||
| + | This should be expanded and moved into the handbook. | ||
| ===== Notes ===== | ===== Notes ===== | ||