Skip to content
codespace-features/external-repository / sha256:42c21c79496e3df44ddccc9f485fadc17dbd9383cea85a1d3f0101ece113a260

4.0.0

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

Loading

Manifest

{
  "digest": "sha256:42c21c79496e3df44ddccc9f485fadc17dbd9383cea85a1d3f0101ece113a260",
  "mediaType": "application/vnd.oci.image.manifest.v1+json",
  "size": 2990,
  "config": {
    "digest": "sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a",
    "mediaType": "application/vnd.devcontainers",
    "size": 2
  },
  "layers": [
    {
      "digest": "sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a",
      "mediaType": "application/vnd.oci.empty.v1+json",
      "size": 2
    },
    {
      "digest": "sha256:5e4e304701e6e2a19888f2fe0d427e68a92f7b085ec080ec4b06202c8527744c",
      "mediaType": "application/vnd.devcontainers.layer.v1+tar",
      "size": 52224
    }
  ],
  "labels": {
    "dev.containers.metadata": "{\"name\":\"External Git Repository in Codespace\",\"id\":\"external-repository\",\"version\":\"4.0.0\",\"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\"},\"clientID\":{\"type\":\"string\",\"default\":\"\",\"description\":\"Azure Client ID for OIDC token acquisition during prebuild\"},\"tenantID\":{\"type\":\"string\",\"default\":\"\",\"description\":\"Azure Tenant ID for OIDC token acquisition during prebuild\"}},\"installsAfter\":[\"ghcr.io/devcontainers/features/common-utils\",\"ghcr.io/devcontainers/features/azure-cli\"],\"customizations\":{\"vscode\":{\"extensions\":[\"ms-codespaces-tools.ado-codespaces-auth\"]}}}",
    "com.github.package.type": "devcontainer_feature"
  }
}

Download activity

  • Total downloads 6,913
  • Last 30 days 2,434
  • Last week 581
  • Today 113

Other tags on this version