Skip to content

Commit aa00678

Browse files
committed
Introduce ability to prune old content from spec YAML
resolves #921 Signed-off-by: Matthias Büchse <[email protected]>
1 parent d99c13e commit aa00678

File tree

3 files changed

+23
-0
lines changed

3 files changed

+23
-0
lines changed

Standards/scs-0003-v1-sovereign-cloud-standards-yaml.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,23 @@ Each pull request is to be voted upon in the corresponding team meeting. The vot
318318
on the pull request only, i.e., it may not affect any other pull request or issue, and it
319319
must be announced 14 days in advance via the corresponding mailing list.
320320

321+
We permit one exception to the preceding rules: for the sake of maintainability of the codebase,
322+
the whole YAML file may be pruned of outdated content as follows:
323+
324+
- It is permissible to delete timeline entries that have not been valid for at least 6 months.
325+
If one such entry is deleted, all (chronologically) preceding entries should be deleted as well.
326+
- It is permissible to perform "garbage collection", i.e., to delete any
327+
328+
- version no longer referenced by any timeline entry,
329+
- module no longer referenced by any version,
330+
- code path (e.g., command-line switches) no longer utilized by any check descriptor.
331+
332+
Naturally, if the desire arises to purview the pruned content again,
333+
it can be retrieved from the git history of the file in question by viewing its `git log`.
334+
It is recommended to also add a comment about the editorial change to the top of the file so
335+
that this change also appears with `git annotate` (which might otherwise not be the case if
336+
lines are merely deleted and none added or changed).
337+
321338
## Design Considerations
322339

323340
### File format

Tests/scs-compatible-iaas.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# -- informal edit log --
2+
# whenever old content is removed as per scs-0003-v1, add a line of the form
3+
# - YYYY-MM-DD pruned old content; affected versions: vN, ...
14
name: SCS-compatible IaaS
25
uuid: 50393e6f-2ae1-4c5c-a62c-3b75f2abef3f
36
url: https://raw.githubusercontent.com/SovereignCloudStack/standards/main/Tests/scs-compatible-iaas.yaml

Tests/scs-compatible-kaas.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# -- informal edit log --
2+
# whenever old content is removed as per scs-0003-v1, add a line of the form
3+
# - YYYY-MM-DD pruned old content; affected versions: vN, ...
14
name: SCS-compatible KaaS
25
uuid: 1fffebe6-fd4b-44d3-a36c-fc58b4bb0180
36
url: https://raw.githubusercontent.com/SovereignCloudStack/standards/main/Tests/scs-compatible-kaas.yaml

0 commit comments

Comments
 (0)