0004 Release Data in catalog-info.yaml#
Status#
Accepted
Context#
Currently we have 2 high-level metadata files that will live in every repo. The
openedx.yamlfile and thecatalog-info.yamlfile.The only information in
openedx.yamlthat is still useful and kept up-to-date is thereleasetag that tells you what repos are part of the twice-annual Open edX release.
Decision#
We will use metadata in the catalog-info.yaml file to determine whether or not a repository is going to be tagged for Open edX releases.
Specification#
The data will be housed in a new annotation by the name of openedx.org/release. Non-null values of this key will indicate the branch that should be tagged for releases. A null value will indicate that the repository should not be tagged and a missing value will indicate that no decision has been made about the given repository.
master branch should be tagged for new releases.#metadata:
annotations:
openedx.org/release: "master"
main branch should be tagged for new releases.#metadata:
annotations:
openedx.org/release: "main"
metadata:
annotations:
openedx.org/release: null
metadata:
annotations:
...
Consequences#
OEP-2: Repository Metadata will be marked as superseded as it contains no more useful data.
Tooling related to the release will need to be updated.
Useful release data in the current
openedx.yamlfiles will need to be migrated to the relevant catalog-info.yaml files.Any examples of
catalog-info.yamlwill need to be updated to include an example of the new annotation.