remote_dependency
Usage
remote_dependency: public_project {
url: "git://github.com/llooker/project.git"
ref: "07a20007b6876d349ccbcacccdc400f668fd8147f1"
}
Hierarchyremote_dependency |
Default ValueNoneAccepts
|
Definition
To use this parameter, the experimental Labs feature Project Import must be enabled. Experimental features are not fully developed and may be significantly changed or completely removed.
remote_dependency
specifies the name of an external Git repository containing a LookML project that has files that you want to use in this project. When importing files from another project, you must create a manifest file and specify a project with the remote_dependency
parameter. You can include multiple remote_dependency
statements in the manifest file to import multiple files or from multiple projects.
remote_dependency
has two subparameters:
url
, which specifies the address of the external Git repository. This is the main URL of the repository, replacing thehttps://
withgit://
.ref
, which specifies the SHA of a commit in the git repository. Typically this would be the most recent commit, but it is not required to be.
Example
In a manifest file, add the “Zendesk Block” Git repository as a source to import files from:
project_name: "thelook"
remote_dependency: {
url: "git://github.com/llooker/zendesk_block.git"
ref: "6a95679c92efa56243c17fb4d66c820cd4a8db03"
}