Vridlo/types/SourcePath

From ALT Linux Wiki
< Vridlo/types
Revision as of 22:39, 4 December 2019 by Majioa (talk | contribs) (Created page with "'''SourcePath''' is read-only structure that represents Source Path model. It is described as: * '''slug''' is ''string '''mandatory write-once''''' Slug of the source path...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

SourcePath is read-only structure that represents Source Path model. It is described as:

  • slug is string mandatory write-once
Slug of the source path. Can contain only letters and underscores. Is unique per system.
  • name is string mandatory
Source path name. Is unique among the branch paths.
  • arch is string mandatory
Name of the arch. Represents the valid arch among the all arches.
  • repo_slug is string mandatory
Slug of the repo. Represents the valid repo by its slugs if presented.
  • assembler_slug is string optional
Assembler slug, which the source path belongs to. Can be blank, in case when the path is the standalone path. Represents the valid  assembler by its slugs if presented.
  • relative_path is string optional
File path part relative from the assembler's path base for exporting of the source or built RPMs.