Vridlo/types/Repo: Difference between revisions

From ALT Linux Wiki
(Created page with "'''Repo''' is read-only structure that represents Repo model, which imply a repository to store RPM packages. It is described as: * '''slug''' is ''stri...")
 
No edit summary
 
Line 1: Line 1:
'''Repo''' is read-only structure that represents Repo model, which imply a repository to store [[Vridlo/types/Rpm|RPM]] packages. It is described as:
'''Repo''' is a '''''primary''''' structure that represents Repo model, which imply a repository to store [[Vridlo/types/Rpm|RPM]] packages. It is described as:


*  '''slug''' is ''string '''mandatory write-once'''''
*  '''slug''' is ''string '''mandatory write-once'''''
  Slug of the repository. Can contain only letters, digits, underscores, and dots. Is unique per system.
  Slug of the repository. Can contain only letters, digits, underscores, and dots. Is unique per system.
*  '''name''' is ''string '''mandatory'''''
*  '''name''' is ''string '''mandatory'''''
  Repository name. Is unique among the repos.
  Repository name. Is unique among the repos. Examples: ''sisyphus'', ''p8'', ''c8.1''
 
*  '''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.

Latest revision as of 13:47, 16 December 2019

Repo is a primary structure that represents Repo model, which imply a repository to store RPM packages. It is described as:

  • slug is string mandatory write-once
Slug of the repository. Can contain only letters, digits, underscores, and dots. Is unique per system.
  • name is string mandatory
Repository name. Is unique among the repos. Examples: sisyphus, p8, c8.1
  • relative_path is string optional
File path part relative from the assembler's path base for exporting of the source or built RPMs.