Vridlo/types/Task

From ALT Linux Wiki
< Vridlo/types
Revision as of 01:34, 12 December 2019 by Majioa (talk | contribs) (Created page with "'''Task''' is read-only structure that represents Task model. It is described as: * '''slug''' is ''string '''mandatory write-once''''' Unique internal identifier of the fil...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Task is read-only structure that represents Task model. It is described as:

  • slug is string mandatory write-once
Unique internal identifier of the file representing by a string. Can contain only letters and underscores.
  • name is string optional
Name of the assembler.
  • host is string optional
Host URI of of the assembler.
  • export_path_base is string optional
Internal export path base. The path base can be appended to ftp path for the assembler, and prepended to specific arch suffix in order, to read the RPM packages.
  • source_path_count is string read-only
Count of held RPM source paths in the assembler.
   t.integer "no", null: false, comment: "Число задания сборочницы"
   t.string "uri", comment: "Ссылка на задание"
   t.string "state", comment: "Статус задания"
   t.boolean "shared", comment: "Разделяемое задание"
   t.boolean "test", comment: "Тестовое задание"
   t.integer "try", comment: "Попытка"
   t.integer "iteration", comment: "Шаг"
   t.string "owner_slug", null: false, comment: "Учётка владельца"
   t.bigint "branch_path_id", null: false, comment: "Ссылка на сборочный путь ветви"
   t.datetime "changed_at", null: false, comment: "Задание изменено в"