Vridlo/types/Exercise

From ALT Linux Wiki
< Vridlo/types
Revision as of 12:54, 12 December 2019 by Majioa (talk | contribs)

Exercise is a structure that represents Exercise model, which is used for describing a subtask of the Assembler's task. It is described as:

  • id is natural mandatory read-only internal
Unique internal identifier of the subtask represented by a natural integer.
  • no is natural mandatory write-once
Number of subtask in the task. Is unique per task in the context of the current assembler.
  • kind is string mandatory write-once
Kind of the subtask.
  • app_slug is string mandatory write-once
Unique name of the application, which the RPM belongs to.
  • committer_slug is string mandatory write-once
The subtask committer slug in the context of the current assembler.
  • task_no is natural mandatory write-once
Task identifier in the context of the current assembler.
  • resource is string optional write-once
Name of the source build or resource for the task.
  • sha is string[56] mandatory write-once
SHA2 224 56-byted checksum over the RPM file containment.
  • approver_slugs is string array optional
Array of the subtask approver slugs in the context of the current assembler.