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 |
||
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 RPM. It is described as: | '''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 RPM. It is described as: | ||
* '''id''' is ''natural '''mandatory read-only internal''''' | * '''id''' is ''natural '''mandatory read-only internal''''' | ||
Unique internal identifier of the relation. | Unique internal identifier of the relation. | ||
* '''text''' is ''string '''mandatory write-once''''' | * '''text''' is ''string '''mandatory write-once''''' |
Revision as of 13:47, 10 December 2019
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 RPM. It is described as:
- id is natural mandatory read-only internal
Unique internal identifier of the relation.
- 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. 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.