Vridlo/types/Relation: Difference between revisions
(Created page with "'''Relation''' is a structure that represents Relation model. The model implies the relations between packages, including the build or install requires, provides, obsoletes of...") |
No edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
'''Relation''' is a structure that represents Relation model. The model implies the relations between packages, including the build or install requires, provides, obsoletes of the specific package | '''Relation''' is a '''''secondary''''' structure that represents Relation model. The model implies the relations between packages, including the build or install requires, provides, obsoletes of the specific [[Vridlo/types/Rpm|RPM]] package. It is described as: | ||
* '''text''' is ''string '''mandatory write-once''''' | * '''text''' is ''string '''mandatory write-once''''' | ||
The text of the relation itself. | The text of the relation itself. | ||
* '''kind''' is ''string '''mandatory write-once''''' | * '''kind''' is ''string '''mandatory write-once''''' | ||
The kind of the relation, can be one of ''require'', ''prerequire'', ''provide'', ''obsolete''. ''prerequire'' is available only for source RPMs, and ''provide'', ''obsolete'' only for built RPMs. | The kind of the relation, can be one of ''require'', ''prerequire'', ''provide'', ''obsolete''. The ''prerequire'' is available only for source RPMs, and ''provide'', ''obsolete'' only for built RPMs. | ||
* '''rpm_slug''' is ''natural '''mandatory write-once''''' | |||
Slug of the RPM, which the relation belongs to. | * '''rpm_slug''' is ''natural '''mandatory write-once floating''''' | ||
Slug of the [[Vridlo/types/Rpm|RPM]], which the relation belongs to. |
Latest revision as of 18:35, 24 December 2019
Relation is a secondary structure that represents Relation model. The model implies the relations between packages, including the build or install requires, provides, obsoletes of the specific RPM package. It is described as:
- text is string mandatory write-once
The text of the relation itself.
- kind is string mandatory write-once
The kind of the relation, can be one of require, prerequire, provide, obsolete. The prerequire is available only for source RPMs, and provide, obsolete only for built RPMs.
- rpm_slug is natural mandatory write-once floating
Slug of the RPM, which the relation belongs to.