Skip to content

Commit 0360092

Browse files
Simplify deprecation instructions (#292)
1 parent b75b62b commit 0360092

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

building/tracks/deprecated-exercises.md

+6-12
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,16 @@ Deprecating an exercise has the following behaviors:
1111

1212
## Deprecating an exercise
1313

14-
To deprecate an exercise, only the exercise's `config.json` entry is changed.
15-
**All exercise files must remain untouched.**
16-
17-
Deprecated exercises must have the following properties set in their `config.json` entry:
14+
To deprecate an exercise, simply change its `config.json` entry as follows:
1815

19-
- **`uuid`**: unchanged from when it was active
20-
- **`slug`**: unchanged from when it was active
2116
- **`status`**: set to `"deprecated"`
17+
- **`prerequisites`**: set to `[]`
18+
- **`practices`**: set to `[]` (Practice Exercises only)
19+
- **`concepts`**: set to `[]` (Concept Exercises only)
2220

23-
The following properties should be changed to an empty array:
21+
**All other properties must remain the same.**
2422

25-
- `prerequisites`: set to `[]`
26-
- `practices`: set to `[]`
27-
- `concepts`: set to `[]`
28-
29-
All other fields in deprecated exercises can be safely changed or removed in accordance with the wider config rules.
23+
**All exercise files must remain untouched.**
3024

3125
[configlet]: /language-tracks/configuration/configlet.md
3226
[topics]: https://github.com/exercism/problem-specifications/blob/master/TOPICS.txt

0 commit comments

Comments
 (0)