codespace-features/external-repository
/
sha256:bf57d610194426c35dbc551f168c75587f75291956ecb6e7a9d02a45ca35aae3
3.0
sha256:bf57d610194426c35dbc551f168c75587f75291956ecb6e7a9d02a45ca35aae3
Add to your devcontainer.json
Learn more about Dev Container Features
"features": {
"ghcr.io/microsoft/codespace-features/external-repository:3.0": {}
}
Loading
Sorry, something went wrong.
Manifest
{
"digest": "sha256:bf57d610194426c35dbc551f168c75587f75291956ecb6e7a9d02a45ca35aae3",
"mediaType": "application/vnd.oci.image.manifest.v1+json",
"size": 2683,
"config": {
"digest": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"mediaType": "application/vnd.devcontainers",
"size": 0
},
"layers": [
{
"digest": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"mediaType": "application/vnd.oci.image.layer.v1.tar",
"size": 0
},
{
"digest": "sha256:1435893e1ca08044697dad59f90faa6eb1de9c98f2d9ece9abcf9818f9eb67d5",
"mediaType": "application/vnd.devcontainers.layer.v1+tar",
"size": 46592
}
],
"labels": {
"dev.containers.metadata": "{\"name\":\"External Git Repository in Codespace\",\"id\":\"external-repository\",\"version\":\"3.0.3\",\"description\":\"Configures Codespace to work with an external Git repository\",\"options\":{\"gitProvider\":{\"type\":\"string\",\"enum\":[\"azuredevops\",\"other\"],\"default\":\"azuredevops\",\"description\":\"Git Provider\"},\"cloneUrl\":{\"type\":\"string\",\"default\":\"\",\"description\":\"Clone URL without username: https://dev.azure.com/{organization}/{project}/_git/{repository}. Separate multiple URLs with comma.\"},\"folder\":{\"type\":\"string\",\"default\":\"/workspaces/external-repos\",\"description\":\"Specify the workspace path in the devcontainer for the clone\"},\"username\":{\"type\":\"string\",\"default\":\"codespaces\",\"description\":\"Username for clone (if required)\"},\"cloneSecret\":{\"type\":\"string\",\"default\":\"\",\"description\":\"Name of the Codespaces repository secret that contains the token or password for clone. Example: ADO_PAT\"},\"userSecret\":{\"type\":\"string\",\"default\":\"\",\"description\":\"Name of the Codespaces user secret that contains the token or password for Codespace user\"},\"scalar\":{\"type\":\"boolean\",\"default\":false,\"description\":\"Use Scalar to clone the repository\"},\"sparseCheckout\":{\"type\":\"string\",\"default\":\"\",\"description\":\"Sparse checkout paths when using scalar. Example: common projecta/src projectb/src\"},\"options\":{\"type\":\"string\",\"default\":\"\",\"description\":\"Additional options for the clone operation: --depth 1 --single-branch --no-tags\"},\"branch\":{\"type\":\"string\",\"default\":\"main\",\"description\":\"Default branch\"},\"timeout\":{\"type\":\"string\",\"default\":\"30m\",\"description\":\"Timeout for the clone operation\"},\"telemetrySource\":{\"type\":\"string\",\"enum\":[\"none\",\"message\",\"name\",\"email\"],\"default\":\"none\",\"description\":\"Configure source of Git commit telemetry\"}},\"installsAfter\":[\"ghcr.io/devcontainers/features/common-utils\"],\"customizations\":{\"vscode\":{\"extensions\":[\"ms-codespaces-tools.ado-codespaces-auth\"]}}}",
"com.github.package.type": "devcontainer_feature"
}
}
Details
Download activity
- Total downloads 9,478
- Last 30 days 8
- Last week 2
- Today 0