Skip to content

Commit cc204ef

Browse files
author
Allen Bai
committed
release-notes.d: cleanup README and add an example for intermediate notes
Signed-off-by: Allen Bai <[email protected]>
1 parent 978608f commit cc204ef

File tree

1 file changed

+32
-13
lines changed

1 file changed

+32
-13
lines changed

release-notes.d/README

+32-13
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,8 @@
11
# Fedora CoreOS Release Note
22

3-
This directory stores the Fedora CoreOS release note yaml snippets which will be picked up by
4-
`fedora-coreos-releng-automation/coreos-release-note-generator` [1] script to produce the final
5-
`release-notes.yaml` for a release. After `release-notes.yaml` has been generated / updated,
6-
all snippets under `release-notes.d` are expected to be cleaned up for future release notes.
3+
This directory stores the Fedora CoreOS release note yaml snippets which will be picked up by `fedora-coreos-releng-automation/coreos-release-note-generator` [1] script to produce an intermediate `release-notes.yaml` which contains a `next-release` field. Then the intermediate yaml file would be updated to reflect the actual build ID for a release. After `release-notes.yaml` has been generated and updated, snippets under `release-notes.d` are expected to be cleaned up for future release notes.
74

8-
Release notes will be organized according to the origin of the change, i.e. the project name.
9-
Other miscellaneous changes will be stored under `miscellaneous`. Therefore, the schema
10-
of each yaml snippet is designed as follows:
5+
Release notes will be organized according to the origin of the change, i.e. the project name. Otherwise miscellaneous changes will be stored under `miscellaneous`. Therefore, the schema of each yaml snippet is designed as follows:
116

127
```yaml
138
# Each yaml file consists of a list of dictionaries which looks like this
@@ -16,14 +11,38 @@ of each yaml snippet is designed as follows:
1611
body (optional): xxxxx
1712
```
1813

19-
The final rendered version is expected to be:
14+
An example intermediate `release-notes.yaml` generated from `release-notes.d` is expected to be:
15+
```
16+
- next-release:
17+
coreos-assembler:
18+
- subject: add a new sub-command that automates xxx (details)
19+
- subject: fix a bug that result in https://github.com/coreos/fedora-coreos-tracker/issues/xxx
20+
miscellaneous:
21+
- subject: introduce a new config file to facilitate xxx workflow (details)
22+
body: the config file as described in https://github.com/coreos/fedora-coreos-tracker/issues/xxx helps users to monitor xxx
23+
- 32.20200706.3.0:
24+
afterburn:
25+
- subject: add support for platform xxx
26+
- 32.20200620.1.0:
27+
ignition:
28+
- subject: fix a minor issue https://github.com/coreos/fedora-coreos-tracker/issues/xxx
29+
```
2030

31+
The final `release-notes.yaml` is expected to be:
2132
```
22-
32.20200715.3.0:
23-
- coreos-assembler:
24-
add a new sub-command that automates xxx (details)
25-
- miscellaneous:
26-
introduce a new config file to facilitate xxx workflow (details)
33+
- 32.20200715.3.0:
34+
coreos-assembler:
35+
- subject: add a new sub-command that automates xxx (details)
36+
- subject: fix a bug that result in https://github.com/coreos/fedora-coreos-tracker/issues/xxx
37+
miscellaneous:
38+
- subject: introduce a new config file to facilitate xxx workflow (details)
39+
body: the config file as described in https://github.com/coreos/fedora-coreos-tracker/issues/xxx helps users to monitor xxx
40+
- 32.20200706.3.0:
41+
afterburn:
42+
- subject: add support for platform xxx
43+
- 32.20200620.1.0:
44+
ignition:
45+
- subject: fix a minor issue https://github.com/coreos/fedora-coreos-tracker/issues/xxx
2746
```
2847

2948
_Note_: Clicking on the `details` button will show the body of the release note item.

0 commit comments

Comments
 (0)