Replies: 1 comment 3 replies
-
|
Hi 👋 Thanks for the detailed question.
Are you looking for a command which outputs the available (current/latest) versions for the Feature (ie If so, then we already have a
@Roemer Would that help? Let me know if I am misunderstanding anything. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
-
I have a bit of a hard time understanding how auto-updating especially for the features in a
devcontainer.jsoncan work.The main issue I have is that a feature itself has a version but the things that are installed by the feature can also have one or more version numbers.
As a simple example the
gofeature has a version number (1.3.0 currently) but the installed go version (which can also be specified by theversionproperty) is independent of the features version number.So if I have for example:
I would want it to update the
versionof go to 1.22.0.It gets even more complicated when looking at a feature like
common-utilswhere a lot of tools (wget, htop, zip, ...) are installed and each has its own version. I don't see how one can auto-update this with the current available possibilities.What I would see is some kind of cli command like
devcontainer features versionswhich invokes a script or some other method in a specific feature that returns a hash-map of version numbers that is provided by the feature like:This map could be persisted and checked by renovate/dependabot and generate a PR if one of the things installed by a feature gets a new version number.
Or is all that already possible somehow and I just didn't find it?
Many thanks for input.
Beta Was this translation helpful? Give feedback.
All reactions