coreutils icon indicating copy to clipboard operation
coreutils copied to clipboard

Add devcontainer configuration

Open deadmeu opened this issue 5 months ago • 2 comments

Adds basic devcontainer configuration using Microsoft's rust:1-1-bookworm container.

The existing recommended extensions are included.

Suggested here https://github.com/uutils/coreutils/pull/6947#issuecomment-2657933974, this devcontainer was very useful to me to test a small change.

I wasn't sure how to best format the commit message for this change. Please let me know if you'd like me to amend it.

deadmeu avatar Jun 18 '25 08:06 deadmeu

spoiler: i don't know much about this it is possible to test such containers in github ci ?

sylvestre avatar Jun 18 '25 08:06 sylvestre

spoiler: i don't know much about this it is possible to test such containers in github ci ?

It shouldn't be too difficult to set up some task to build the devcontainer (like a standard container) and then run some tests inside of it.

I haven't set anything like that up and am not very familiar with GitHub CI in general. Are containers currently being used anywhere in this project?

deadmeu avatar Jun 18 '25 08:06 deadmeu

landed in e41c1405c9860059d4f411a8509817ab578a7d38 - https://github.com/uutils/coreutils/pull/8486 sorry for the potential duplication of work

sylvestre avatar Sep 09 '25 12:09 sylvestre