Vridlo/types/Rpm

Rpm is a primary structure that represents RPM file containment model. It is described as:

Unique slug of the RPM in revrb format, which includes epoch, version, release, buildtime of the RPM separated by "-" minus sign.
 * slug is string optional read-only

Slug name of the application, which the RPM belongs to. The application must exist.
 * app_slug is string mandatory write-once

Name of the rpm.
 * name is string mandatory write-once

Epoch number of the rpm build.
 * epoch is natural optional write-once

Version of the rpm build. Usually is is represented as a number.
 * version is string mandatory write-once

Release of the rpm build. Usually is is represented as a number.
 * release is string mandatory write-once

Architecture slug name of the rpm build. Must be presented in the system. It represents slug link to Arch structure.
 * arch_slug is string mandatory write-once

Rpm is built at time.
 * built_at is string mandatory write-once

Slug name of the RPM builder person, represents User structure, which is defined by the user's Recital record placed with the kind of login. SHA2 224 56-byted checksum over the RPM file containment. Can be used as unique file index.
 * builder_slug is string mandatory write-once
 * sha is string[56] mandatory read-only

Size of the rpm file.
 * size is string mandatory write-once

Slug of the source RPM. Must be presented and valid if arch is not src, or be blank if arch is src. The slug is in revrb format, which includes epoch, version, release, buildtime of the RPM separated by "-" minus sign.
 * src_slug is string optional write-once

RPM spec text binary.
 * spec is string mandatory write-only write-once

Count of descriptions that are provided to the Rpm record.
 * descriptions_count is positive mandatory read-only

Array of descriptions of the rpm, text of which is stored in encoding specified by cp field, and cpis autodetected or inferred from encoding RPM field. It represents Lorem structure.
 * descriptions is Lorem array optional write-only

File name of the rpm. Is used and appeared when is queried for the specified source path.
 * filename is string mandatory write-once conditional

Obsolete time of RPM, so when it is presented, file no more exists in the branch path. Appeared when is queried for the specified source path.
 * obsoleted_at is string optional conditional