-
Notifications
You must be signed in to change notification settings - Fork 188
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to deprecate a Dev Container Feature in a git repository? (and remove the Feature from the metadata?) #155
Comments
Great timing! @samruddhikhandale has opened a new spec issue to add a |
Oh, I did not expect to be able to use If we specify their own id as follows, this Feature would need to be removed from the repository's metadata and devcontainers index. {
"id": "foo",
"deprecatedId": [
"foo"
]
} |
In the spec issue, I was trying to use I believe you are simply trying to deprecate a Feature?
devcontainers index - Moving the source folder of the Feature out of the repository's metadata - We could simply delete the OCI artifact in this case? |
Yes, so I did it as I wrote at the beginning of this issue. My suggestion is that such a step be documented (the name of the directory to be moved to be defined) or that |
Makes sense. I'll document this part, thanks 👍
I somehow think that this might complicate the property and the source folder will continue to exist. So documenting on how to clean up should be the best move forward? |
If the intention is that a user wants to abandon maintaining a Feature, but not actually delete the current published artifacts, we might want to do additional work here Perhaps actually introduce a Right now the action just concatenates all the individual |
In the future, when the CLI automatically generates the top-level README for the repository, it would be great if it could also generate a section on deprecated Features. To do this, we need to tell the CLI which features have been deprecated. (I was assuming it would be a specific subdirectory, e.g. |
I think #146 seems good, thank you for working on this. Once this is implemented I will use this to deprecate some Features. |
The new Thank you for working on this series of tasks. |
We had to deprecate some Dev Container Features.
ghcr.io/guiyomh/features/just
eitsupi/devcontainer-features#30I did this by creating a directory
deprecated
in the repository and moving the source code from thesrc
directory.It would be great if such a method could be documented and standardized.
The text was updated successfully, but these errors were encountered: