Vridlo/types/Arch: Difference between revisions

From ALT Linux Wiki
(Created page with "'''Arch''' is read-only structure that represents Arch model, which implies architecture for builders and RPMs. It is described a...")
 
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
'''Arch''' is read-only 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'''''
 
Architecture name. Is unique among the architectures.
* '''relative_path''' is ''string '''optional'''''
* '''relative_path''' is ''string '''optional'''''
  File path part relative from the assembler's path base for exporting of the source or built RPMs.
  File path part relative from the assembler's path base for exporting of the source or built RPMs.
* '''names''' is ''[[Vridlo/types/Name|Name]] array '''mandatory'''''
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.