-
Notifications
You must be signed in to change notification settings - Fork 0
Supported VCS Types
The following site types are supported:
When defining a CVS site, users can typically add the CVSROOT value followed by the module to be checked out:
fetchdep:
- name: my-awesome-lib
site: :pserver:[email protected]:/cvsroot/my-awesome-lib my-awesome-lib
The existence of a prefixed :pserver: will be used by this utility to identify a CVS site. This utility also supports :ext:, :extssh:, :gserver: and :kserver:. Users may also prefix a site value with cvs+ to explicitly indicate the site is a CVS type:
fetchdep:
- name: my-awesome-lib
site: cvs+:pserver:[email protected]:/cvsroot/my-awesome-lib my-awesome-lib
When defining a Git site, users can typically place the Git clone URL into a dependency's site value:
fetchdep:
- name: my-awesome-lib
site: [email protected]:my-awesome-name/my-awesome-lib.git
The existence of a trailing .git will be used by this utility to identify a Git site. Users may also prefix a site value with git+ to explicitly indicate the site is a Git type:
fetchdep:
- name: my-awesome-lib
site: [email protected]:my-awesome-name/my-awesome-lib.git
When defining a Mercurial site, the site value should be prefixed with hg+ followed by the clone URL of the dependency:
fetchdep:
- name: my-awesome-lib
site: hg+https://www.example.org/repo/my-awesome-lib
When defining an SVN site, the site value should be prefixed with svn+ followed by the clone URL of the dependency:
fetchdep:
- name: my-awesome-lib
site: svn+https://svn.code.example.com/c/myteam/my-module-d/trunk
This path should define the trunk or default branch for the project.