Skip to content

Commit c3e6670

Browse files
committed
Redirect devcontainers-contrib to devcontainers-extra (microsoft/vscode-remote-release#11046)
1 parent f9e3acd commit c3e6670

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ Notable changes.
44

55
## June 2025
66

7+
### [0.79.0]
8+
- Redirect devcontainers-contrib to devcontainers-extra (https://github.com/microsoft/vscode-remote-release/issues/11046)
9+
710
### [0.78.0]
811
- Fix: Handle missing features (https://github.com/devcontainers/cli/pull/1040)
912

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@devcontainers/cli",
33
"description": "Dev Containers CLI",
4-
"version": "0.78.0",
4+
"version": "0.79.0",
55
"bin": {
66
"devcontainer": "devcontainer.js"
77
},

src/spec-configuration/containerCollectionsOCI.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,11 @@ export function getRef(output: Log, input: string): OCIRef | undefined {
203203

204204
const splitOnSlash = resource.split('/');
205205

206+
if (splitOnSlash[1] === 'devcontainers-contrib') {
207+
output.write(`Redirecting 'devcontainers-contrib' to 'devcontainers-extra'.`);
208+
splitOnSlash[1] = 'devcontainers-extra';
209+
}
210+
206211
const id = splitOnSlash[splitOnSlash.length - 1]; // Aka 'featureName' - Eg: 'ruby'
207212
const owner = splitOnSlash[1];
208213
const registry = splitOnSlash[0];

0 commit comments

Comments
 (0)