Vridlo/types/Arch: Difference between revisions

From ALT Linux Wiki
No edit summary
No edit summary
Line 1: Line 1:
'''Arch''' is a '''''primary''''' structure that represents Arch model, which implies architecture for [[Vridlo/types/Builder|builders]] and [[Vridlo/types/Rpm|RPMs]]. It is described as:
'''Arch''' is a '''''primary''''' structure that represents Arch model, which implies architecture for [[Vridlo/types/Builder|builders]] and [[Vridlo/types/Rpm|RPMs]]. It is described as:


* '''slug''' is ''string '''mandatory write-once'''''
* '''slug''' is ''string '''mandatory write-once'''''
  Slug of the RPM architecture. Can contain only letters, digits and underscores. Is unique per system.
  Slug of the RPM architecture. Can contain only letters, digits and underscores. Is unique per system.


* '''name''' is ''string '''mandatory'''''
* '''relative_path''' is ''string '''optional'''''
  Architecture name. Is unique among the architectures. Examples: ''i586'', ''aarch64''.
  File path part relative from the assembler's path base for exporting of the source or built RPMs.


* '''relative_path''' is ''string '''optional'''''
* '''names''' is ''[[Vridlo/types/Name|Name]] array '''mandatory'''''
  File path part relative from the assembler's path base for exporting of the source or built RPMs.
  Name array for the account. It can include first name, last name, nickname, or title.

Revision as of 13:15, 27 December 2019

Arch is a primary structure that represents Arch model, which implies architecture for builders and RPMs. It is described as:

  • slug is string mandatory write-once
Slug of the RPM architecture. Can contain only letters, digits and underscores. Is unique per system.
  • relative_path is string optional
File path part relative from the assembler's path base for exporting of the source or built RPMs.
  • names is Name array mandatory
Name array for the account. It can include first name, last name, nickname, or title.