Vridlo/types/Exercise: Difference between revisions

From ALT Linux Wiki
No edit summary
No edit summary
Line 1: Line 1:
'''Exercise''' is a structure that represents Exercise model, which is used for describing a subtask of the [[Vridlo/types/Assembler|Assembler]]'s [[Vridlo/types/Task|task]]. It is described as:
'''Exercise''' is a '''''secondary''''' structure that represents Exercise model, which is used for describing a subtask of the [[Vridlo/types/Assembler|Assembler]]'s [[Vridlo/types/Task|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'''''
* '''no''' is ''natural '''mandatory write-once'''''

Revision as of 21:46, 13 December 2019

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

  • 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.