Vridlo/types/Vcs: Difference between revisions

From ALT Linux Wiki
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
'''Vcs''' is structure that represents a version control system (VCS) repository, where an RPM has been building from, or stored in, and it is described as:
'''Vcs''' is a '''''primary''''' structure that represents a version control system (VCS) repository, where an RPM has been building from, or stored in, and it is described as:


* '''name''' is ''string '''mandatory write-once'''''
* '''name''' is ''string '''mandatory write-once'''''
Line 8: Line 8:


* '''uri''' is ''string '''mandatory write-once'''''
* '''uri''' is ''string '''mandatory write-once'''''
  Unique URI of the repository, must begins with ''git'', or ''https''.
  Unique URI of the repository, must begins with ''git'', or ''https''. This can be used as key to bind it to [[Vridlo/types/Ref|Ref]].


* '''changed_at''' is ''datetime '''mandatory'''''
* '''changed_at''' is ''datetime '''mandatory'''''

Latest revision as of 15:16, 13 December 2019

Vcs is a primary structure that represents a version control system (VCS) repository, where an RPM has been building from, or stored in, and it is described as:

  • name is string mandatory write-once
Name of the VCS repository.
  • kind is string mandatory write-once
Type of the VCS repository, can one of gear, srpm, origin.
  • uri is string mandatory write-once
Unique URI of the repository, must begins with git, or https. This can be used as key to bind it to Ref.
  • changed_at is datetime mandatory
Datetime of the last change at the repository.
  • tags is string array mandatory
VCS tag array.
  • holder_email is string optional
Email of the VCS holder if any.