Vridlo/types/Arch: Difference between revisions

From ALT Linux Wiki
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
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 architecture. It can include the only title kind texts.
 
* '''apps_count''' is ''positive '''mandatory read-only'''''
[[Vridlo/types/App|Application]] count built for the architecture, excluding the noarch.

Latest revision as of 13:38, 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 architecture. It can include the only title kind texts.
  • apps_count is positive mandatory read-only
Application count built for the architecture, excluding the noarch.