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
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'''''
*  '''name''' is ''string '''mandatory'''''
  Architecture name. Is unique among the architectures.
  Architecture name. Is unique among the architectures. Examples: ''i586'', ''aarch64''.
 
*  '''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.

Revision as of 16:48, 16 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.
  • name is string mandatory
Architecture name. Is unique among the architectures. Examples: i586, aarch64.
  • relative_path is string optional
File path part relative from the assembler's path base for exporting of the source or built RPMs.