Vridlo/types/SourcePath: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
'''SourcePath''' is | '''SourcePath''' is a '''''primary''''' structure that represents Source Path model. It is described as: | ||
* '''slug''' is ''string '''mandatory write-once''''' | * '''slug''' is ''string '''mandatory write-once''''' | ||
Slug of the source path. Can contain only letters and underscores. Is unique per system. | Slug of the source path. Can contain only letters and underscores. Is unique per system. | ||
* '''arch_slug''' is ''string '''mandatory write-once''''' | * '''arch_slug''' is ''string '''mandatory write-once''''' | ||
Slug of the arch. Represents the valid [[Vridlo/types/Arch|arch]] among the all arches. | Slug of the arch. Represents the valid [[Vridlo/types/Arch|arch]] among the all arches. | ||
* '''name''' is ''string '''mandatory''''' | * '''name''' is ''string '''mandatory''''' | ||
Source path name. Is unique among the branch paths. | Source path name. Is unique among the branch paths. | ||
* '''repo_slug''' is ''string '''mandatory''''' | * '''repo_slug''' is ''string '''mandatory''''' | ||
Slug of the repo. Represents the valid [[Vridlo/types/Repo|repo]] by its slugs. | Slug of the repo. Represents the valid [[Vridlo/types/Repo|repo]] by its slugs. | ||
* '''assembler_slug''' is ''string '''optional''''' | * '''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 [[Vridlo/types/Assembler|assembler]] by its slugs if presented. | Assembler slug, which the source path belongs to. Can be blank, in case when the path is the standalone path. Represents the valid [[Vridlo/types/Assembler|assembler]] by its slugs if presented. | ||
* '''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 16:44, 16 December 2019
SourcePath is a primary 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.
- arch_slug is string mandatory write-once
Slug of the arch. Represents the valid arch among the all arches.
- name is string mandatory
Source path name. Is unique among the branch paths.
- repo_slug is string mandatory
Slug of the repo. Represents the valid repo by its slugs.
- 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.