Added devcontainer based on up-rust devcontainer#77
Conversation
b71e92b to
20e1571
Compare
|
Some explanation to all the force pushing. I made small updates to the ... I also accidentally pushed an unwanted commit for this PR ( |
PLeVasseur
left a comment
There was a problem hiding this comment.
Hey @Xerner -- thanks for adding this in. Could you take a look at the feedback I left?
|
I addressed your comments. I rebased the PR changes and squashed it all into a single commit. Let me know if this is unwanted/causes extra work. I personally just like to keep atomic changes into one single commit 🙂 |
PLeVasseur
left a comment
There was a problem hiding this comment.
More copyright notice bits in the bash scripts
Hey, thanks!
I getchu. However, in the future after you've asked for review please keep all subsequent commits made for fixes / changes based on feedback. It makes it easier when reviewing code when repeated review => update cycles have been done. |
PLeVasseur
left a comment
There was a problem hiding this comment.
Thanks @Xerner for adding this functionality!
|
@sophokles73 -- could you also review and approve? -- @sophokles73 -- On another note: why is this set to need two reviewers? One is probably good, right? Is this something that you'd know how to fix? Is this an Otterdog configuration we'd need to make? |
sophokles73
left a comment
There was a problem hiding this comment.
This is really great and looks like it was a lot of work to create.
If I am not mistaken, we try to use a similar approach for multiple repos that are being maintained actively. It would be really cool if we could make sure that improvements/changes to the devcontainer configuration can be shared across the repos. I guess what I want to ask is: is it possible to reuse some/many/all of the config in some way across the repos? Otherwise I am a little concerned that configuration (and UX) will diverge over time ...
You are correct. One solution that I would implement is putting the If you guys want to go in the direction of using submodules, then when/if you guys make a devcontainer repo I'll PR these changes into it. I will also update the corresponding repos that already have duplicate devcontainers to use the submodule instead. Which are
|
Change Summary
Added a Docker devcontainer and its configuration. The goal of this is to provide a unified developer environment for users who want to make use of Dockers environment unifying power, and also use common VS Code extensions. It is also a personal preference, because I switch between using 3 computers and managing environments becomes cumbersome
Here is a gist of the specific features of using this implementation of a devcontainer
up-rustrepos devcontainer (https://github.com/eclipse-uprotocol/up-rust/tree/main/.devcontainer). It uses Microsofts Rust devcontainer imageWelcome Bash Message
This is only seen once when creating a new terminal