Skip to content
codespace-features/external-repository / sha256:2c8b086a6914c4f4fdb48c3c9d2c0a05398a54d70ff55b8f0cb57eb89a0c5d13

3.0.2

sha256:2c8b086a6914c4f4fdb48c3c9d2c0a05398a54d70ff55b8f0cb57eb89a0c5d13
Add to your devcontainer.json
Learn more about Dev Container Features
"features": {
    "ghcr.io/microsoft/codespace-features/external-repository:3.0.2": {}
}

Loading

Manifest

{
  "digest": "sha256:2c8b086a6914c4f4fdb48c3c9d2c0a05398a54d70ff55b8f0cb57eb89a0c5d13",
  "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:0ea5ad76fda02d72fd09b78cfed49298f70c66c0c21b47cf85ee7d0dacbf9e49",
      "mediaType": "application/vnd.devcontainers.layer.v1+tar",
      "size": 45056
    }
  ],
  "labels": {
    "dev.containers.metadata": "{\"name\":\"External Git Repository in Codespace\",\"id\":\"external-repository\",\"version\":\"3.0.2\",\"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"
  }
}

Download activity

  • Total downloads 10,896
  • Last 30 days 2
  • Last week 1
  • Today 0

Other tags on this version