11# The TEA Leaf Object (TLO)
22
3- _ Work in progress_
4-
53The TEA LEAF is the object that indicates a product version. The API should be
64very agnostic as to how a "version" is indicated - semver, vers, name, hash or anything else.
75
@@ -20,14 +18,15 @@ a timestamp for a release is required.
2018- __ Product name__ : A text field
2119- __ Product version__ : A text field, no required syntax
2220- __ Release date__ : A unix timestamp
23- - __ Pre-Release __ : A boolean flag indicating a pre-release (beta, rc)
21+ - __ Pre-release __ : A boolean flag indicating a pre-release (beta, rc)
2422- __ Tco_uuid__ : A reference to the TEA Collection objet for this release
2523
2624## Handling the Pre-Release flag
2725
28- The Pre-Release flag is used to indicate that this is not a final release. For a given Leaf with a UUID, the flag
29- can be set to indicate a "test", "beta", "alfa" or similar non-deployed release. It can only be set when
30- creating the LEAF. The TEA implementation may allow it to be unset (False) once. This is to support
26+ The "Pre-release" flag is used to indicate that this is not a final release.
27+ For a given Leaf with a UUID, the flag can be set to indicate a "test", "beta", "alpha"
28+ or similar non-deployed release. It can only be set when creating the LEAF. The TEA implementation
29+ may allow it to be unset (False) once. This is to support
3130situations where a object is promoted as is after testing to production version. The flag can not
3231be set after initial creation and publication of the leaf.
3332
@@ -36,4 +35,5 @@ a new leaf with a new UUID and version needs to be created.
3635
3736## References
3837
39- - Semantic versioning (Semver): < https://semver.org >
38+ - Semantic versioning (Semver): < https://semver.org >
39+ - PURL VERS < https://github.com/package-url/purl-spec/blob/master/VERSION-RANGE-SPEC.rst >
0 commit comments